|
|
@@ -3,7 +3,7 @@
|
|
|
<div class="bg-color-black">
|
|
|
<div class="plan-header">
|
|
|
<div class="d-flex pt-1 pl-2 jc-center">
|
|
|
- <span class="text mx-2 fw-b">每周车间达成率</span>
|
|
|
+ <span class="text mx-2 fw-b">销售达成率</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="plan-body">
|
|
|
@@ -23,14 +23,14 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
config: {
|
|
|
- header: ['员工','部门名称', '月销售目标','月销售额','月达成率%','年销售目标','年销售额','年达成率%'],
|
|
|
+ header: ['员工','部门名称', '月目标','月销售额','月达成率','年目标','年销售额','年达成率'],
|
|
|
data: [],
|
|
|
rowNum: 10,
|
|
|
headerHeight: 30,
|
|
|
headerBGC: 'rgba(15,19,37,0.1)',
|
|
|
oddRowBGC: 'rgba(15,19,37,0.1)',
|
|
|
evenRowBGC: 'rgba(23,28,51,0.1)',
|
|
|
- columnWidth: [80, 100, 90,100,90,90,90,90],
|
|
|
+ columnWidth: [90,110,90,100,100,90,100,100],
|
|
|
align: ['center', 'center', 'center', 'center','center','center','center','center']
|
|
|
},
|
|
|
refreshInterval: null,
|
|
|
@@ -85,11 +85,14 @@ export default {
|
|
|
formatRowData(item) {
|
|
|
const rowClass = 'colorGrass';
|
|
|
return [
|
|
|
- this.createCell(item.week_number, rowClass),
|
|
|
- this.createCell(item.highest_getrate_wc, rowClass),
|
|
|
- this.createCell(item.highest_getrate, rowClass),
|
|
|
- this.createCell(item.highest_okrate_wc, rowClass),
|
|
|
- this.createCell(item.highest_okrate, rowClass)
|
|
|
+ this.createCell(item.sellername, rowClass),
|
|
|
+ this.createCell(item.departmentname, rowClass),
|
|
|
+ this.createCell(item.goal, rowClass),
|
|
|
+ this.createCell(item.total, rowClass),
|
|
|
+ this.createCell(item.goalrate, rowClass),
|
|
|
+ this.createCell(item.goalyear, rowClass),
|
|
|
+ this.createCell(item.totalyear, rowClass),
|
|
|
+ this.createCell(item.goalrateyear, rowClass)
|
|
|
]
|
|
|
},
|
|
|
createCell(content, className) {
|