|
@@ -9,13 +9,18 @@
|
|
|
<a-input placeholder="请输入任务号" v-model="queryParam.taskno"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="任务名称">
|
|
|
<a-input placeholder="请输入任务名称" v-model="queryParam.taskname"></a-input>
|
|
|
</a-form-item>
|
|
|
+ </a-col> -->
|
|
|
+ <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="项目进度">
|
|
|
+ <a-input placeholder="请输入项目进度" v-model="queryParam.processpercent"></a-input>
|
|
|
+ </a-form-item>
|
|
|
</a-col>
|
|
|
<template v-if="toggleSearchStatus">
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="型号">
|
|
|
<a-input placeholder="请输入型号" v-model="queryParam.xhname"></a-input>
|
|
|
</a-form-item>
|
|
@@ -24,18 +29,18 @@
|
|
|
<a-form-item label="阶段">
|
|
|
<a-input placeholder="请输入阶段" v-model="queryParam.yzjdname"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="计划完成时间">
|
|
|
<j-date placeholder="请选择计划完成时间" v-model="queryParam.jhwcsj"></j-date>
|
|
|
</a-form-item>
|
|
|
</a-col> -->
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="任务类型">
|
|
|
<a-input placeholder="请输入任务类型" v-model="queryParam.tasktype"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ </a-col> -->
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="审计审价">
|
|
|
<a-input placeholder="请输入审计审价" v-model="queryParam.auditprice"></a-input>
|
|
|
</a-form-item>
|
|
@@ -44,22 +49,22 @@
|
|
|
<a-form-item label="任务状态">
|
|
|
<a-input placeholder="请输入任务状态" v-model="queryParam.iflag"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ </a-col> -->
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="项目进度">
|
|
|
<a-input placeholder="请输入项目进度" v-model="queryParam.processpercent"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ </a-col> -->
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="成本进度">
|
|
|
<a-input placeholder="请输入成本进度" v-model="queryParam.costPercent"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ </a-col> -->
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="业务员">
|
|
|
<a-input placeholder="请输入业务员" v-model="queryParam.businessman"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="下达部门id">
|
|
|
<a-input placeholder="请输入下达部门id" v-model="queryParam.jycsid"></a-input>
|
|
@@ -71,10 +76,15 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
+ <a-form-item label="责任部门">
|
|
|
+ <a-input placeholder="请输入责任部门" v-model="queryParam.zrbm"></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="批产任务号">
|
|
|
<a-input placeholder="请输入批产任务号" v-model="queryParam.pccode"></a-input>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="备产任务号">
|
|
|
<a-input placeholder="请输入备产任务号" v-model="queryParam.bccode"></a-input>
|
|
@@ -216,28 +226,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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'contractfpe','合同额')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'taskmoney','已收款')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'clf','材料费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'zyf','专用费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'swf','事务费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'wxf','外协费')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'zjcb','装机成本')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(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/10000).toFixed(2)}}</a-button>
|
|
|
+ <a-button type="link" @click="detailClick(text,record,'workhour','工时')" :style="{color: (record.children || record.id === 'amount') ? 'rgba(0,0,0,.65)' : ''}">{{(Number(text)/10000).toFixed(2)}}</a-button>
|
|
|
</span>
|
|
|
|
|
|
|
|
@@ -421,14 +431,20 @@ import { number } from 'echarts';
|
|
|
dataIndex: 'yzjdname'
|
|
|
},
|
|
|
{
|
|
|
- title:'项目进度(%)',
|
|
|
+ title:'项目进度',
|
|
|
align:"center",
|
|
|
- dataIndex: 'processpercent'
|
|
|
+ dataIndex: 'processpercent',
|
|
|
+ customRender: (text, record) => {
|
|
|
+ return record.id === 'amount'?null:parseInt(text)+ '%'
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title:'成本进度',
|
|
|
align:"center",
|
|
|
- dataIndex: 'costPercent'
|
|
|
+ dataIndex: 'costPercent',
|
|
|
+ customRender: (text, record) => {
|
|
|
+ return record.id === 'amount'?null:(Number(text)).toFixed(1) + '%'
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title:'研制数量',
|
|
@@ -440,7 +456,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'oneIncome',
|
|
|
customRender: (text, record) => {
|
|
|
- return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
+ return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -448,7 +464,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'oneCost',
|
|
|
customRender: (text, record) => {
|
|
|
- return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
+ return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -456,7 +472,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'oneProfit',
|
|
|
customRender: (text, record) => {
|
|
|
- return record.id === 'amount'?null:(text/10000).toFixed(2)
|
|
|
+ return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -464,15 +480,15 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'lre',
|
|
|
customRender: (text) => {
|
|
|
- return (text/10000).toFixed(2)
|
|
|
+ return (Number(text)/10000).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- title:'利润率(%)',
|
|
|
+ title:'利润率',
|
|
|
align:"center",
|
|
|
dataIndex: 'lrl',
|
|
|
customRender: (text) => {
|
|
|
- return text.toFixed(1)
|
|
|
+ return Number(text).toFixed(1) + '%'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -480,7 +496,7 @@ import { number } from 'echarts';
|
|
|
align:"center",
|
|
|
dataIndex: 'estimationcoat',
|
|
|
customRender: (text) => {
|
|
|
- return (text/10000).toFixed(2)
|
|
|
+ return Number(text).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -513,6 +529,9 @@ import { number } from 'echarts';
|
|
|
title:'材料预算',
|
|
|
align:"center",
|
|
|
dataIndex: 'clys',
|
|
|
+ customRender: (text) => {
|
|
|
+ return text.toFixed(2)
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title:'材料费',
|
|
@@ -545,6 +564,9 @@ import { number } from 'echarts';
|
|
|
title:'外协预算',
|
|
|
align:"center",
|
|
|
dataIndex: 'wxys',
|
|
|
+ customRender: (text) => {
|
|
|
+ return text.toFixed(2)
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title:'外协费',
|
|
@@ -556,7 +578,7 @@ import { number } from 'echarts';
|
|
|
// customCell: this.getClickColumn,
|
|
|
},
|
|
|
{
|
|
|
- title:'燃料动力费',
|
|
|
+ title:'燃动费',
|
|
|
align:"center",
|
|
|
dataIndex: 'rldlf',
|
|
|
customRender: (text) => {
|
|
@@ -564,7 +586,7 @@ import { number } from 'echarts';
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- title:'固定资产折旧',
|
|
|
+ title:'固资费',
|
|
|
align:"center",
|
|
|
dataIndex: 'gdzczj',
|
|
|
customRender: (text) => {
|
|
@@ -572,7 +594,7 @@ import { number } from 'echarts';
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- title:'工资及劳务费',
|
|
|
+ title:'工资费',
|
|
|
align:"center",
|
|
|
dataIndex: 'gzjlwf',
|
|
|
customRender: (text) => {
|