liujt 1 месяц назад
Родитель
Сommit
bf52b36047
1 измененных файлов с 6 добавлено и 4 удалено
  1. 6 4
      src/views/bpm/outgoingManagement/outbound.vue

+ 6 - 4
src/views/bpm/outgoingManagement/outbound.vue

@@ -437,7 +437,7 @@
     data() {
       return {
         cacheKeyUrl: '202605181721-wt-outbound-table',
-        newColumns: [], // 动态表头
+        dColumns: [], // 动态表头
         goodsLists: [], // 商品列表
         productList: [], // 产品列表
         showPackingList: [], // 展示的包装列表
@@ -498,7 +498,8 @@
         },
         llrLsit: [],
         isPrice: 1,
-        showLocked: false
+        showLocked: false,
+        tabMixinsInit: false
       };
     },
     computed: {
@@ -566,7 +567,7 @@
         );
         
         // 动态列
-        this.newColumns.forEach(item => {
+        this.dColumns.forEach(item => {
           columns.push({
             label: item.label,
             prop: item.prop,
@@ -786,7 +787,8 @@
               showOverflowTooltip: true
             };
           });
-          this.newColumns = [...newRes];
+          this.dColumns = [...newRes];
+          this.getColumns();
         });
       },
       userSlected(data) {