koushanshan 3 лет назад
Родитель
Сommit
5a3856c50a

+ 3 - 0
src/view/pdm/data-collection/finishCheck-add.vue

@@ -366,6 +366,9 @@
           }
           this.excute(this.$service.collectService, this.$service.collectService.checkBarCode, params).then(res => {
             if (res.code === this.$config.SUCCESS_CODE) {
+              if(0 == parseInt(res.data.flowNodeNum)){
+                this.labelFlag =true
+              }
               this.getBarCodeMessage = res
               //验证标签开启并且工序类型为产品码
               if (this.$config.processType.productCode == this.opnKind && this.labelFlag) {

+ 3 - 0
src/view/pdm/data-collection/halfCheck-add.vue

@@ -366,6 +366,9 @@
           }
           this.excute(this.$service.collectService, this.$service.collectService.checkBarCode, params).then(res => {
             if (res.code === this.$config.SUCCESS_CODE) {
+              if(0 == parseInt(res.data.flowNodeNum)){
+                this.labelFlag =true
+              }
               this.getBarCodeMessage = res
               //验证标签开启并且工序类型为产品码
               if (this.$config.processType.productCode == this.opnKind && this.labelFlag) {

+ 3 - 0
src/view/pdm/data-collection/register-add.vue

@@ -240,6 +240,9 @@
           }
           this.excute(this.$service.collectService, this.$service.collectService.checkBarCode, params).then(res => {
             if (res.code === this.$config.SUCCESS_CODE) {
+              if(0 == parseInt(res.data.flowNodeNum)){
+                this.labelFlag =true
+              }
               this.getBarCodeMessage = res
               //验证标签开启并且工序类型为产品码
               if (this.$config.processType.productCode == this.opnKind && this.labelFlag) {