fix : 마이페이지 반품/교환/취소 환불 조회조건 유지
This commit is contained in:
@@ -778,7 +778,7 @@ public class MyOrdrController {
|
||||
// model,
|
||||
// "resultMap"
|
||||
// );
|
||||
model.addAttribute("paramVO", boRtngudrefndVO);
|
||||
model.addAttribute("paramVO", new ObjectMapper().writeValueAsString(boRtngudrefndVO));
|
||||
|
||||
// 마이페이지 > 상단 회원 정보 ( 등금, 이름, 마일리지, 쿠폰, 위시리스트, 배송중, 등급산정기준 )
|
||||
Map<String, Object> content2 = selectBOMpageInfoInqire(vo);
|
||||
|
||||
@@ -902,6 +902,9 @@
|
||||
<input type="hidden" id="pageIndex" name="pageIndex" value="${ paramVO.pageIndex }"/>
|
||||
<input type="hidden" id="recordCountPerPage" name="recordCountPerPage" value="${ paramVO.recordCountPerPage }"/>
|
||||
<input type="hidden" id="pageUnit" name="pageUnit" value="${ paramVO.pageUnit }"/>
|
||||
<input type="hidden" name="srchwrd" id="srchwrd" value="${ paramVO.srchwrd }"/>
|
||||
<input type="hidden" name="bgnDt" id="bgnDt" value="${ paramVO.bgnDt }"/>
|
||||
<input type="hidden" name="endDt" id="endDt" value="${ paramVO.endDt }"/>
|
||||
</form>
|
||||
|
||||
<%-- 공통 Footer --%>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
// fn_set_param();
|
||||
fn_set_param();
|
||||
|
||||
let pageIndex = '<c:out value="${ resultMap.paramVO.pageIndex }"/>';
|
||||
let pageUnit = '<c:out value="${ resultMap.paramVO.pageUnit }"/>';
|
||||
@@ -71,7 +71,9 @@
|
||||
}
|
||||
|
||||
|
||||
/* 검색조건 세팅 */
|
||||
/******************************************************************
|
||||
* 검색조건 세팅
|
||||
******************************************************************/
|
||||
const fn_set_param = function() {
|
||||
const params = ${paramVO};
|
||||
const keys = Object.keys(params);
|
||||
|
||||
@@ -713,6 +713,9 @@
|
||||
<input type="hidden" id="pageIndex" name="pageIndex" value="${ paramVO.pageIndex }"/>
|
||||
<input type="hidden" id="recordCountPerPage" name="recordCountPerPage" value="${ paramVO.recordCountPerPage }"/>
|
||||
<input type="hidden" id="pageUnit" name="pageUnit" value="${ paramVO.pageUnit }"/>
|
||||
<input type="hidden" name="srchwrd" id="srchwrd" value="${ paramVO.srchwrd }"/>
|
||||
<input type="hidden" name="bgnDt" id="bgnDt" value="${ paramVO.bgnDt }"/>
|
||||
<input type="hidden" name="endDt" id="endDt" value="${ paramVO.endDt }"/>
|
||||
</form>
|
||||
|
||||
<!-- 푸터 -->
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
$(document).ready(function (){
|
||||
|
||||
fn_set_param();
|
||||
|
||||
const title = '반품/환불 내역';
|
||||
fn_set_header_title(title);
|
||||
|
||||
@@ -70,6 +72,34 @@
|
||||
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* 검색조건 세팅
|
||||
******************************************************************/
|
||||
const fn_set_param = function() {
|
||||
const params = ${paramVO};
|
||||
const keys = Object.keys(params);
|
||||
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
let key = keys[i];
|
||||
let data = params[key];
|
||||
|
||||
if ('bgnDt' == key || 'endDt' == key) {
|
||||
if (!fn_is_empty(data)) {
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
$('#' + key).val(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ('dateRange' == key) {
|
||||
$('#'+ data).trigger('click');
|
||||
}
|
||||
|
||||
if ('srchwrd' == key) {
|
||||
$('#' + key).val(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************
|
||||
|
||||
Reference in New Issue
Block a user