From 7232279f6e73cc0e9a851da14b0a30131503f601 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 24 三月 2025 17:16:01 +0800 Subject: [PATCH] 修改 获取物料分组, 库位类型列表报错问题修复 --- rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx b/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx index 7513fbe..f618577 100644 --- a/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx +++ b/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx @@ -210,9 +210,12 @@ } })) setData(val) - val.forEach((el) => { - jsbarcode(`#barcode${el.code}`, el.code, { height: 30 }); - }); + setTimeout(() => { + val.forEach((el) => { + jsbarcode(`#barcode${el.code}`, el.code, { height: 30 }); + }); + }, 10); + } else { -- Gitblit v1.9.1