From e28bfd93e50c269bce701ac1fe8f36e3d69f0a14 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Tue, 10 Dec 2024 10:53:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/inPlan/wmsInPlanKnifeBackFormCmps.vue | 17 ++++++++--------- src/views/mes/wm/wmsInTask/index.vue | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue index 26d7f5c..2315eaa 100644 --- a/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue +++ b/src/views/mes/wm/inPlan/wmsInPlanKnifeBackFormCmps.vue @@ -29,7 +29,6 @@ export default { wmsInPlanDetailEntityList: [], // 表单校验 rules: { - planCode: [{required: true}], relBillCode: [{required: true}], }, localVisible: this.visible, @@ -71,11 +70,11 @@ 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(); + // if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) { + // this.$modal.msgError(`RFID重复:${validateRfidResult}`); + // return; + // } await this.$refs["form"].validate(valid => { if (valid) { this.localDataForm.wmsInPlanDetailsList = [] @@ -200,9 +199,9 @@ export default { - - - + + + diff --git a/src/views/mes/wm/wmsInTask/index.vue b/src/views/mes/wm/wmsInTask/index.vue index 29e359e..8fb3b55 100644 --- a/src/views/mes/wm/wmsInTask/index.vue +++ b/src/views/mes/wm/wmsInTask/index.vue @@ -60,7 +60,7 @@ >推入库位 -