소스 검색

面损表列表-固定字段

jbb 2 년 전
부모
커밋
862fdd3c63
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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
           },