Commit 8d0073c6 authored by 仇晓婷's avatar 仇晓婷

产品结构

parent e85715b9
......@@ -11,9 +11,10 @@
<Col :span="12">
<FormItem label="上级所属" prop="levelId">
<!-- <Input v-model="entity.parentName" disabled></Input> -->
<productSelect1 v-model="entity.levelId+''" @on-change="proChange" />
<productSelect1 v-model="entity.levelId" @on-change="proChange" ref="edit" />
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('productCode')" prop="productCode">
<Input v-model="entity.productCode"></Input>
......@@ -83,6 +84,10 @@ export default {
eid: "",
name: "",
field: ""
},
listValue: {
labelName: "",
labelId: null
}
};
},
......@@ -123,11 +128,17 @@ export default {
},
load(v) {
Api.get({ id: v }).then(r => {
// this.$refs.refFile.intFilesClone();
this.parms.eid = r.result.productUrlList;
this.entity = r.result;
this.img = this.entity.productUrl;
this.componayId = r.result.madeCompany;
this.entity.levelTitle = r.result.levelTitle;
this.entity.levelId = r.result.levelId;
this.$refs.edit.dep = r.result.levelId;
this.$refs.edit.label = r.result.levelTitle;
// this.listValue.labelName = r.result.levelTitle;
// this.listValue.labelId = r.result.levelId;
});
},
handleSubmit() {
......
......@@ -136,6 +136,7 @@ export default {
this.title = "详情";
this.detail = () => import("./detail");
this.modal = true;
},
edit(id) {
this.curId = id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment