Browse Source

盘点提示

hella_online_20240919
zhang_li 2 months ago
parent
commit
f9be614589
  1. 12
      src/pages/count/job/countLightDetail.vue

12
src/pages/count/job/countLightDetail.vue

@ -528,11 +528,13 @@
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
countJobSubmit(params).then(res => { countJobSubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { const str =res.data || ''
this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + res.data) this.showCommitSuccessMessage("提交成功\n生成盘点记录\n" + str)
} else { // if (res.data) {
this.showErrorMessage("提交失败[" + res.msg + "]") // this.showCommitSuccessMessage("\n\n" + res.data)
} // } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
}).catch(error => { }).catch(error => {
uni.hideLoading() uni.hideLoading()
this.showErrorMessage(error) this.showErrorMessage(error)

Loading…
Cancel
Save