Browse Source

HL-5517 采购制造类型判断

hella_online_20240828
wangyufei 3 months ago
parent
commit
41c5533df2
  1. 6
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

6
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

Loading…
Cancel
Save