|
@ -201,9 +201,13 @@ const searchTableSuccessAdd = (formField, searchField, val, formRef, type, row ) |
|
|
} |
|
|
} |
|
|
console.log('rowType',rowType) |
|
|
console.log('rowType',rowType) |
|
|
console.log('tableData',tableData.value) |
|
|
console.log('tableData',tableData.value) |
|
|
|
|
|
|
|
|
|
|
|
let currentLabelType = row['labelType'] |
|
|
row['labelType'] = '' |
|
|
row['labelType'] = '' |
|
|
|
|
|
|
|
|
if(tableData.value.find(item=>item['labelType']&&item['labelType']!=rowType)){ |
|
|
if(tableData.value.find(item=>item['labelType']&&item['labelType']!=rowType)){ |
|
|
|
|
|
if(currentLabelType){ |
|
|
|
|
|
row['labelType'] = currentLabelType |
|
|
|
|
|
} |
|
|
message.warning('当前物料可制造与其他数据不一致,请重新选择!') |
|
|
message.warning('当前物料可制造与其他数据不一致,请重新选择!') |
|
|
}else { |
|
|
}else { |
|
|
row['labelType'] = rowType |
|
|
row['labelType'] = rowType |
|
|