From 41c5533df21b9b3fdb6c0360737fbfbea6e5efe1 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 27 Aug 2024 11:26:54 +0800 Subject: [PATCH] =?UTF-8?q?HL-5517=20=E9=87=87=E8=B4=AD=E5=88=B6=E9=80=A0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionreturnRequestMainNo/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue index 851dbc378..1515e519a 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue @@ -201,9 +201,13 @@ const searchTableSuccessAdd = (formField, searchField, val, formRef, type, row ) } console.log('rowType',rowType) console.log('tableData',tableData.value) + + let currentLabelType = row['labelType'] row['labelType'] = '' - if(tableData.value.find(item=>item['labelType']&&item['labelType']!=rowType)){ + if(currentLabelType){ + row['labelType'] = currentLabelType + } message.warning('当前物料可制造与其他数据不一致,请重新选择!') }else { row['labelType'] = rowType