diff --git a/src/components/estimate/Estimate.jsx b/src/components/estimate/Estimate.jsx index 532d6364..337c0924 100644 --- a/src/components/estimate/Estimate.jsx +++ b/src/components/estimate/Estimate.jsx @@ -175,7 +175,10 @@ export default function Estimate({}) { row.check = false estimateOption.map((row2) => { if (row.pkgYn === '0') { - if (row2 === row.code) { + // if (row2 === row.code) { + // row.check = true + // } + if (row.code.split('、').includes(row2)) { row.check = true } } else { @@ -217,7 +220,10 @@ export default function Estimate({}) { row.check = false estimateOption.map((row2) => { if (row.pkgYn === '0') { - if (row2 === row.code) { + // if (row2 === row.code) { + // row.check = true + // } + if (row.code.split('、').includes(row2)) { row.check = true } } else { @@ -240,7 +246,6 @@ export default function Estimate({}) { } } }) - setSpecialNoteList(res) setSpecialNoteFirstFlg(true)