|
|
@ -594,6 +594,9 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r |
|
|
|
array1.push(item) |
|
|
|
} |
|
|
|
}) |
|
|
|
console.log( searchTableRef.value) |
|
|
|
tableObject.loading = true |
|
|
|
try { |
|
|
|
if (array.length>0) { |
|
|
|
await PackageApi.getPrintingLableId({packingNumbers:array.map(item1=>item1.number)}).then(res => { |
|
|
|
console.log(res) |
|
|
@ -601,6 +604,7 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r |
|
|
|
}).catch(err => { |
|
|
|
console.log(err) |
|
|
|
message.error('创建标签失败') |
|
|
|
tableObject.loading = false |
|
|
|
}) |
|
|
|
} |
|
|
|
if (array1.length > 0) { |
|
|
@ -610,8 +614,12 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r |
|
|
|
}).catch(err => { |
|
|
|
console.log(err) |
|
|
|
message.error('创建标签失败') |
|
|
|
tableObject.loading = false |
|
|
|
}) |
|
|
|
} |
|
|
|
} finally { |
|
|
|
tableObject.loading = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const updateTableData = (tableList)=>{ |
|
|
|