|
|
@ -451,17 +451,17 @@ |
|
|
|
that.datacontent.details = that.details; |
|
|
|
let params = JSON.stringify(that.datacontent); |
|
|
|
console.log("提交", params); |
|
|
|
// finshUnProducePickJob(that.id, params) |
|
|
|
// .then(res => { |
|
|
|
// uni.hideLoading(); |
|
|
|
// if (res != null) { |
|
|
|
// that.showCommitSuccessMessage(); |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// .catch(err => { |
|
|
|
// that.showMessage(err.message); |
|
|
|
// uni.hideLoading(); |
|
|
|
// }); |
|
|
|
finshUnProducePickJob(that.id, params) |
|
|
|
.then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
if (res != null) { |
|
|
|
that.showCommitSuccessMessage(); |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
that.showMessage(err.message); |
|
|
|
uni.hideLoading(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
//返回任务列表页 |
|
|
|