From 6ccb3fa09301154c4eabccee5948308d02a1fb9e Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Tue, 24 Dec 2024 11:01:17 +0800 Subject: [PATCH] =?UTF-8?q?YT-1776=E6=95=B0=E9=87=8F=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E6=89=B9=E6=AC=A1=E7=AE=A1=E7=90=86=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BB=8E=E6=89=B9=E6=AC=A1=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=A1=AB=E5=86=99=E6=89=B9=E6=AC=A1=EF=BC=8C=E6=9C=89?= =?UTF-8?q?=E5=88=B0=E6=89=B9=E6=AC=A1=E5=BA=94=E4=B8=8D=E7=94=A8=E5=A1=AB?= =?UTF-8?q?=E5=86=99=E4=BB=8E=E6=89=B9=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymove/inventorymoveRequestMainMOVE/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue index fecfaaad5..18cefaac1 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue @@ -349,7 +349,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => if (toManagementPrecision.value == 'BY_BATCH') { if(row['fromBatch']==''){ row['fromBatchFormItemType'] = 'FormDate' - row['disabled_fromBatch'] = false + row['disabled_fromBatch'] = true } } else if (toManagementPrecision.value == 'BY_QUANTITY') { @@ -728,9 +728,9 @@ const submitForm = async (formType, submitData) => { return } let batchList = tableData.value.filter(item=>item.fromBatchFormItemType&&item.fromBatchFormItemType == 'FormDate' && item.toManagementPrecision == 'BY_BATCH') - let noBatch = batchList.find(item => !item.fromBatch) - if(noBatch){ - message.warning(`${noBatch.itemCode}没有填写批次,请填写`) + let noToBatch = batchList.find(item => !item.toBatch) + if(noToBatch){ + message.warning(`${noToBatch.itemCode}没有填写到批次,请填写`) return } data.subList = tableData.value // 拼接子表数据参数