Commit 314f818a authored by 高铭波's avatar 高铭波

test(order):删除测试代码

parent 9264a81d
......@@ -885,9 +885,10 @@ export default {
this.$set(this.form, key, data[key]);
});
// 更新预计超出金额
let amount = this.calMaterialCraftListAmount(this.form.materialList);
let amount = 0;
amount += this.calMaterialCraftListAmount(this.form.materialList);
amount += this.calMaterialCraftListAmount(this.form.craftList);
this.$set(this.form, "overAmount", amount);
this.$set(this.form, "overAmount", amount || 0);
},
// 字段的值更新
fieldValueChange(data) {
......
......@@ -206,13 +206,13 @@ export default {
eventChannel.on("showMaterialData", function (data) {
if (!data || data.length === 0) {
self.getMaterialData();
if (self.$u.test.isEmpty(self.other)) {
self.handleAdd();
}
} else {
self.formatServiceMoreList(data);
}
});
if (this.$u.test.isEmpty(this.other)) {
this.handleAdd();
}
},
created() {},
mounted() {},
......
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