Browse Source

解决5.4测试问题

master_hella_20240701
yufei0306 7 months ago
parent
commit
34fdf2cfe5
  1. 9
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

9
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -712,6 +712,7 @@ const handleTur = async (id: number) => {
/** 处理按钮操作 */
const genRecords = async (id: number) => {
let getLoading = null
try {
await SupplierdeliverRequestMainApi.selfCheckReport(id).then(async res => {
if(!res){
@ -720,7 +721,11 @@ const genRecords = async (id: number) => {
}else{
//
await message.confirm('是否处理所选中数据?')
tableObject.loading = true
getLoading = ElLoading.service({
lock: true,
text: 'loading...',
background: 'rgba(0, 0, 0, 0.7)'
})
//
SupplierdeliverRequestMainApi.genRecordsSupplierdeliverRequestMain(id).then(res => {
message.success(t('处理成功!'))
@ -734,7 +739,7 @@ const genRecords = async (id: number) => {
console.log("自检报告校验异常",err)
})
} catch {}finally{
tableObject.loading = false
getLoading?.close()
}
}

Loading…
Cancel
Save