提交 33bcc4d8 authored 作者: zax's avatar zax

bug

上级 517f8403
......@@ -66,7 +66,8 @@ export default {
productList: [],
text: '',
producer: '',
authority: true
authority: true,
id: ''
}
},
created() {
......@@ -83,6 +84,7 @@ export default {
this.form = String(this.productList.form);
this.model = this.productList.model;
this.producer = this.productList.producer;
this.id = this.productList.id;
this.text = '产品信息修改'
} else {
this.text = '产品新增'
......@@ -104,6 +106,7 @@ export default {
producer: this.producer,
status: parseInt(this.status),
techId: '',
id: this.id,
type: parseInt(this.type)
};
if ( this.text === '产品信息修改') {
......
......@@ -65,7 +65,8 @@ export default {
form: '',
productList: [],
text: '',
producer: ''
producer: '',
id: ''
}
},
created() {
......@@ -79,6 +80,7 @@ export default {
this.form = String(this.productList.form);
this.model = this.productList.model;
this.producer = this.productList.producer;
this.id = this.productList.id;
this.text = '产品信息修改'
} else {
this.text = '产品新增'
......@@ -100,6 +102,7 @@ export default {
producer: this.producer,
status: parseInt(this.status),
techId: '',
id: this.id,
type: parseInt(this.type)
};
console.log(data)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论