refactor(入库计划): rfid校验,仅采购入库
This commit is contained in:
parent
aa42830129
commit
fd00eee487
@ -70,11 +70,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 === "CGRK") {
|
||||||
// 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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user