|
|
@ -53,6 +53,16 @@
|
|
|
|
v-hasPermi="['mes:dailyReportNew:export']"
|
|
|
|
v-hasPermi="['mes:dailyReportNew:export']"
|
|
|
|
>导出</el-button>
|
|
|
|
>导出</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleExportBP"
|
|
|
|
|
|
|
|
v-hasPermi="['mes:dailyReportNew:exportBP']"
|
|
|
|
|
|
|
|
>白坯参考导出</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="20">
|
|
|
|
<el-col :span="20">
|
|
|
|
<div style="color:firebrick;font-size: small; text-align: center;">产量=规格*实际产量,订单完成率=实际产量/计划产量,标准工时=产量*规格/产线标准效率,产线效率=标准工时/实际工时,
|
|
|
|
<div style="color:firebrick;font-size: small; text-align: center;">产量=规格*实际产量,订单完成率=实际产量/计划产量,标准工时=产量*规格/产线标准效率,产线效率=标准工时/实际工时,
|
|
|
|
总工时=实际用人*实际工时,<br/>标准人均效率=实际产量/标准用人/标准工时,实际人均效率=实际产量/总工时,人均效率达成率=实际人均效率/标准人均效率</div>
|
|
|
|
总工时=实际用人*实际工时,<br/>标准人均效率=实际产量/标准用人/标准工时,实际人均效率=实际产量/总工时,人均效率达成率=实际人均效率/标准人均效率</div>
|
|
|
@ -245,6 +255,11 @@ export default {
|
|
|
|
...this.queryParams
|
|
|
|
...this.queryParams
|
|
|
|
}, `dailyReport_${new Date().getTime()}.xlsx`)
|
|
|
|
}, `dailyReport_${new Date().getTime()}.xlsx`)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleExportBP() {
|
|
|
|
|
|
|
|
this.download('mes/reportWork/getDailyReportNewBPExport', {
|
|
|
|
|
|
|
|
...this.queryParams
|
|
|
|
|
|
|
|
}, `dailyReport_BP_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
|
|
},
|
|
|
|
getSummaries(param) {
|
|
|
|
getSummaries(param) {
|
|
|
|
const { columns, data } = param;
|
|
|
|
const { columns, data } = param;
|
|
|
|
const sums = [];
|
|
|
|
const sums = [];
|
|
|
|