Browse Source

FWHL-100

hella_online_20241212_pandian
王宇飞 2 months ago
parent
commit
40b57405f8
  1. 11
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

11
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -724,6 +724,17 @@ const submitFormLabel = async (formType, submitData) => {
if(data.masterId){ if(data.masterId){
data.id = data.masterId data.id = data.masterId
} }
let flag = true
detatableData.tableList.forEach(item => {
if(!item.supplierItemCode){
flag = false
}
});
if(!flag){
message.error('请填写供应商代码')
return
}
try { try {
detatableData.tableList.forEach(async (item) => { detatableData.tableList.forEach(async (item) => {
await PackageApi.createPackageLabel({...item,toLocationCode:item.fromLocationCode}).then(res => { await PackageApi.createPackageLabel({...item,toLocationCode:item.fromLocationCode}).then(res => {

Loading…
Cancel
Save