Przeglądaj źródła

fix: 前置仓显示安装信息

zh 2 lat temu
rodzic
commit
dd0bbab1fb
1 zmienionych plików z 19 dodań i 12 usunięć
  1. 19 12
      src/components/LogisticsTabs/index.vue

+ 19 - 12
src/components/LogisticsTabs/index.vue

@@ -205,6 +205,12 @@ export default {
           value: 3,
           show: true,
           fun: this.getListCodeV2
+        },
+        {
+          label: '安装信息',
+          value: 4,
+          show: true,
+          fun: this.getInstalDetail
         }
       ],
       curTarget: 1,
@@ -841,18 +847,19 @@ export default {
   },
   mounted() {
     if (this.details && this.details.stockType == 2) {
-      this.tabsList = [{
-        label: '安装信息',
-        value: 4,
-        show: true,
-        fun: this.getInstalDetail
-      },
-      {
-        label: '安装条码',
-        value: 5,
-        show: true,
-        fun: this.getListInstallCodeV2
-      }]
+      this.tabsList = [
+        {
+          label: '安装信息',
+          value: 4,
+          show: true,
+          fun: this.getInstalDetail
+        },
+        {
+          label: '安装条码',
+          value: 5,
+          show: true,
+          fun: this.getListInstallCodeV2
+        }]
     }
     this.getOrderTrackList2()
   },