Browse Source

重复

hella_online_20240829
wangyufei 4 months ago
parent
commit
b69eb85eb8
  1. 5
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

5
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -188,6 +188,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') {
//
if(formField == 'itemCode') {
if(tableData.value.find(item1=>item1['itemCode'] == val[0]['itemCode'])){
message.warning(`物料${val[0]['itemCode']}已经存在`)
return
}
const isType = await isItemType(val[0]['itemCode'], labelType.value)
if(!isType){
message.warning('当前物料可制造与其他数据不一致,请重新选择!')

Loading…
Cancel
Save