Commit d2eb1fbb by zhangzhen

生产管理驾驶舱样式优化

parent 532b4097
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<el-table <el-table
:data="getByProjCodewtWtList" :data="getByProjCodewtWtList"
border border
:height="660" height="68vh"
id="tableId1" id="tableId1"
:highlight-current-row="true" :highlight-current-row="true"
style="width: 100%"> style="width: 100%">
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
:prop="colVal.value" :prop="colVal.value"
:align="colVal.align" :align="colVal.align"
:label="colVal.label" :label="colVal.label"
:width="colVal.width"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span class="project-title-font">{{scope.row[colVal.value] | resetData}}</span> <span class="project-title-font">{{scope.row[colVal.value] | resetData}}</span>
...@@ -70,27 +71,32 @@ module.exports = { ...@@ -70,27 +71,32 @@ module.exports = {
label: '项目名称', label: '项目名称',
align: 'center', align: 'center',
value: 'projName', value: 'projName',
width:''
}, },
{ {
label: '计划完成时间', label: '计划完成时间',
align: 'center', align: 'center',
value: 'completeDate', value: 'completeDate',
width:''
}, },
{ {
label: '计划产量', label: '计划产量',
align: 'center', align: 'center',
value: 'totalWeight', value: 'totalWeight',
width:'60'
}, },
{ {
label: '实际产量', label: '实际产量',
align: 'center', align: 'center',
value: 'finishWeight', value: 'finishWeight',
width:'60'
}, },
{ {
label: '进度', label: '进度',
align: 'center', align: 'center',
value: 'schedule', value: 'schedule',
}, width:'40'
}
] ]
}; };
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment