|
|
@@ -276,6 +276,16 @@ const columns = ref<Column[]>([
|
|
|
prop: 'otherProductionTime',
|
|
|
'min-width': '120px'
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '非生产时效',
|
|
|
+ prop: 'nonProductionRate',
|
|
|
+ 'min-width': '120px',
|
|
|
+ formatter: (row: List) => {
|
|
|
+ const nonProductionRate = row?.nonProductionRate ?? 0
|
|
|
+
|
|
|
+ return (nonProductionRate * 100).toFixed(2) + '%'
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
label: '非生产时间',
|
|
|
children: [
|
|
|
@@ -345,16 +355,6 @@ const columns = ref<Column[]>([
|
|
|
label: '其他非生产时间原因',
|
|
|
prop: 'otherNptReason',
|
|
|
'min-width': '120px'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '非生产时效',
|
|
|
- prop: 'nonProductionRate',
|
|
|
- 'min-width': '120px',
|
|
|
- formatter: (row: List) => {
|
|
|
- const nonProductionRate = row?.nonProductionRate ?? 0
|
|
|
-
|
|
|
- return (nonProductionRate * 100).toFixed(2) + '%'
|
|
|
- }
|
|
|
}
|
|
|
])
|
|
|
|