Browse Source

改顺序

yuhan 1 year ago
parent
commit
d64c7b3c83
1 changed files with 29 additions and 29 deletions
  1. 29 29
      src/views/module_kzks/projectCostList/ProjectCostList.vue

+ 29 - 29
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -454,32 +454,28 @@ import { number } from 'echarts';
             },
           },
           {
-            title:'研制数量',
-            align:"center",
-            dataIndex: 'yzsl'
-          },
-          {
-            title:'单台收入',
+            title:'合同额',
             align:"center",
-            dataIndex: 'oneIncome',
-            customRender: (text, record) => {
-              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
+            dataIndex: 'contractfpe',
+            scopedSlots: {
+              customRender: 'contractfpe',
             },
+            // customCell: this.getClickColumn,
           },
           {
-            title:'单台成本',
+            title:'预估价',
             align:"center",
-            dataIndex: 'oneCost',
+            dataIndex: 'estimationcoat',
             customRender: (text, record) => {
-              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
+              return record.contractfpe ? '-' : Number(text).toFixed(2)
             },
           },
           {
-            title:'单台利润',
+            title:'总成本',
             align:"center",
-            dataIndex: 'oneProfit',
-            customRender: (text, record) => {
-              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
+            dataIndex: 'zcb',
+            customRender: (text) => {
+              return (Number(text)/10000).toFixed(2)
             },
           },
           {
@@ -491,20 +487,16 @@ import { number } from 'echarts';
             },
           },
           {
-            title:'合同额',
+            title:'研制数量',
             align:"center",
-            dataIndex: 'contractfpe',
-            scopedSlots: {
-              customRender: 'contractfpe',
-            },
-            // customCell: this.getClickColumn,
+            dataIndex: 'yzsl'
           },
           {
-            title:'预估价',
+            title:'单台利润',
             align:"center",
-            dataIndex: 'estimationcoat',
+            dataIndex: 'oneProfit',
             customRender: (text, record) => {
-              return record.contractfpe ? '-' : Number(text).toFixed(2)
+              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
             },
           },
           {
@@ -525,11 +517,19 @@ import { number } from 'echarts';
             // customCell: this.getClickColumn,
           },
           {
-            title:'总成本',
+            title:'单台收入',
             align:"center",
-            dataIndex: 'zcb',
-            customRender: (text) => {
-              return (Number(text)/10000).toFixed(2)
+            dataIndex: 'oneIncome',
+            customRender: (text, record) => {
+              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
+            },
+          },
+          {
+            title:'单台成本',
+            align:"center",
+            dataIndex: 'oneCost',
+            customRender: (text, record) => {
+              return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
             },
           },
           {