Browse Source

修改注释

hella_vue3
lijuncheng 9 months ago
parent
commit
04997d2d1e
  1. 22
      src/pages/purchaseReceipt/job/receiptDetail.vue

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

@ -410,17 +410,17 @@
var params = this.setParams()
console.log("提交参数", JSON.stringify(params));
// purchaseReceiptJobSubmit(params).then(res => {
// uni.hideLoading()
// if (res.data) {
// this.showCommitSuccessMessage("<br><br>" + res.data)
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
// }).catch(error => {
// uni.hideLoading()
// this.showErrorMessage(error)
// })
purchaseReceiptJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成采购收货记录<br>" + res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
}).catch(error => {
uni.hideLoading()
this.showErrorMessage(error)
})
} else {
uni.hideLoading();
this.showErrorMessage(res.message);

Loading…
Cancel
Save