This commit is contained in:
basssy 2024-12-04 18:21:44 +09:00
parent b1c896c01a
commit 7c26569b61

View File

@ -150,10 +150,10 @@ export default function Estimate({ params }) {
//detail //detail
//ATTR003,ATTR007 //ATTR003,ATTR007
if (row.code === 'ATTR003') { if (row.code === 'ATTR003') {
row.check = true //row.check = true
} }
if (row.code === 'ATTR007') { if (row.code === 'ATTR007') {
row.check = true //row.check = true
} }
}) })
@ -203,7 +203,6 @@ export default function Estimate({ params }) {
// remark // remark
const settingShowContent = (code) => { const settingShowContent = (code) => {
setShowContentCode(code) setShowContentCode(code)
// event.stopPropagation()
} }
// estimateContextState // estimateContextState
@ -1062,8 +1061,8 @@ export default function Estimate({ params }) {
return ( return (
<> <>
<div className={`form-flex-wrap ${style}`} key={fixedKey}> <div className={`form-flex-wrap ${style}`} key={`roof${index}`}>
<div className="input-wrap mr5" style={{ width: '610px' }} key={`roof${index}`}> <div className="input-wrap mr5" style={{ width: '610px' }}>
<input type="text" className="input-light" value={roofList} readOnly /> <input type="text" className="input-light" value={roofList} readOnly />
</div> </div>
<div className="input-wrap" style={{ width: '200px' }}> <div className="input-wrap" style={{ width: '200px' }}>
@ -1242,7 +1241,7 @@ export default function Estimate({ params }) {
settingShowContent(row.code) settingShowContent(row.code)
}} }}
> >
{row.codeNm} {row.codeNm} / {row.code}
</span> </span>
</div> </div>
</div> </div>
@ -1267,6 +1266,8 @@ export default function Estimate({ params }) {
} else { } else {
let pushData = [] let pushData = []
popShowSpecialNoteList.map((item) => { popShowSpecialNoteList.map((item) => {
//console.log('showContentCode::', showContentCode)
//console.log('unique::', uniqueData)
let option = showContentCode.split('、') let option = showContentCode.split('、')
option.map((item2) => { option.map((item2) => {
if (item.code === item2) { if (item.code === item2) {
@ -1483,7 +1484,8 @@ export default function Estimate({ params }) {
<div className="form-flex-wrap"> <div className="form-flex-wrap">
<div className="select-wrap mr5"> <div className="select-wrap mr5">
<Select <Select
id="long-value-select1" // id="long-value-select1"
name="long-value-select"
instanceId="long-value-select1" instanceId="long-value-select1"
className="react-select-custom" className="react-select-custom"
classNamePrefix="custom" classNamePrefix="custom"