From a56b3bb2de9f27ba10ed70330ec3de08ef5719e7 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Fri, 13 Nov 2026 16:29:44 +0800 Subject: [PATCH] =?UTF-8?q?pda=E6=96=B0=E5=A2=9E=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=B4=BE=E5=B7=A5=E5=8D=95=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/production/service/impl/DailyPlanServiceImpl.java | 1 + .../static/js/pda/scanningOfToolProductionTransfer2.js | 4 ++-- .../templates/pda/scanningOfToolProductionTransfer2.ftl | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java index 3bd2b71..93d9372 100644 --- a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java +++ b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java @@ -2469,6 +2469,7 @@ public class DailyPlanServiceImpl implements DailyPlanService { map.put("toolDescription",toolDesc); map.put("residualLife",new BigDecimal(toolDetailData.getEstUseQty()+"").subtract(new BigDecimal(toolDetailData.getActualUseQty()+""))); map.put("lifeReminder",new BigDecimal(toolDetailData.getActualUseQty()+"").compareTo(new BigDecimal(toolDetailData.getEstUseQty()+"").multiply(new BigDecimal("0.9"))) > 0); + map.put("nowSeqNo",toolDetailData.getNowSeqNo()); return map; } diff --git a/src/main/resources/static/js/pda/scanningOfToolProductionTransfer2.js b/src/main/resources/static/js/pda/scanningOfToolProductionTransfer2.js index 8ea535e..d2b3d4b 100644 --- a/src/main/resources/static/js/pda/scanningOfToolProductionTransfer2.js +++ b/src/main/resources/static/js/pda/scanningOfToolProductionTransfer2.js @@ -100,10 +100,10 @@ function initTableBody(){ let toolDetail = resultToolList[i] html+=`${toolDetail.toolInstanceID} ${toolDetail.toolID}${toolDetail.toolDescription} - ${toolDetail.residualLife}删除` + ${toolDetail.residualLife}${toolDetail.nowSeqNo == null ? '' : toolDetail.nowSeqNo}删除` } }else { - html = `暂无数据` + html = `暂无数据` } $(".tool_body").html(html) } diff --git a/src/main/resources/templates/pda/scanningOfToolProductionTransfer2.ftl b/src/main/resources/templates/pda/scanningOfToolProductionTransfer2.ftl index 893f40b..6e0b1ec 100644 --- a/src/main/resources/templates/pda/scanningOfToolProductionTransfer2.ftl +++ b/src/main/resources/templates/pda/scanningOfToolProductionTransfer2.ftl @@ -92,6 +92,7 @@ 模具编码 模具名称 剩余寿命 + 当前派工单号 操作