From cc2984eeb289b54cfa193dde558417c46f309e8f Mon Sep 17 00:00:00 2001 From: DESKTOP-LMJ82IJ\Eno <creaycat@gmail.com> Date: 星期日, 13 四月 2025 19:32:38 +0800 Subject: [PATCH] #修改 1. 采购单界面优化及修改 --- rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx b/rsf-admin/src/page/basicInfo/matnr/PrintModal.jsx index 7513fbe..feaa543 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 { @@ -238,7 +241,7 @@ overflow: 'hidden', fontSize: 'small', tableLayout: 'fixed', - width: '280px', + width: '520px', borderCollapse: 'collapse', borderSpacing: 0, margin: '0 auto', -- Gitblit v1.9.1