|
@@ -410,7 +410,7 @@ import { number } from 'echarts';
|
|
title:'任务号',
|
|
title:'任务号',
|
|
fixed:"left",
|
|
fixed:"left",
|
|
dataIndex: 'taskno',
|
|
dataIndex: 'taskno',
|
|
- width: 180,
|
|
|
|
|
|
+ width: 120,
|
|
customHeaderCell:() => ({
|
|
customHeaderCell:() => ({
|
|
style: {
|
|
style: {
|
|
textAlign: 'center', // 表头居中
|
|
textAlign: 'center', // 表头居中
|
|
@@ -421,19 +421,20 @@ import { number } from 'echarts';
|
|
title:'任务名称',
|
|
title:'任务名称',
|
|
align:"center",
|
|
align:"center",
|
|
fixed:"left",
|
|
fixed:"left",
|
|
- width: 120,
|
|
|
|
- dataIndex: 'taskname'
|
|
|
|
|
|
+ width: 60,
|
|
|
|
+ dataIndex: 'taskname',
|
|
|
|
+ ellipsis: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'型号',
|
|
title:'型号',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'xhname',
|
|
dataIndex: 'xhname',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'计划完成时间',
|
|
title:'计划完成时间',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 80,
|
|
dataIndex: 'jhwcsj',
|
|
dataIndex: 'jhwcsj',
|
|
customRender:function (text) {
|
|
customRender:function (text) {
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
@@ -442,13 +443,13 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'阶段',
|
|
title:'阶段',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'yzjdname'
|
|
dataIndex: 'yzjdname'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'项目进度',
|
|
title:'项目进度',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'processpercent',
|
|
dataIndex: 'processpercent',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.id === 'amount'?null:parseInt(text)+ '%'
|
|
return record.id === 'amount'?null:parseInt(text)+ '%'
|
|
@@ -457,7 +458,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'成本进度',
|
|
title:'成本进度',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'costPercent',
|
|
dataIndex: 'costPercent',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.id === 'amount'?null:(Number(text) * 100).toFixed(0) + '%'
|
|
return record.id === 'amount'?null:(Number(text) * 100).toFixed(0) + '%'
|
|
@@ -466,7 +467,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'已收款',
|
|
title:'已收款',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'taskmoney',
|
|
dataIndex: 'taskmoney',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'taskmoney',
|
|
// customRender: 'taskmoney',
|
|
@@ -479,7 +480,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'合同额',
|
|
title:'合同额',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'contractfpe',
|
|
dataIndex: 'contractfpe',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'contractfpe',
|
|
// customRender: 'contractfpe',
|
|
@@ -493,7 +494,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'预估价',
|
|
title:'预估价',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'estimationcoat',
|
|
dataIndex: 'estimationcoat',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.contractfpe ? '-' : Number(text).toFixed(2)
|
|
return record.contractfpe ? '-' : Number(text).toFixed(2)
|
|
@@ -502,7 +503,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'总成本',
|
|
title:'总成本',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'zcb',
|
|
dataIndex: 'zcb',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -511,7 +512,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'利润额',
|
|
title:'利润额',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'lre',
|
|
dataIndex: 'lre',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -520,7 +521,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'利润率',
|
|
title:'利润率',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'lrl',
|
|
dataIndex: 'lrl',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text) * 100).toFixed(1) + '%'
|
|
return (Number(text) * 100).toFixed(1) + '%'
|
|
@@ -529,13 +530,13 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'研制数量',
|
|
title:'研制数量',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'yzsl'
|
|
dataIndex: 'yzsl'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'单台利润',
|
|
title:'单台利润',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'oneProfit',
|
|
dataIndex: 'oneProfit',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
@@ -544,7 +545,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'单台收入',
|
|
title:'单台收入',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'oneIncome',
|
|
dataIndex: 'oneIncome',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
@@ -553,7 +554,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'单台成本',
|
|
title:'单台成本',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'oneCost',
|
|
dataIndex: 'oneCost',
|
|
customRender: (text, record) => {
|
|
customRender: (text, record) => {
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
return record.id === 'amount'?null:(Number(text)/10000).toFixed(2)
|
|
@@ -562,7 +563,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'材料预算',
|
|
title:'材料预算',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'clys',
|
|
dataIndex: 'clys',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return Number(text).toFixed(2)
|
|
return Number(text).toFixed(2)
|
|
@@ -571,7 +572,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'材料费',
|
|
title:'材料费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'clf',
|
|
dataIndex: 'clf',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'clf',
|
|
// customRender: 'clf',
|
|
@@ -584,7 +585,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'专用预算',
|
|
title:'专用预算',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'zyys',
|
|
dataIndex: 'zyys',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return Number(text).toFixed(2)
|
|
return Number(text).toFixed(2)
|
|
@@ -593,7 +594,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'专用费',
|
|
title:'专用费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'zyf',
|
|
dataIndex: 'zyf',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'zyf',
|
|
// customRender: 'zyf',
|
|
@@ -606,7 +607,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'事务预算',
|
|
title:'事务预算',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'swys',
|
|
dataIndex: 'swys',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return Number(text).toFixed(2)
|
|
return Number(text).toFixed(2)
|
|
@@ -615,7 +616,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'事务费',
|
|
title:'事务费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'swf',
|
|
dataIndex: 'swf',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'swf',
|
|
// customRender: 'swf',
|
|
@@ -628,7 +629,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'外协预算',
|
|
title:'外协预算',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'wxys',
|
|
dataIndex: 'wxys',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return Number(text).toFixed(2)
|
|
return Number(text).toFixed(2)
|
|
@@ -637,7 +638,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'外协费',
|
|
title:'外协费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'wxf',
|
|
dataIndex: 'wxf',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'wxf',
|
|
// customRender: 'wxf',
|
|
@@ -650,7 +651,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'间接预算',
|
|
title:'间接预算',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'jjys',
|
|
dataIndex: 'jjys',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return Number(text).toFixed(2)
|
|
return Number(text).toFixed(2)
|
|
@@ -659,7 +660,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'燃动费',
|
|
title:'燃动费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'rldlf',
|
|
dataIndex: 'rldlf',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -669,7 +670,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'固资费',
|
|
title:'固资费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'gdzczj',
|
|
dataIndex: 'gdzczj',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -679,7 +680,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'人工费',
|
|
title:'人工费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'gzjlwf',
|
|
dataIndex: 'gzjlwf',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -689,7 +690,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'管理费',
|
|
title:'管理费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'glf',
|
|
dataIndex: 'glf',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -699,7 +700,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'筛选费',
|
|
title:'筛选费',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'sxf',
|
|
dataIndex: 'sxf',
|
|
customRender: (text) => {
|
|
customRender: (text) => {
|
|
return (Number(text)/10000).toFixed(2)
|
|
return (Number(text)/10000).toFixed(2)
|
|
@@ -709,7 +710,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'装机成本',
|
|
title:'装机成本',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'zjcb',
|
|
dataIndex: 'zjcb',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'zjcb',
|
|
// customRender: 'zjcb',
|
|
@@ -722,13 +723,13 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'内部试验',
|
|
title:'内部试验',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'lbsy'
|
|
dataIndex: 'lbsy'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'工时(h)',
|
|
title:'工时(h)',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'workhour',
|
|
dataIndex: 'workhour',
|
|
// scopedSlots: {
|
|
// scopedSlots: {
|
|
// customRender: 'workhour',
|
|
// customRender: 'workhour',
|
|
@@ -738,7 +739,7 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'责任部门',
|
|
title:'责任部门',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 80,
|
|
dataIndex: 'zrbm'
|
|
dataIndex: 'zrbm'
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
@@ -749,8 +750,9 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'下达部门',
|
|
title:'下达部门',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
- dataIndex: 'jycs'
|
|
|
|
|
|
+ width: 80,
|
|
|
|
+ dataIndex: 'jycs',
|
|
|
|
+ ellipsis: true,
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
// title:'1:横向 2:纵向',
|
|
// title:'1:横向 2:纵向',
|
|
@@ -760,85 +762,85 @@ import { number } from 'echarts';
|
|
{
|
|
{
|
|
title:'横向纵向',
|
|
title:'横向纵向',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'hxzxname'
|
|
dataIndex: 'hxzxname'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'任务类型',
|
|
title:'任务类型',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'tasktype'
|
|
dataIndex: 'tasktype'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'审计审价',
|
|
title:'审计审价',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'auditprice'
|
|
dataIndex: 'auditprice'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'任务状态',
|
|
title:'任务状态',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'iflag'
|
|
dataIndex: 'iflag'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'提出单位简称',
|
|
title:'提出单位简称',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'brief'
|
|
dataIndex: 'brief'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'父级任务',
|
|
title:'父级任务',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'reftaskno'
|
|
dataIndex: 'reftaskno'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'批产任务号',
|
|
title:'批产任务号',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'pccode'
|
|
dataIndex: 'pccode'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'备产任务号',
|
|
title:'备产任务号',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'bccode'
|
|
dataIndex: 'bccode'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'备料任务号',
|
|
title:'备料任务号',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'blcode'
|
|
dataIndex: 'blcode'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'业务员',
|
|
title:'业务员',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'businessManName'
|
|
dataIndex: 'businessManName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'主管设计师',
|
|
title:'主管设计师',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'ywfzrname'
|
|
dataIndex: 'ywfzrname'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'科研任务负责人',
|
|
title:'科研任务负责人',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'xhzzrname'
|
|
dataIndex: 'xhzzrname'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'设计工时',
|
|
title:'设计工时',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'sjgs'
|
|
dataIndex: 'sjgs'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title:'生产工时',
|
|
title:'生产工时',
|
|
align:"center",
|
|
align:"center",
|
|
- width: 120,
|
|
|
|
|
|
+ width: 60,
|
|
dataIndex: 'scgs'
|
|
dataIndex: 'scgs'
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
@@ -1492,6 +1494,6 @@ import { number } from 'echarts';
|
|
/*表格tbody*/
|
|
/*表格tbody*/
|
|
::v-deep .ant-table-tbody > tr > td {
|
|
::v-deep .ant-table-tbody > tr > td {
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
- padding: 10px 8px !important;
|
|
|
|
|
|
+ padding: 6px 4px !important;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|