Browse Source

提交

hella_online_20240803
lijuncheng 3 months ago
parent
commit
52fde07fc0
  1. 22
      src/pages/productReceipt/job/ccProductReceiptDetail.vue
  2. 22
      src/pages/productReceipt/job/fgProductReceiptDetail.vue

22
src/pages/productReceipt/job/ccProductReceiptDetail.vue

@ -427,17 +427,17 @@
this.managementList = res.list; this.managementList = res.list;
var params = this.setParams(); var params = this.setParams();
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
// ccProductReceiptJobsubmit(params).then(res => { ccProductReceiptJobsubmit(params).then(res => {
// uni.hideLoading() uni.hideLoading()
// if (res.data) { if (res.data) {
// this.showCommitSuccessMessage("\n\n" + res.data) this.showCommitSuccessMessage("提交成功\n生成装配收货记录\n" + res.data)
// } else { } else {
// this.showErrorMessage("[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
// } }
// }).catch(error => { }).catch(error => {
// uni.hideLoading() uni.hideLoading()
// this.showErrorMessage(error) this.showErrorMessage(error)
// }) })
} else { } else {
uni.hideLoading(); uni.hideLoading();
this.showErrorMessage(res.message); this.showErrorMessage(res.message);

22
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -512,17 +512,17 @@
this.managementList = res.list; this.managementList = res.list;
var params = this.setParams(); var params = this.setParams();
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
// productReceiptJobsubmit(params).then(res => { productReceiptJobsubmit(params).then(res => {
// uni.hideLoading() uni.hideLoading()
// if (res.data) { if (res.data) {
// this.showCommitSuccessMessage("\n\n" + res.data, ) this.showCommitSuccessMessage("提交成功\n生成装配收货记录\n" + res.data, )
// } else { } else {
// this.showErrorMessage("[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
// } }
// }).catch(error => { }).catch(error => {
// uni.hideLoading() uni.hideLoading()
// this.showErrorMessage(error) this.showErrorMessage(error)
// }) })
} else { } else {
uni.hideLoading(); uni.hideLoading();
this.showErrorMessage(res.message); this.showErrorMessage(res.message);

Loading…
Cancel
Save