Compare commits

..

2 Commits

2 changed files with 7 additions and 6 deletions

View File

@ -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;
}

View File

@ -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 = []