refactor(入库计划): rfid校验,仅刀柄入库

This commit is contained in:
Kelvin 2025-01-02 15:28:37 +08:00
parent b663a8ef1c
commit dbaceed5ae

View File

@ -82,11 +82,12 @@ export default {
}, },
/** 提交按钮 */ /** 提交按钮 */
async submitForm() { async submitForm() {
// const validateRfidResult = await this.validateRfid(); const validateRfidResult = await this.validateRfid();
// if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) { // rfid
// this.$modal.msgError(`RFID${validateRfidResult}`); if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0 && this.localDataForm.planTypeCode === "DBRK") {
// return; this.$modal.msgError(`RFID重复${validateRfidResult}`);
// } return;
}
await this.$refs["form"].validate(valid => { await this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
this.localDataForm.wmsInPlanDetailsList = [] this.localDataForm.wmsInPlanDetailsList = []