Browse Source

bug修复

hella_online_20240829
yufei0306 4 months ago
parent
commit
6fd95dfac8
  1. 2
      src/pages/package/job/overPackageJob.vue
  2. 30
      src/pages/repleinsh/job/repleinshDetail.vue

2
src/pages/package/job/overPackageJob.vue

@ -122,7 +122,7 @@
var filters = []
if (this.checkedToday) {
filters.push({
column: "request_time",
column: "create_time",
action: "betweeen",
value: this.todayTime
})

30
src/pages/repleinsh/job/repleinshDetail.vue

@ -214,26 +214,26 @@
submit() {
var scanCount = this.getScanCount(this.subList);
//
if (this.jobContent.allowPartialComplete == "TRUE") {
// 00
if (scanCount == 0) {
this.$refs.comMessage.showQuestionMessage("扫描数为0,是否提交?", res => {
if (res) {
this.setSubmitParamsAndSubmit();
}
})
} else {
this.setSubmitParamsAndSubmit();
}
} else {
// //
// if (this.jobContent.allowPartialComplete == "TRUE") {
// // 00
// if (scanCount == 0) {
// this.$refs.comMessage.showQuestionMessage("0,?", res => {
// if (res) {
// this.setSubmitParamsAndSubmit();
// }
// })
// } else {
// this.setSubmitParamsAndSubmit();
// }
// } else {
//
if (scanCount == 0) {
this.showErrorMessage("扫描数为0,当前补料任务不允许部分提交,请先扫描")
this.showErrorMessage("扫描数为0,请先扫描")
} else {
this.setSubmitParamsAndSubmit();
}
}
// }
},
setSubmitParamsAndSubmit() {

Loading…
Cancel
Save