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

物料优化

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