Browse Source

发料未扫描不能上传

hella_online_20240829
yufei0306 4 months ago
parent
commit
59bdee3ab7
  1. 14
      src/pages/issue/job/issueDetail.vue

14
src/pages/issue/job/issueDetail.vue

@ -243,11 +243,11 @@
// }, // },
submit() { submit() {
// let params = this.setParams() let params = this.setParams()
// if(!params.subList||params.subList.length==0){ if(!params.subList||params.subList.length==0){
// this.showErrorMessage("") this.showErrorMessage("请扫描您需要提交的发料任务")
// return return
// } }
uni.showLoading({ uni.showLoading({
title: "提交中....", title: "提交中....",
mask: true mask: true
@ -264,13 +264,13 @@
//使 //使
if (this.jobContent.useOnTheWayLocation == 'TRUE') { if (this.jobContent.useOnTheWayLocation == 'TRUE') {
this.submitJob(); // this.submitJob();
} else { } else {
// //
getManagementPrecisions(itemCodes, locationCode, res => { getManagementPrecisions(itemCodes, locationCode, res => {
if (res.success) { if (res.success) {
this.managementList = res.list; this.managementList = res.list;
this.submitJob(); // this.submitJob();
} else { } else {
uni.hideLoading(); uni.hideLoading();
this.showErrorMessage(res.message); this.showErrorMessage(res.message);

Loading…
Cancel
Save