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