Jelajahi Sumber

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-mes into dengfei

695593266@qq.com 3 bulan lalu
induk
melakukan
fd67c45cdf
1 mengubah file dengan 7 tambahan dan 1 penghapusan
  1. 7 1
      src/views/produceOrder/originCode.vue

+ 7 - 1
src/views/produceOrder/originCode.vue

@@ -76,6 +76,12 @@
           this.industryAttribute = res.value
         }
       });
+
+    },
+    computed: {
+      clientEnvironmentId() {
+        return this.$store.state.user.info.clientEnvironmentId;
+      },
     },
     mounted() {},
 
@@ -85,7 +91,7 @@
         this.workOrderId = workOrderId;
 
         this.qrCodeUrl =
-          window.location.origin + `/traceability?id=${this.workOrderId}&industry=${this.industryAttribute}`;
+          window.location.origin + `/traceability?id=${this.workOrderId}&industry=${this.industryAttribute}&clientEnvironmentId=${this.clientEnvironmentId}`;
         // this.qrCodeUrl = `http://192.168.1.22:9999/traceability?id=${this.workOrderId}`;
 
         this.$nextTick(() => {