From 372cf9142e377edb013bf90c4a2e028f2bf1c6c3 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期四, 17 四月 2025 17:47:23 +0800 Subject: [PATCH] 钣金统计表-工序号补0 --- src/views/mainPlan/plateProcessStat/index.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/mainPlan/plateProcessStat/index.vue b/src/views/mainPlan/plateProcessStat/index.vue index 8d904b0..39326ea 100644 --- a/src/views/mainPlan/plateProcessStat/index.vue +++ b/src/views/mainPlan/plateProcessStat/index.vue @@ -131,7 +131,7 @@ // 琛ㄦ牸閰嶇疆 const columns = ref([ - { type: 'seq', title: '搴忓彿', width: 60 }, +/* { type: 'seq', title: '搴忓彿', width: 60 },*/ { title: '宸ュ崟鍙�', field: 'workOrderNo', @@ -144,12 +144,12 @@ }, { title: '宸ュ簭鍙�', - field: 'routeProcessNumber', + field: 'routeProcessNumberTxt', width: 150, }, { title: '褰撳墠宸ュ簭鍙�', - field: 'currentProcessNumber', + field: 'currentProcessNumberTxt', width: 150, }, { @@ -197,6 +197,10 @@ listValue.forEach(listItem => { listItem[`processPlanStartDaytxt`]= listItem.warning? `<font color="red">${listItem.processPlanStartDay}</font>` :listItem.processPlanStartDay; listItem[`processPlanEndDaytxt`]= listItem.warning? `<font color="red">${listItem.processPlanEndDay}</font>` :listItem.processPlanEndDay; + listItem[`routeProcessNumberTxt`]= listItem.routeProcessNumber.toString().padStart(3, '0'); + listItem[`currentProcessNumberTxt`]= listItem.currentProcessNumber.toString().padStart(3, '0'); + + }); aps_plate_process_statList.value =listValue debugger; -- Gitblit v1.9.3