1.修改建垛规则添加客户ID

master
x_z 3 years ago
parent f873639c95
commit 4259508889

@ -188,7 +188,8 @@ export default {
step: 1, step: 1,
serialNum: null, serialNum: null,
status: 1, status: 1,
remark: null remark: null,
customerId: this.$store.getters.customerId
}, },
multipleSelection: [], multipleSelection: [],
statusMap: { statusMap: {
@ -225,6 +226,7 @@ export default {
}); });
}, },
search() { search() {
console.log(this.$store.getters.customerId);
this.query.page = 1; this.query.page = 1;
this.getList(); this.getList();
}, },
@ -258,11 +260,14 @@ export default {
}, },
// //
submit() { submit() {
console.log(this.$store.getters.customerId);
saveStackRules(this.formName, this.formData).then((res) => { saveStackRules(this.formName, this.formData).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.editRulesVisible = false; this.editRulesVisible = false;
this.$message.success(res.message); this.$message.success(res.message);
this.getList(); this.getList();
} else {
this.$message.error(res.message);
} }
}); });
}, },

Loading…
Cancel
Save