|
@@ -216,28 +216,28 @@
|
|
|
|
|
|
<span slot="contractfpe" slot-scope="text, record">
|
|
|
<!-- <a-button type="link">{{text}}</a-button> -->
|
|
|
- <a-button type="link" @click="detailClick(text,record,'contractfpe','合同额')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'contractfpe','合同额')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="taskmoney" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'taskmoney','已收款')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'taskmoney','已收款')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="clf" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'clf','材料费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'clf','材料费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="zyf" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'zyf','专用费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'zyf','专用费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="swf" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'swf','事务费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'swf','事务费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="wxf" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'wxf','外协费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'wxf','外协费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="zjcb" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'zjcb','装机成本')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'zjcb','装机成本')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
<span slot="workhour" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="detailClick(text,record,'workhour','工时')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{text?(text/10000).toFixed(2):null}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'workhour','工时')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(text/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
|
|
|
|
|
@@ -439,24 +439,24 @@ import { number } from 'echarts';
|
|
|
title:'单台收入',
|
|
|
align:"center",
|
|
|
dataIndex: 'oneIncome',
|
|
|
- customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ customRender: (text, record) => {
|
|
|
+ return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title:'单台成本',
|
|
|
align:"center",
|
|
|
dataIndex: 'oneCost',
|
|
|
- customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ customRender: (text, record) => {
|
|
|
+ return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title:'单台利润',
|
|
|
align:"center",
|
|
|
dataIndex: 'oneProfit',
|
|
|
- customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ customRender: (text, record) => {
|
|
|
+ return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -464,7 +464,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'lre',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -480,7 +480,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'estimationcoat',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -506,7 +506,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'zcb',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -560,7 +560,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'rldlf',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -568,7 +568,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'gdzczj',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -576,7 +576,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'gzjlwf',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -584,7 +584,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'glf',
|
|
|
customRender: (text) => {
|
|
|
- return text?(text/10000).toFixed(2):null
|
|
|
+ return (text/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|