现场问题修改

This commit is contained in:
zgf committed 2024-02-02 09:14:46 +08:00
1 parent faa3f5a9d3
commit 9872a308f7
6 files changed
+45 -18

No files matched your search

@@ -208,10 +208,19 @@
&& _this.form.code.startsWith("C")) {
_this.showBack = true;
}
_this.$refs['form'].resetFields();
if (_this.form.code == "uniqueCode") {
_this.form.code = "";
}
// 清空下面表单 不清空code
_this.form.uniqueCode = "";
_this.form.materialCode = "";
_this.form.materialSpec = "";
_this.form.batch = "";
_this.form.qty = "";
// _this.$refs['form'].resetFields();
} else {
_this.$message({
message: "提交失败!",
message: "提交失败!"+json.Msg,
type: "warning",
duration: "10000",
});
@@ -238,6 +247,14 @@
});
return;
}
if (_this.invTable.length > 0) {
_this.$message({
message: "存在未拣货库存,不能创建回库任务!",
type: "error",
duration: "1000",
});
return;
}
this.$confirm('确定执行回库动作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',