样、式人员工时统计

This commit is contained in:
Vergil
2020-02-13 11:21:06 +08:00
parent 1db4944493
commit 6c56d22d0e
2 changed files with 12 additions and 2 deletions

View File

@@ -340,3 +340,13 @@ h3 {
color: white;
}
}
//统一标准全局class 张丁予20200213
.machineTool { // 机床Select
.el-input{
width:180px;
}
}
.el-select{
width:150px;
margin-right: 10px;
}

View File

@@ -184,11 +184,11 @@ export default {
// 导出
exportTable() {
import('./Export2Excel').then(excel => {
const filterVal1 = ['姓名', '理论加工时间段', '实际加工时间段', '比例']
const filterVal1 = ['姓名', '理论加工时间段', '设备工时', '比例']
const data1 = this.tableData.map(v => filterVal1.map(j => v[j]))
const dataGroup = []
dataGroup.push(data1)
const headerGroup = [['操作者', '计划工时', '加工工时', '比例']]
const headerGroup = [['操作者', '计划工时', '实际工时', '比例']]
const sheetGroup = ['工时统计表']
excel.export_json_to_excel({
headerGroup: headerGroup,