물건현황 react-select 용 퍼블 scss 머지

This commit is contained in:
basssy 2024-10-18 08:51:23 +09:00
parent cdf6a43cac
commit be866218fa
5 changed files with 2764 additions and 2073 deletions

View File

@ -536,8 +536,11 @@ export default function StuffDetail() {
</th> </th>
<td> <td>
<div className="flx-box"> <div className="flx-box">
<div style={{ width: '567px', marginRight: '5px' }}> <div className="select-wrap mr5" style={{ width: '567px' }}>
<Select <Select
className="react-select-custom"
classNamePrefix="custom"
placeholder="Select"
options={saleStoreList} options={saleStoreList}
onChange={onSelectionChange} onChange={onSelectionChange}
getOptionLabel={(x) => x.saleStoreName} getOptionLabel={(x) => x.saleStoreName}
@ -562,8 +565,11 @@ export default function StuffDetail() {
</th> </th>
<td> <td>
<div className="flx-box"> <div className="flx-box">
<div style={{ width: '567px', marginRight: '5px' }}> <div className="select-wrap mr5" style={{ width: '567px' }}>
<Select <Select
className="react-select-custom"
classNamePrefix="custom"
placeholder="Select"
ref={ref} ref={ref}
options={otherSaleStoreList} options={otherSaleStoreList}
onChange={onSelectionChange2} onChange={onSelectionChange2}

View File

@ -257,18 +257,23 @@ export default function StuffSearchCondition() {
</td> </td>
<th>{getMessage('stuff.search.schSelSaleStoreId')}</th> <th>{getMessage('stuff.search.schSelSaleStoreId')}</th>
<td> <td>
{schSelSaleStoreList?.length > 0 && ( <div className="select-wrap">
<Select {schSelSaleStoreList?.length > 0 && (
ref={ref} <Select
options={schSelSaleStoreList} className="react-select-custom"
onChange={onSelectionChange} classNamePrefix="custom"
getOptionLabel={(x) => x.saleStoreName} placeholder="Select"
getOptionValue={(x) => x.saleStoreId} ref={ref}
defaultValue={stuffSearch?.selObject?.value ? stuffSearch?.selObject : null} options={schSelSaleStoreList}
isDisabled={sessionState?.storeLvl === '1' ? false : true} onChange={onSelectionChange}
isClearable={true} getOptionLabel={(x) => x.saleStoreName}
/> getOptionValue={(x) => x.saleStoreId}
)} defaultValue={stuffSearch?.selObject?.value ? stuffSearch?.selObject : null}
isDisabled={sessionState?.storeLvl === '1' ? false : true}
isClearable={true}
/>
)}
</div>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -339,13 +339,15 @@ export default function PlanRequestPop(props) {
</td> </td>
<th>{getMessage('stuff.planReqPopup.search.planStatName')}</th> <th>{getMessage('stuff.planReqPopup.search.planStatName')}</th>
<td> <td>
<div className=""> <div className="select-wrap">
<Select <Select
className="react-select-custom"
classNamePrefix="custom"
ref={ref} ref={ref}
options={tempList} options={tempList}
onChange={onSelectionChange} onChange={onSelectionChange}
isSearchable={false} isSearchable={false}
placeholder="선택하세요." placeholder="Select"
isClearable={true} isClearable={true}
/> />
</div> </div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff