Pārlūkot izejas kodu

Merge remote-tracking branch '112.172.147.34/style' into ST24PRJ-198(다다익선등록오류)

jsh77b 4 gadi atpakaļ
vecāks
revīzija
c2a84c9e72

+ 17 - 4
src/main/webapp/WEB-INF/views/order/OrderDetailForm.html

@@ -36,8 +36,8 @@
 						<col width="6%"/>
 						<col width="10%"/>
 						<col width="10%"/>
-						<col width="6%"/>
 						<col width="14%"/>
+						<col width="6%"/>
 						<col width="7%"/>
 						<col width="9%"/>
 						<col width="12%"/>
@@ -52,8 +52,8 @@
 							<th>웹구분</th>
 							<th>제휴몰</th>
 							<th>주문일시</th>
-							<th>주문번호</th>
 							<th>제휴몰주문번호</th>
+							<th>주문번호</th>
 							<th>주문자</th>
 							<th>휴대폰번호</th>
 							<th>이메일</th>
@@ -71,8 +71,8 @@
 							<td th:text="${orderInfo[0].frontGbNm}"></td>
 							<td th:text="${orderInfo[0].extmallNm}"></td>
 							<td th:text="${orderInfo[0].ordDt}"></td>
-							<td th:text="${orderInfo[0].ordNo}"></td>
 							<td th:text="${orderInfo[0].extmallOrderId}"></td>
+							<td th:text="${orderInfo[0].ordNo}"></td>
 							<td th:text="${orderInfo[0].ordNm}"></td>
 							<td>
 								<a href="script:void(0)" class="lmsPop" th:attr="orderPhnno=${orderInfo[0].ordPhnno}"><th:block th:text="${orderInfo[0].ordPhnno}"></th:block></a>
@@ -419,6 +419,7 @@ var columnDefsGoodsInfo = [
 					return option;
 				}
 			},
+			{ headerName: "배송구분", field: "shotDelvGb", width: 80, cellClass: 'text-center' },
 			{headerName: "브랜드"		, field: "brandGroupNm"	, width: 80, cellClass: 'text-center'},
 			{headerName: "옵션1"		, field: "colorNm"		, width: 60, cellClass: 'text-center'},
 			{headerName: "옵션2"		, field: "optCd2"		, width: 60, cellClass: 'text-center'},
@@ -774,7 +775,8 @@ var columnDefsDeliveryInfo = [
 	},
 	{headerName: "주소(기본)"		, field: "recipBaseAddr"	, width: 220, cellClass: 'text-left'},
 	{headerName: "주소(상세)"		, field: "recipDtlAddr"		, width: 220, cellClass: 'text-left', editable: true},
-	{headerName: "배송메모"		, field: "delvMemo"			, width: 250, cellClass: 'text-left', editable: true}
+	{headerName: "배송메모"		, field: "delvMemo"			, width: 250, cellClass: 'text-left', editable: true},
+	{headerName: "주소입력기한"		, field: "giftLimitDt"		, width: 200, cellClass: 'text-center'}
 ];
 var gridOptionsDeliveryInfo = gagaAgGrid.getGridOptions(columnDefsDeliveryInfo);
 
@@ -1291,6 +1293,17 @@ $(document).ready(function () {
 	}
 
 	gagaAgGrid.showOrHideColumn(gridOptionsPaymentInfo, 'vaNm', payMeansChk);
+	
+	// 선물하기 정보 처리
+	let giftPackYn = orderDeliveryAddrInfo[0].giftPackYn;
+	let giftAddrInpYn = orderDeliveryAddrInfo[0].giftAddrInpYn;
+	if (giftPackYn == 'Y') {
+		if (giftAddrInpYn == 'Y') {
+			gagaAgGrid.setColumnHeaderName(gridOptionsDeliveryInfo, 'giftLimitDt', '주소입력일자');
+		}
+	} else {
+		gagaAgGrid.showOrHideColumn(gridOptionsDeliveryInfo, 'giftLimitDt', false);
+	}
 });
 
 //0원이하이면 '-' 처리 삭제 함수