|
@@ -13,7 +13,7 @@
|
|
|
* 1.0 2021.01.15 card007 최초 작성
|
|
* 1.0 2021.01.15 card007 최초 작성
|
|
|
*******************************************************************************
|
|
*******************************************************************************
|
|
|
-->
|
|
-->
|
|
|
-<div class="modalPopup" data-width="1400" data-height="600">
|
|
|
|
|
|
|
+<div class="modalPopup" data-height="800">
|
|
|
<div class="panelStyle">
|
|
<div class="panelStyle">
|
|
|
<div class="panelTitle">
|
|
<div class="panelTitle">
|
|
|
<h2>교환요청</h2>
|
|
<h2>교환요청</h2>
|
|
@@ -245,6 +245,7 @@
|
|
|
<script th:inline="javascript">
|
|
<script th:inline="javascript">
|
|
|
/*<![CDATA[*/
|
|
/*<![CDATA[*/
|
|
|
var cancelRequestTargetList = [[${cancelRequestTargetList}]]; // 교환대상목록
|
|
var cancelRequestTargetList = [[${cancelRequestTargetList}]]; // 교환대상목록
|
|
|
|
|
+var cancelRequestTargetCnt = [[${cancelRequestTargetList.size()}]]; // 교환대상건수
|
|
|
var ordNo = [[${ordNo}]]; // 주문번호
|
|
var ordNo = [[${ordNo}]]; // 주문번호
|
|
|
var ordChgSq = [[${ordChgSq}]]; // 주문변경번호
|
|
var ordChgSq = [[${ordChgSq}]]; // 주문변경번호
|
|
|
var chgStat = [[${chgStat}]]; // 변경상태
|
|
var chgStat = [[${chgStat}]]; // 변경상태
|
|
@@ -318,8 +319,12 @@ var columnExchangeReqList = [
|
|
|
{headerName: "단품번호" , field: "ordDtlItemSq" , width: 100 , cellClass: 'text-center', hide: temp2},
|
|
{headerName: "단품번호" , field: "ordDtlItemSq" , width: 100 , cellClass: 'text-center', hide: temp2},
|
|
|
{headerName: "단품코드" , field: "itemCd" , width: 100 , cellClass: 'text-center'},
|
|
{headerName: "단품코드" , field: "itemCd" , width: 100 , cellClass: 'text-center'},
|
|
|
{headerName: "SKUCODE" , field: "optCd" , width: 100 , cellClass: 'text-center'},
|
|
{headerName: "SKUCODE" , field: "optCd" , width: 100 , cellClass: 'text-center'},
|
|
|
- {headerName: "단품명" , field: "itemNm" , width: 130 , cellClass: 'text-center'},
|
|
|
|
|
- {headerName: "옵션1" , field: "optCd1" , width: 60 , cellClass: 'text-center'},
|
|
|
|
|
|
|
+ {headerName: "단품명" , field: "itemNm" , width: 330 , cellClass: 'text-left'},
|
|
|
|
|
+ {headerName: "옵션1" , field: "optCd1" , width: 100 , cellClass: 'text-center',
|
|
|
|
|
+ cellRenderer : function (params) {
|
|
|
|
|
+ return params.data.colorNm + "[" + params.data.optCd1 +"]" ;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{headerName: "옵션2" , field: "optCd2" , width: 60 , cellClass: 'text-center'},
|
|
{headerName: "옵션2" , field: "optCd2" , width: 60 , cellClass: 'text-center'},
|
|
|
{
|
|
{
|
|
|
headerName : "단품수량"
|
|
headerName : "단품수량"
|
|
@@ -1594,6 +1599,8 @@ $(document).ready(function() {
|
|
|
$('#chgerButton').css('display', 'none'); // 회수지 수정 버튼
|
|
$('#chgerButton').css('display', 'none'); // 회수지 수정 버튼
|
|
|
$('#recipButton').css('display', 'none'); // 교환지 수정 버튼
|
|
$('#recipButton').css('display', 'none'); // 교환지 수정 버튼
|
|
|
}
|
|
}
|
|
|
|
|
+ var cancelRequestTargetHeight = 80 + (40 * cancelRequestTargetCnt);
|
|
|
|
|
+ $("#gridOrderCancelRequestList").css("height" , cancelRequestTargetHeight+"px");
|
|
|
|
|
|
|
|
// 글자수 제한 byte 표기
|
|
// 글자수 제한 byte 표기
|
|
|
cfnGetTextLength($('#chgMemo'), 1000, $('#chgMemoCount'));
|
|
cfnGetTextLength($('#chgMemo'), 1000, $('#chgMemoCount'));
|
|
@@ -1603,7 +1610,7 @@ $(document).ready(function() {
|
|
|
// 수량체크
|
|
// 수량체크
|
|
|
fnChangeQty();
|
|
fnChangeQty();
|
|
|
|
|
|
|
|
- if (orderChangeDetailList != null) {
|
|
|
|
|
|
|
+ if ( orderChangeDetailList != null && orderChangeDetailList.length > 0) {
|
|
|
$('#exchRequestRegNm').text(orderChangeDetailList[0].regNm);
|
|
$('#exchRequestRegNm').text(orderChangeDetailList[0].regNm);
|
|
|
$('#exchRequestUpdNm').text(orderChangeDetailList[0].updNm);
|
|
$('#exchRequestUpdNm').text(orderChangeDetailList[0].updNm);
|
|
|
}
|
|
}
|