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