Quellcode durchsuchen

供应商产能报表-列表宽度调整

jbb vor 2 Jahren
Ursprung
Commit
674baa7e92
1 geänderte Dateien mit 22 neuen und 20 gelöschten Zeilen
  1. 22 20
      src/views/reportForms/supply-capacity-table.vue

+ 22 - 20
src/views/reportForms/supply-capacity-table.vue

@@ -112,7 +112,7 @@
         :data-source="supplyCapacityData"
         :loading="loading"
         :pagination="pagination"
-        :scroll="{ x: 1600,y: 500 }"
+        :scroll="{ x: 1900,y: 500 }"
         @change="handleTableChange"
       >
       </a-table>
@@ -146,42 +146,36 @@ export default {
         },
         {
           title: '订单号',
-          width: 160,
+          width: 140,
           align: 'left',
           dataIndex: 'csrccode',
-          className: 'replacecolor'
+          className: 'replacecolor',
+          ellipsis: true,
         },
 
         {
           title: '计划单号',
-          width: 100,
+          width: 80,
           dataIndex: 'cplanLotNumber',
           className: 'replacecolor',
           ellipsis: true,
         },
         {
           title: '款号',
-          width:90,
+          width:80,
           dataIndex: 'itemNumber',
           className: 'replacecolor'
         },
-        { title: '部门', width: 90, dataIndex: 'cdepCode', className: 'replacecolor' },
-        { title: '业务员', width: 90, dataIndex: 'cpersonCode', className: 'replacecolor' },
-        { title: '供应商', width: 180, dataIndex: 'cvenCode', className: 'replacecolor',ellipsis: true, },
+        { title: '部门', width: 80, dataIndex: 'cdepCode', className: 'replacecolor' },
+        { title: '业务员', width: 80, dataIndex: 'cpersonCode', className: 'replacecolor' },
+        { title: '供应商', width: 230, dataIndex: 'cvenCode', className: 'replacecolor'},
 
-        { title: '供应商类型', width: 100, dataIndex: 'cvenCodeType', className: 'replacecolor' },
-        { title: '订单类型', width: 90, dataIndex: 'iorderType', className: 'replacecolor' },
-        {
-          title: '数量',
-          width: 100,
-          dataIndex: 'iquantity',
-          className: 'replacecolor'
-        },
-        { title: '累计入库数量', width: 120, dataIndex: 'ireceivedQTY', className: 'replacecolor' },
-        { title: '单位', width: 90, dataIndex: 'unit', className: 'replacecolor' },
+        { title: '供应商类型', width: 80, dataIndex: 'cvenCodeType', className: 'replacecolor' },
+        { title: '订单类型', width: 80, dataIndex: 'iorderType', className: 'replacecolor' },
+       
         {
           title: '计划到货月份',
-          width: 120,
+          width: 85,
           dataIndex: 'darriveDate',
           // customRender: text => {
           //   return moment(text).format('YYYY-MM')
@@ -199,7 +193,15 @@ export default {
         // },
         //   className: 'replacecolor'
         // },
-        { title: '系数', width: 60, dataIndex: 'coefficient', className: 'replacecolor' }
+        { title: '系数', width: 80, dataIndex: 'coefficient', className: 'replacecolor' },
+        {
+          title: '数量',
+          width: 70,
+          dataIndex: 'iquantity',
+          className: 'replacecolor'
+        },
+        { title: '累计入库数量', width: 85, dataIndex: 'ireceivedQTY', className: 'replacecolor' },
+        { title: '单位', width: 70, dataIndex: 'unit', className: 'replacecolor' },
       ],
       supplyCapacityData: [],
       loading: false, // 表格加载