Browse Source

协定 采购收货loading

intex_online20241111
wangyufei 3 months ago
parent
commit
109b02e2ab
  1. 10
      src/pages/purchaseReceipt/job/receiptDetail.vue

10
src/pages/purchaseReceipt/job/receiptDetail.vue

@ -189,7 +189,7 @@
this.scanMessage = option.scanMessage;
this.operation = option.operation;
this.status = option.status;
this.source_type = option.source_type;
this.source_type = option.source_type;
this.switchCode = "purchasereceiptPrintPDA" //PDA
this.switchCode1 = "EnableQms" //QMSTRUEFALSE
},
@ -853,7 +853,8 @@
let that = this
console.log(877,params)
// return;
purchaseReceiptJobSubmit(params).then(res => {
purchaseReceiptJobSubmit(params).then(res => {
if (res.data) {
let isCheckPrint = getSwitchInfoByCode(this.switchCode)//
let isCheckPrint1 = getSwitchInfoByCode(this.switchCode1)//
@ -865,7 +866,7 @@
})
}else if(!isCheckPrint1 && !isCheckPrint){
this.showCommitSuccessMessage("提交成功\n生成采购收货记录\n" + res.data.number)
}else if(this.source_type!='TOOL'&&this.source_type!='Develop'){
}else if(that.source_type!='TOOL'&&that.source_type!='Develop'){
// if (res.data == '') {
// this.showCommitSuccessMessage(res.data)
// const purchaseReceiptDetailPointParams = {
@ -939,6 +940,9 @@
})
}, 2000)
}else if(that.source_type=='TOOL'||that.source_type=='Develop'){
uni.hideLoading()
this.showCommitSuccessMessage("提交成功\n生成采购收货记录\n" + res.data.number)
}
} else {

Loading…
Cancel
Save