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) {