机床工时统计

This commit is contained in:
Vergil
2020-03-13 16:37:27 +08:00
parent 31e86d2f7a
commit 2634da4471
5 changed files with 111 additions and 72 deletions

View File

@@ -67,17 +67,17 @@
</el-table-column>
<el-table-column label="准结(分)" align="center" width="110">
<template slot-scope="scope">
{{ scope.row.加工准备工时 }}
{{ scope.row.修补工时 }}
</template>
</el-table-column>
<el-table-column label="单件加工工时(分)" align="center" prop="加工工时" width="120">
<el-table-column label="单件加工工时(分)" align="center" prop="加工工时" width="140">
<template slot-scope="scope">
{{ scope.row.修补单件工时 }}
</template>
</el-table-column>
<el-table-column label="加工工时(分)" align="center" prop="加工工时" width="110">
<template slot-scope="scope">
{{ scope.row.加工工时 }}
{{ scope.row.完成工时 }}
</template>
</el-table-column>
<el-table-column label="扫码工时(分)" align="center" prop="扫码工时" width="110">
@@ -92,7 +92,7 @@
</el-table-column>
<el-table-column label="加工完成" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.加工日期 }}
{{ scope.row.加工完成时间 }}
</template>
</el-table-column>
<el-table-column label="图号及规格" align="center" width="150">
@@ -188,6 +188,10 @@ export default {
工时比值: Number(response.data.result[i].计划工时) === 0 ? 0 : Math.round(response.data.result[i].扫码工时 / Number(response.data.result[i].计划工时) * 100) / 100.00,
加工日期: response.data.result[i].操作时间,
图号及规格: response.data.result[i].零件图号_零件工艺计划,
修补工时: response.data.result[i].修补工时,
修补单件工时: response.data.result[i].修补单件工时,
完成工时: response.data.result[i].完成工时,
加工完成时间: response.data.result[i].加工完成时间,
制品名称: response.data.result[i].零件名称
})
}

View File

@@ -60,9 +60,14 @@
{{ scope.row.修补单件工时 }}
</template>
</el-table-column>
<el-table-column align="center" label="录入准结(分)" width="110px">
<el-table-column align="center" label="完成工时(分)" width="110px">
<template slot-scope="scope">
{{ scope.row.修补准结工时 }}
{{ scope.row.完成工时 }}
</template>
</el-table-column>
<el-table-column align="center" label="准结(分)" width="110px">
<template slot-scope="scope">
{{ scope.row.修补工时 }}
</template>
</el-table-column>
<el-table-column align="center" label="备注" width="200px" show-overflow-tooltip="">