From 622b3770dc09ff9c460f8d7aa16f362d510deef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Thu, 29 Oct 2026 16:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/sortingBoard54.vue | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/src/views/modules/haianWarehouse/dashboard/sortingBoard54.vue b/src/views/modules/haianWarehouse/dashboard/sortingBoard54.vue index bcee54c..354b400 100644 --- a/src/views/modules/haianWarehouse/dashboard/sortingBoard54.vue +++ b/src/views/modules/haianWarehouse/dashboard/sortingBoard54.vue @@ -34,26 +34,27 @@
- - - - - + + + + + - + - + - - + + + @@ -136,6 +137,17 @@ export default { clearInterval(this.scrollTimer) }, methods: { + // 看板数量去尾零,0保留为0;空值表示标签未唯一命中,显示横线 - rqrq + formatQty (qty) { + if (qty === null || qty === undefined || qty === '') { + return '-' + } + const num = Number(qty) + if (!Number.isFinite(num)) { + return '-' + } + return parseFloat(String(num)) + }, // 专用屏独立使用工厂54,不读取或修改登录工厂;兼容site=54地址,错误工厂参数仍拒绝查询 - rqrq initializeBoard () { this.requestVersion++
No工单号物料编码物料名称RFID / 标签号状态
工单号物料编码物料名称RFID / 标签号数量状态
{{ index + 1 }}
{{ item.orderNo || '-' }} {{ item.partNo || '-' }} {{ (item.partDesc || '').slice(0, 100) || '-' }} {{ item.rfidBarcode }}{{ formatQty(item.qty) }} {{ item.status }}