From c99deaf93f657af8eb539d5a58a1910512b69b5f Mon Sep 17 00:00:00 2001 From: basssy Date: Fri, 21 Mar 2025 17:47:41 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=AC=EC=A0=81=ED=8A=B9=EC=9D=B4=EC=82=AC?= =?UTF-8?q?=ED=95=AD=20=EC=83=81=ED=92=88=20pkgYn=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/estimate/Estimate.jsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index 337c0924..c4e5e08e 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -474,6 +474,21 @@ export default function Estimate({}) { } else { item.check = false } + } else { + let codes = item.code.split('、') + let flg = '0' + if (codes.length > 1) { + for (let i = 0; i < pushData.length; i++) { + if (codes.indexOf(pushData[i]) > -1) { + flg = '1' + } + } + if (flg === '1') { + item.check = true + } else { + item.check = false + } + } } })