Browse Source

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

jbb 2 years ago
parent
commit
e3bbc09ed8
1 changed files with 27 additions and 23 deletions
  1. 27 23
      src/views/reportForms/supply-capacity-table.vue

+ 27 - 23
src/views/reportForms/supply-capacity-table.vue

@@ -148,6 +148,7 @@ export default {
           width: 60,
           align: 'left',
           dataIndex: 'account',
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
@@ -158,35 +159,29 @@ export default {
           className: 'replacecolor',
           ellipsis: true,
         },
-
-        {
-          title: '计划单号',
-          width: 80,
-          dataIndex: 'cplanLotNumber',
-          className: 'replacecolor',
-          ellipsis: true,
-        },
         {
           title: '款号',
           width:80,
           dataIndex: 'itemNumber',
-          className: 'replacecolor'
+          className: 'replacecolor',
+          ellipsis: true,
         },
-        { title: '部门', width: 80, dataIndex: 'cdepCode', className: 'replacecolor' },
-        { title: '业务员', width: 80, dataIndex: 'cpersonCode', className: 'replacecolor' },
-        { title: '供应商', width: 250, dataIndex: 'cvenCode', className: 'replacecolor'},
+        { title: '部门', width: 70, dataIndex: 'cdepCode', className: 'replacecolor',ellipsis: true, },
+        { title: '业务员', width: 60, dataIndex: 'cpersonCode', className: 'replacecolor',ellipsis: true, },
+        { title: '供应商', width: 80, dataIndex: 'cvenCode', className: 'replacecolor',ellipsis: true,},
 
-        { title: '供应商类型', width: 80, dataIndex: 'cvenCodeType', className: 'replacecolor' },
-        { title: '订单类型', width: 80, dataIndex: 'iorderType', className: 'replacecolor' },
+        { title: '供应商类型', width: 65, dataIndex: 'cvenCodeType', className: 'replacecolor',ellipsis: true, },
+        { title: '订单类型', width: 70, dataIndex: 'iorderType', className: 'replacecolor',ellipsis: true, },
        
         {
           title: '预发货日期',
-          width: 95,
+          width: 65,
           dataIndex: 'darriveDate',
           // customRender: text => {
           //   return moment(text).format('YYYY-MM')
           // },
-          className: 'replacecolor'
+          className: 'replacecolor',
+          ellipsis: true,
         },
         // {
         //   title: '计划到货日期',
@@ -199,21 +194,30 @@ export default {
         // },
         //   className: 'replacecolor'
         // },
-        { title: '工时(分)', width: 80, dataIndex: 'coefficient', className: 'replacecolor' },
+        { title: '工时(分)', width: 55, dataIndex: 'coefficient', className: 'replacecolor',ellipsis: true, },
         {
           title: '件数',
-          width: 70,
+          width: 50,
           dataIndex: 'total',
-          className: 'replacecolor'
+          className: 'replacecolor',
+          ellipsis: true,
+        },
+        {
+          title: '计划单号',
+          width: 80,
+          dataIndex: 'cplanLotNumber',
+          className: 'replacecolor',
+          ellipsis: true,
         },
         {
           title: '数量',
-          width: 70,
+          width: 50,
           dataIndex: 'iquantity',
-          className: 'replacecolor'
+          className: 'replacecolor',
+          ellipsis: true,
         },
-        { title: '累计入库数量', width: 85, dataIndex: 'ireceivedQTY', className: 'replacecolor' },
-        { title: '单位', width: 70, dataIndex: 'unit', className: 'replacecolor' },
+        { title: '累计入库数量', width: 85, dataIndex: 'ireceivedQTY', className: 'replacecolor',ellipsis: true, },
+        { title: '单位', width: 70, dataIndex: 'unit', className: 'replacecolor',ellipsis: true, },
       ],
       supplyCapacityData: [],
       loading: false, // 表格加载