Browse Source

物料隔离去掉接口注释

intex
张立 2 days ago
parent
commit
4abf9b102a
  1. 30
      src/pages/inventoryMove/job/inventoryMoveDetail.vue

30
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -645,21 +645,21 @@
...this.deptObj
}
console.log("提交",params)
// inventoryMoveSubmit(params).then(res => {
// uni.hideLoading()
// if (res.data) {
// let showTitle = this.title
// if (this.title.indexOf('') == this.title.length - 2) {
// showTitle = this.title.replace('', '')
// }
// this.showCommitSuccessMessage("\n" + showTitle + "\n" + res.data)
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
// }).catch(error => {
// uni.hideLoading()
// this.showErrorMessage(error)
// })
inventoryMoveSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
let showTitle = this.title
if (this.title.indexOf('任务') == this.title.length - 2) {
showTitle = this.title.replace('任务', '')
}
this.showCommitSuccessMessage("提交成功\n生成" + showTitle + "记录\n" + res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
}).catch(error => {
uni.hideLoading()
this.showErrorMessage(error)
})
},
setPrecisionStrategParams() {

Loading…
Cancel
Save