update 物料配方信息“

This commit is contained in:
lb 2023-02-23 13:11:59 +08:00
parent cd4366f780
commit 39386d9da9

View File

@ -260,6 +260,12 @@ export default {
duration: 1500, duration: 1500,
}); });
this.getList(); this.getList();
} else {
this.$message({
message: `${res.code}: ${res.msg}`,
type: "error",
duration: 1500,
});
} }
}) })
.catch((errMsg) => { .catch((errMsg) => {
@ -288,10 +294,10 @@ export default {
} else { } else {
params[cond] = ""; params[cond] = "";
} }
} else if (typeof cond === 'object') { } else if (typeof cond === "object") {
Object.keys(cond).forEach(key => { Object.keys(cond).forEach((key) => {
params[key] = cond[key] params[key] = cond[key];
}) });
} }
}); });
console.log("查询", params); console.log("查询", params);