Browse Source

bug修复

hella_online_20240829
yufei0306 6 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 = [] var filters = []
if (this.checkedToday) { if (this.checkedToday) {
filters.push({ filters.push({
column: "request_time", column: "create_time",
action: "betweeen", action: "betweeen",
value: this.todayTime value: this.todayTime
}) })

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

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

Loading…
Cancel
Save