下料报工代码fix

This commit is contained in:
zxy 2026-01-08 11:22:44 +08:00
parent b004bb5a9a
commit 27cc5ac427

View File

@ -107,18 +107,18 @@
<el-table-column label="报工状态" align="center" prop="reportProcess" width="100">
<template #default="scope">
<span :style="{
color: getReportStatusColor(scope.row.reportProcess),
color: TaskInReportApi.getReportStatusColor(scope.row.reportProcess),
fontWeight: 'bold'
}"
>
{{ getReportStatus({value: scope.row.reportProcess}) }}
{{ TaskInReportApi.getReportStatus({value: scope.row.reportProcess}) }}
</span>
</template>
</el-table-column>
<el-table-column label="报工工序" align="center" prop="procedureName" width="160"/>
<el-table-column label="下料类型" align="center" prop="matType" width="100">
<template #default="scope">
<span>{{ getMatType({value: scope.row.matType}) }}</span>
<span>{{ TaskInReportApi.getMatType({value: scope.row.matType}) }}</span>
</template>
</el-table-column>
<el-table-column label="长(直径)(mm)" align="center" prop="length" :formatter="formatAmount" width="220"/>