695593266@qq.com 7 órája
szülő
commit
5e8c3f92ca

+ 11 - 7
src/views/produce/components/jobBooking/components/batchSemiProductJobBom.vue

@@ -1023,13 +1023,17 @@
             slot: 'engrave',
             align: 'center'
           },
-          {
-            minWidth: 80,
-            prop: 'extInfo.productSequence',
-            label: '序列号',
-            align: 'center',
-            showOverflowTooltip: true
-          },
+          ...(this.clientEnvironmentId == 9
+            ? []
+            : [
+                {
+                  minWidth: 80,
+                  prop: 'extInfo.productSequence',
+                  label: '序列号',
+                  align: 'center',
+                  showOverflowTooltip: true
+                }
+              ]),
           {
             minWidth: 120,
             prop: 'sendCode',

+ 11 - 7
src/views/produce/components/jobBooking/components/newSemiProductJobBom.vue

@@ -755,13 +755,17 @@
             slot: 'engrave',
             align: 'center'
           },
-          {
-            minWidth: 80,
-            prop: 'extInfo.productSequence',
-            label: '序列号',
-            align: 'center',
-            showOverflowTooltip: true
-          },
+          ...(this.clientEnvironmentId == 9
+            ? []
+            : [
+                {
+                  minWidth: 80,
+                  prop: 'extInfo.productSequence',
+                  label: '序列号',
+                  align: 'center',
+                  showOverflowTooltip: true
+                }
+              ]),
           {
             minWidth: 120,
             prop: 'sendCode',

+ 11 - 7
src/views/produce/components/jobBooking/components/semiProductJobBom.vue

@@ -888,13 +888,17 @@
             slot: 'engrave',
             align: 'center'
           },
-          {
-            minWidth: 80,
-            prop: 'extInfo.productSequence',
-            label: '序列号',
-            align: 'center',
-            showOverflowTooltip: true
-          },
+          ...(this.clientEnvironmentId == 9
+            ? []
+            : [
+                {
+                  minWidth: 80,
+                  prop: 'extInfo.productSequence',
+                  label: '序列号',
+                  align: 'center',
+                  showOverflowTooltip: true
+                }
+              ]),
           {
             minWidth: 120,
             prop: 'sendCode',

+ 20 - 12
src/views/produce/components/warehousing/components/detailsBom.vue

@@ -345,6 +345,10 @@
     },
 
     computed: {
+      clientEnvironmentId() {
+        return this.$store.state.user.info.clientEnvironmentId;
+      },
+
       columns() {
         return [
           {
@@ -419,18 +423,22 @@
             slot: 'engrave',
             align: 'center'
           },
-          {
-            minWidth: 80,
-            prop: 'extInfo.productSequence',
-            label: '序列号',
-            align: 'center',
-            showOverflowTooltip: true,
-            formatter: (row) => {
-              return this.normalizeProductSequenceValue(
-                row.extInfo && row.extInfo.productSequence
-              );
-            }
-          },
+          ...(this.clientEnvironmentId == 9
+            ? []
+            : [
+                {
+                  minWidth: 80,
+                  prop: 'extInfo.productSequence',
+                  label: '序列号',
+                  align: 'center',
+                  showOverflowTooltip: true,
+                  formatter: (row) => {
+                    return this.normalizeProductSequenceValue(
+                      row.extInfo && row.extInfo.productSequence
+                    );
+                  }
+                }
+              ]),
           {
             minWidth: 120,
             prop: 'extInfo.sendCode',