Browse Source

Merge branch 'hella_online_20240819' into hella_online_20240803

hella_online_20240829
陈薪名 3 months ago
parent
commit
a2b558feac
  1. 26
      src/pages/repleinsh/job/repleinshDetail.vue

26
src/pages/repleinsh/job/repleinshDetail.vue

@ -189,10 +189,6 @@
that.jobStatus = res.data.status
that.subList = res.data.subList;
that.toLocationCode = that.subList[0].toLocationCode
that.subList[0].itemCode ="255.707-01"
that.subList[0].fromLocationCode ="S12-01-1"
that.subList[0].batch ="20240728"
that.jobContent.allowModifyLocation="TRUE"
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes)
that.detailSource = getDataSource(that.detailSource, that.subList)
@ -340,17 +336,17 @@
return
}
console.log("提交参数", JSON.stringify(params));
// repleinshJobSubmit(params).then(res => {
// uni.hideLoading()
// if (res.data) {
// this.showCommitSuccessMessage("\n\n" + res.data)
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
// }).catch(error => {
// uni.hideLoading()
// this.showErrorMessage(error)
// })
repleinshJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
this.showCommitSuccessMessage("提交成功\n生成补料记录\n" + res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
}).catch(error => {
uni.hideLoading()
this.showErrorMessage(error)
})
},
setParams() {

Loading…
Cancel
Save