Compare commits
2 Commits
aa42830129
...
f2d3d6231b
Author | SHA1 | Date | |
---|---|---|---|
f2d3d6231b | |||
fd00eee487 |
@ -494,7 +494,7 @@ export default {
|
||||
this.form.planTypeCode = filter[0].code;
|
||||
this.form.planTypeName = filter[0].name;
|
||||
} else {
|
||||
this.$message.error("系统错误,请联系管理员");
|
||||
this.$message.error("计划类型查找失败");
|
||||
console.error("计划类型查找失败")
|
||||
return;
|
||||
}
|
||||
|
@ -70,11 +70,12 @@ export default {
|
||||
},
|
||||
/** 提交按钮 */
|
||||
async submitForm() {
|
||||
// const validateRfidResult = await this.validateRfid();
|
||||
// if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) {
|
||||
// this.$modal.msgError(`RFID重复:${validateRfidResult}`);
|
||||
// return;
|
||||
// }
|
||||
const validateRfidResult = await this.validateRfid();
|
||||
// 计划类型为采购入库 则开启rfid校验
|
||||
if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0 && this.localDataForm.planTypeCode === "CGRK") {
|
||||
this.$modal.msgError(`RFID重复:${validateRfidResult}`);
|
||||
return;
|
||||
}
|
||||
await this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
this.localDataForm.wmsInPlanDetailsList = []
|
||||
|
Loading…
Reference in New Issue
Block a user