Browse Source

面损表列表-固定字段

jbb 2 năm trước cách đây
mục cha
commit
862fdd3c63
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/views/cost-allocation-total/fabricLossesSummary.vue

+ 4 - 3
src/views/cost-allocation-total/fabricLossesSummary.vue

@@ -96,7 +96,7 @@
         :data-source="fabricLossesData"
         :loading="loading"
         :pagination="pagination"
-        :scroll="{ x: 1500 }"
+        :scroll="{ x: 1200 }"
         @change="handleTableChange"
       >
       <span slot="action" slot-scope="text, record">
@@ -202,13 +202,14 @@ export default {
           className: 'replacecolor',
         },
         { title: '制单人', width: 120, dataIndex: 'makingPeople', ellipsis: true,className: 'replacecolor' },
-        { title: '状态', width: 80, dataIndex: 'status', ellipsis: true,className: 'replacecolor' },
+        { title: '状态', width: 130, dataIndex: 'status', ellipsis: true,className: 'replacecolor',fixed: 'right' },
          {
             title: '操作',
             dataIndex: 'action',
             scopedSlots: { customRender: 'action' },
             align: 'center',
-            width: 80
+            fixed: 'right',
+            width: 130
           },