Browse Source

发料任务取消和承接

wms3.0_pda
lijuncheng 1 year ago
parent
commit
6793ecec8f
  1. 24
      pages/issue/job/issueDetail.vue

24
pages/issue/job/issueDetail.vue

@ -33,6 +33,7 @@
takeIssueJob,
cancleTakeIssueJob,
getIssueJobDetail,
issueJobSubmit
} from '@/api/request2.js';
import {
@ -79,18 +80,17 @@
onLoad(option) {
this.id = option.id;
// if (this.id != undefined) {
// //
// if (option.status == "JOB_PENDING") {
// this.receive((callback => {
// this.received = true;
// this.getDetail();
// }));
// } else {
// this.getDetail();
// }
// }
this.getDetail();
if (this.id != undefined) {
//
if (option.status == "1") {
this.receive((callback => {
this.received = true;
this.getDetail();
}));
} else {
this.getDetail();
}
}
},
onNavigationBarButtonTap(e) {

Loading…
Cancel
Save