From 993e750deb8aedd09009f760e86187f9c4d259d7 Mon Sep 17 00:00:00 2001 From: basssy Date: Wed, 8 Jan 2025 17:46:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A4=EA=B3=84=EC=9D=98=EB=A2=B0=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=20=EA=B2=80=EC=83=89=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/management/StuffPlanQGrid.jsx | 1 - .../management/popup/FindAddressPopQGrid.jsx | 1 - .../management/popup/PlanRequestPop.jsx | 39 +------------------ .../management/popup/PlanRequestPopQGrid.jsx | 1 - 4 files changed, 2 insertions(+), 40 deletions(-) diff --git a/src/components/management/StuffPlanQGrid.jsx b/src/components/management/StuffPlanQGrid.jsx index 72c74eb5..90bcda91 100644 --- a/src/components/management/StuffPlanQGrid.jsx +++ b/src/components/management/StuffPlanQGrid.jsx @@ -40,7 +40,6 @@ export default function StuffPlanQGrid(props) { rowData={rowData} columnDefs={colDefs} defaultColDef={defaultColDef} - rowSelection={'singleRow'} pagination={isPageable} domLayout="autoHeight" suppressCellFocus={true} diff --git a/src/components/management/popup/FindAddressPopQGrid.jsx b/src/components/management/popup/FindAddressPopQGrid.jsx index ba703625..6447dd48 100644 --- a/src/components/management/popup/FindAddressPopQGrid.jsx +++ b/src/components/management/popup/FindAddressPopQGrid.jsx @@ -56,7 +56,6 @@ export default function FindAddressPopGrid(props) { rowData={rowData} columnDefs={colDefs} defaultColDef={defaultColDef} - rowSelection={'singleRow'} pagination={isPageable} onSelectionChanged={onSelectionChanged} overlayNoRowsTemplate={`${getMessage('stuff.grid.noData')}`} diff --git a/src/components/management/popup/PlanRequestPop.jsx b/src/components/management/popup/PlanRequestPop.jsx index aa415edd..34fba57f 100644 --- a/src/components/management/popup/PlanRequestPop.jsx +++ b/src/components/management/popup/PlanRequestPop.jsx @@ -50,7 +50,6 @@ export default function PlanRequestPop(props) { const [schSaleStoreName, setSchSaleStoreName] = useState('') //판매대리점명 const [schPlanReqName, setSchPlanReqName] = useState('') //의뢰자명 const [schPlanStatCd, setSchPlanStatCd] = useState('') //상태코드 - const [schDateGbn, setSchDateGbn] = useState('S') //기간구분코드(S/R) //초기화 const resetRecoil = () => { @@ -59,7 +58,6 @@ export default function PlanRequestPop(props) { setSchAddress('') setSchSaleStoreName('') setSchPlanReqName('') - setSchDateGbn('S') setStartDate(dayjs(new Date()).add(-3, 'month').format('YYYY-MM-DD')) setEndDate(dayjs(new Date()).format('YYYY-MM-DD')) setSchPlanStatCd('') @@ -85,10 +83,7 @@ export default function PlanRequestPop(props) { // 조회 const onSubmit = (page, type) => { - //2차점 테스트 201X112 const params = { - // saleStoreId: 'X112', - // saleStoreLevel: '1', saleStoreId: props?.otherSaleStoreId ? props.otherSaleStoreId : props.saleStoreId, saleStoreLevel: props?.otherSaleStoreLevel ? props.otherSaleStoreLevel : props.saleStoreLevel, schPlanReqNo: schPlanReqNo, @@ -97,7 +92,7 @@ export default function PlanRequestPop(props) { schSaleStoreName: schSaleStoreName, schPlanReqName: schPlanReqName, schPlanStatCd: schPlanStatCd, - schDateGbn: schDateGbn, + schDateGbn: 'R', schStartDt: startDate ? dayjs(startDate).format('YYYY-MM-DD') : '', schEndDt: endDate ? dayjs(endDate).format('YYYY-MM-DD') : '', startRow: type === 'S' ? (1 - 1) * pageSize + 1 : (page - 1) * pageSize + 1, @@ -135,8 +130,6 @@ export default function PlanRequestPop(props) { //페이지 갯수 변경 이벤트 const onChangePerPage = (e) => { const params = { - // saleStoreId: 'T100', - // saleStoreLevel: '1', saleStoreId: props?.otherSaleStoreId ? props.otherSaleStoreId : props.saleStoreId, saleStoreLevel: props?.otherSaleStoreLevel ? props.otherSaleStoreLevel : props.saleStoreLevel, schTitle: schTitle, @@ -145,7 +138,7 @@ export default function PlanRequestPop(props) { schSaleStoreName: schSaleStoreName, schPlanReqName: schPlanReqName, schPlanStatCd: schPlanStatCd, - schDateGbn: schDateGbn, + schDateGbn: 'R', schStartDt: dayjs(startDate).format('YYYY-MM-DD'), schEndDt: dayjs(endDate).format('YYYY-MM-DD'), startRow: (1 - 1) * e.target.value + 1, @@ -412,34 +405,6 @@ export default function PlanRequestPop(props) { {getMessage('stuff.planReqPopup.search.period')}
-
-
- { - setSchDateGbn(e.target.value) - }} - /> - -
-
- { - setSchDateGbn(e.target.value) - }} - /> - -
-
diff --git a/src/components/management/popup/PlanRequestPopQGrid.jsx b/src/components/management/popup/PlanRequestPopQGrid.jsx index 955a24ff..f7dbba0f 100644 --- a/src/components/management/popup/PlanRequestPopQGrid.jsx +++ b/src/components/management/popup/PlanRequestPopQGrid.jsx @@ -56,7 +56,6 @@ export default function PlanRequestPopQGrid(props) { rowData={rowData} columnDefs={colDefs} defaultColDef={defaultColDef} - rowSelection={'singleRow'} pagination={isPageable} onSelectionChanged={onSelectionChanged} overlayNoRowsTemplate={`${getMessage('stuff.grid.noData')}`}