|
@@ -30,7 +30,16 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #schedule="{ item }">
|
|
|
- <div>生产进度</div>
|
|
|
+ <div>
|
|
|
+ <div v-if="item.productionOrderScheduleVoList && item.productionOrderScheduleVoList.length > 0">
|
|
|
+ <el-progress
|
|
|
+ type="circle"
|
|
|
+ v-for="(row, index) in item.productionOrderScheduleVoList"
|
|
|
+ :key="index"
|
|
|
+ :percentage="Math.round((row.productionQuantity / row.completeQuantity) * 100)"
|
|
|
+ :status="Math.round((row.productionQuantity / row.completeQuantity) * 100) == 100 ? 'success' : ''" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</byTable>
|
|
|
</el-card>
|