Commit 39863f1d authored by 仇晓婷's avatar 仇晓婷

物料优化

parent d2a93ec0
...@@ -192,11 +192,11 @@ export default { ...@@ -192,11 +192,11 @@ export default {
fieldName: "categoryId", fieldName: "categoryId",
fieldValue: this.nodeInfo.id, fieldValue: this.nodeInfo.id,
}, },
{ // {
conditionalType: "Equal", // conditionalType: "Equal",
fieldName: "codeRuleId", // fieldName: "codeRuleId",
fieldValue: this.nodeInfo.codeRuleId, // fieldValue: this.nodeInfo.codeRuleId,
}, // },
]; ];
Api.listTable({ Api.listTable({
conditions: conditions, conditions: conditions,
......
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
if (u.dataType == 1 || u.dataType == 2) { if (u.dataType == 1 || u.dataType == 2) {
v = 0; v = 0;
} }
// this.$set(this.entity.customProperties,u.filed,v) this.entity[u.field] = "";
this.$set(this.entity, u.filed, v); this.$set(this.entity, u.filed, v);
}); });
} }
...@@ -157,7 +157,6 @@ export default { ...@@ -157,7 +157,6 @@ export default {
setRow(row, index) { setRow(row, index) {
this.$set(this.checkList, index, row); this.$set(this.checkList, index, row);
}, },
handleSubmit() { handleSubmit() {
this.$refs.form.validate((v) => { this.$refs.form.validate((v) => {
if (v) { if (v) {
......
...@@ -138,6 +138,7 @@ export default { ...@@ -138,6 +138,7 @@ export default {
v = 0; v = 0;
} }
// this.$set(this.entity.customProperties,u.filed,v) // this.$set(this.entity.customProperties,u.filed,v)
this.entity[u.field] = "";
this.$set(this.entity, u.filed, v); this.$set(this.entity, u.filed, v);
}); });
} }
......
...@@ -102,7 +102,6 @@ export default { ...@@ -102,7 +102,6 @@ export default {
} }
} }
} }
alert(type)
this.entity.materialTypeName = code.join(","); this.entity.materialTypeName = code.join(",");
this.entity.codeRuleType = type.join(","); this.entity.codeRuleType = type.join(",");
}, },
......
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