|
@ -524,11 +524,6 @@ const submitFormLabel = async (formType, data) => { |
|
|
try { |
|
|
try { |
|
|
detatableData.tableList.forEach(async (item) => { |
|
|
detatableData.tableList.forEach(async (item) => { |
|
|
await PackageApi.createPackageLabel(item).then(res => { |
|
|
await PackageApi.createPackageLabel(item).then(res => { |
|
|
console.log("BBBBB",res) |
|
|
|
|
|
if (res) { |
|
|
|
|
|
// 更新申请子表数据包装号 |
|
|
|
|
|
UnplannedreceiptRequestDetailApi.updateDetailPackingNumber(res.id,res.number) |
|
|
|
|
|
} |
|
|
|
|
|
isCreateLabel.value = true |
|
|
isCreateLabel.value = true |
|
|
message.success('创建标签成功') |
|
|
message.success('创建标签成功') |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|