Browse Source

加loading

intex_20241211
张立 2 months ago
parent
commit
02dfdf937c
  1. 8
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

8
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -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)=>{

Loading…
Cancel
Save