|
|
@ -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() { |
|
|
|