|
|
|
@ -104,7 +104,21 @@
|
|
|
|
sortable />
|
|
|
|
sortable />
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tableFinishNumberColumn')" align="center" prop="wangongNumber"
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tableFinishNumberColumn')" align="center" prop="wangongNumber"
|
|
|
|
sortable />
|
|
|
|
sortable />
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tablePassRateColumn')" align="center" prop="passRate" sortable />
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tablePassRateColumn')" align="center" min-width="60px" sortable="custom">
|
|
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
|
|
|
<div class="pass-rate-cell">
|
|
|
|
|
|
|
|
<el-progress
|
|
|
|
|
|
|
|
type="circle"
|
|
|
|
|
|
|
|
:percentage="Number(scope.row.passRate ?? 0)"
|
|
|
|
|
|
|
|
:width="40"
|
|
|
|
|
|
|
|
:stroke-width="4"
|
|
|
|
|
|
|
|
:show-text="false"
|
|
|
|
|
|
|
|
:color="Number(scope.row.passRate ?? 0) === 100 ? '#67c23a' : undefined"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span class="pass-rate-text">{{ Number(scope.row.passRate ?? 0) }}%</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<!-- <el-table-column label="热压数量" align="center" prop="reyaNumber" /> -->
|
|
|
|
<!-- <el-table-column label="热压数量" align="center" prop="reyaNumber" /> -->
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tableStatusColumn')" align="center" prop="status" sortable>
|
|
|
|
<el-table-column :label="t('ProductionPlan.Plan.tableStatusColumn')" align="center" prop="status" sortable>
|
|
|
|
<template #default="scope">
|
|
|
|
<template #default="scope">
|
|
|
|
@ -543,3 +557,23 @@ const handleTabClick = (tab: TabsPaneContext) => {
|
|
|
|
handleQuery()
|
|
|
|
handleQuery()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
.pass-rate-cell {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pass-rate-cell :deep(.el-progress-circle) {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pass-rate-text {
|
|
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|