From 010fe0e7a1b438c22c089a8de655029a497de84d Mon Sep 17 00:00:00 2001 From: cuilei <ray_tsu1@163.com> Date: 星期二, 26 八月 2025 15:06:07 +0800 Subject: [PATCH] 齐套性检查、上下料查询页面 --- src/views/mes/MesProductionWorkOrderListView.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/mes/MesProductionWorkOrderListView.vue b/src/views/mes/MesProductionWorkOrderListView.vue index 0f244cd..1ea82c7 100644 --- a/src/views/mes/MesProductionWorkOrderListView.vue +++ b/src/views/mes/MesProductionWorkOrderListView.vue @@ -179,6 +179,10 @@ :scroll="{ y: 300 }" size="middle" bordered> + <span slot="checkFlag" slot-scope="text, record"> + <span v-if="text === '0'" style="color: red">鍚�</span> + <span v-if="text === '1'" style="color: green">鏄�</span> + </span> </a-table> </a-tab-pane> </a-tabs> @@ -502,9 +506,7 @@ title: '鏄惁榻愬', align: 'center', dataIndex: 'checkFlag', - customRender: function(text) { - return text === '0' ? '鍚�' : text === '1' ? '鏄�' : '' - } + scopedSlots: { customRender: 'checkFlag' } } ] }, -- Gitblit v1.9.3