Browse Source

整车DVP拖拽动态列显示修正

zhoushiyue 7 months ago
parent
commit
4ba36adda8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/fullVehicle/dvpPlan/index.vue

+ 3 - 2
src/views/fullVehicle/dvpPlan/index.vue

@@ -530,8 +530,8 @@ export default {
         this.tableColumns[this.tableColumns.length - 1].width = this.tableWidth - otherColumnsWidth;
       }else {
         // 恢复固定列原始定位属性
-        this.tableColumns[0].fixed='left';
-        this.tableColumns[1].fixed='left';
+        // this.tableColumns[0].fixed='left';
+        // this.tableColumns[1].fixed='left';
         this.tableColumns[this.tableColumns.length - 1].fixed='right';
         // 恢复最后一列原始宽度
         this.tableColumns[this.tableColumns.length - 1].width = 150;
@@ -756,6 +756,7 @@ export default {
               column.dataIndex = columnData[key].id;
               column.align = 'center';
               column.ellipsis = true;
+              column.width = 150;
               _that.tableColumns.push(column);
             }
           }