Browse Source

修改盘点查找任务

pda_nev
李俊城 10 months ago
parent
commit
a0fe3df852
  1. 2
      fe/PDA/api/index.js
  2. 22
      fe/PDA/pages/task/unProducePickWipDetail.vue

2
fe/PDA/api/index.js

@ -825,7 +825,7 @@ export const getCountJobList = (params) => request(
//根据Number获取盘点任务
export const getCountJobByNumber = (number) => request(
devUrl + "/api/pda/job/count/by-number/" + number, {
devUrl + "/api/pda/job/count/by-number?jobNumber=" + number, {
data: {},
method: "get"
});

22
fe/PDA/pages/task/unProducePickWipDetail.vue

@ -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();
});
},
//

Loading…
Cancel
Save