Browse Source

发料未扫描不能上传

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

Loading…
Cancel
Save