This commit is contained in:
liushuai
2020-05-18 19:12:24 +08:00
parent cd622ee59e
commit 05bd8992a8
12 changed files with 518 additions and 70 deletions

View File

@@ -42,17 +42,17 @@
</el-table-column>
<el-table-column label="计划准结(分)" align="center" prop="计划准备工时" width="110">
<template slot-scope="scope">
{{ scope.row.计划准备工时 }}
{{ scope.row.计划准备工时 ? scope.row.计划准备工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="单件定额(分)" align="center" width="110">
<template slot-scope="scope">
{{ scope.row.单件计划工时 }}
{{ scope.row.单件计划工时 ? scope.row.单件计划工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="计划工时(分)" align="center" prop="计划工时" width="110">
<template slot-scope="scope">
{{ scope.row.计划工时 }}
{{ scope.row.计划工时 ? scope.row.计划工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="计划完成" align="center" width="110">
@@ -67,27 +67,27 @@
</el-table-column>
<el-table-column label="单件加工工时(分)" align="center" prop="加工工时" width="140">
<template slot-scope="scope">
{{ scope.row.修补单件工时 }}
{{ scope.row.修补单件工时 ? scope.row.修补单件工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="加工工时(分)" align="center" prop="完成工时" width="110">
<template slot-scope="scope">
{{ scope.row.完成工时 }}
{{ scope.row.完成工时 ? scope.row.完成工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="完成工时(分)" align="center" prop="完成工时1" width="110">
<template slot-scope="scope">
{{ scope.row.完成工时1 }}
{{ scope.row.完成工时1 ? scope.row.完成工时1 : 0 }}
</template>
</el-table-column>
<el-table-column label="准结(分)" align="center" prop="修补工时" width="110">
<template slot-scope="scope">
{{ scope.row.修补工时 }}
{{ scope.row.修补工时 ? scope.row.修补工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="扫码工时(分)" align="center" prop="扫码工时" width="110">
<template slot-scope="scope">
{{ scope.row.扫码工时 }}
{{ scope.row.扫码工时 ? scope.row.扫码工时 : 0 }}
</template>
</el-table-column>
<el-table-column label="工时比值" align="center" width="100">
@@ -184,7 +184,7 @@ export default {
计划准备工时: response.data.result[i].准结定额工时,
单件计划工时: response.data.result[i].单件定额工时,
计划工时: response.data.result[i].计划工时,
计划加工日期: response.data.result[i].计划日期.split(' ')[0],
计划加工日期: response.data.result[i].计划日期 ? response.data.result[i].计划日期.split(' ')[0] : '-',
加工数量: response.data.result[i].完成数量,
加工准备工时: response.data.result[i].修补准结工时,
加工工时: response.data.result[i].设备工时,

View File

@@ -188,7 +188,7 @@
</el-table-column>
<el-table-column align="center" label="采购数量">
<template slot-scope="scope">
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || scope.row.离线采购数量 || '—' }}
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.离线采购数量 || (scope.row.数量==='0' ? '—' : scope.row.数量) || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="用滞货数">