diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue index 59a6865d..cbc005b5 100644 --- a/src/pages/count/job/countLightDetail.vue +++ b/src/pages/count/job/countLightDetail.vue @@ -477,7 +477,12 @@ commit() { this.calcAllCount() this.calcScanCount() - + console.log(this.scanCount) + console.log(this.allCount) + if(!this.scanCount){ + this.$refs.comMessage.showErrorMessage('请先进行扫描,再进行提交'); + return + } if (this.scanCount == this.allCount) { this.submitJob(); } else if (this.scanCount < this.allCount) {