Sfoglia il codice sorgente

취소/교환/반품 접수자 정보 노출 추가

gagamel 4 anni fa
parent
commit
2345111e11

+ 21 - 0
src/main/webapp/WEB-INF/views/order/CnclCompleteView.html

@@ -229,6 +229,24 @@
 						</tbody>
 					</table>
 				</div>
+				
+				<h4>접수자 정보</h4>
+				<table class="frmStyle">
+					<colgroup>
+						<col style="width:15%;" />
+						<col style="width:35%;" />
+						<col style="width:15%;" />
+						<col />
+					</colgroup>
+					<tbody>
+						<tr>
+							<th>접수자</th>
+							<td id="chclCompleteRegNm"></td>
+							<th>최종수정자</th>
+							<td id="chclCompleteUpdNm"></td>
+						</tr>
+					</tbody>
+				</table>
 				<br>
 			</form>
 		</div>
@@ -593,6 +611,9 @@ $(document).ready(function() {
 		$("#spanRefundAmt").text(spanRefundAmt.addComma());
 		*/
 		
+		$('#chclCompleteRegNm').text(cnclRtnCompleteList[0].regNm); // 접수자정보
+		$('#chclCompleteUpdNm').text(cnclRtnCompleteList[0].updNm); // 최종수정자정보
+		
 		// 2021.05.13 높이자동조절
 		var cancelRequestTargetHeight = 50 + (40 * cnclRtnCompleteList.length);
 		$("#gridCnclRtnCompleteList").css("height" , cancelRequestTargetHeight+"px");

+ 23 - 5
src/main/webapp/WEB-INF/views/order/ExchangeRequestForm.html

@@ -218,6 +218,24 @@
 					</tr>
 					</tbody>
 				</table>
+				
+				<h4>접수자 정보</h4>
+				<table class="frmStyle">
+					<colgroup>
+						<col style="width:15%;" />
+						<col style="width:35%;" />
+						<col style="width:15%;" />
+						<col />
+					</colgroup>
+					<tbody>
+						<tr>
+							<th>접수자</th>
+							<td id="exchCompleteRegNm"></td>
+							<th>최종수정자</th>
+							<td id="exchCompleteUpdNm"></td>
+						</tr>
+					</tbody>
+				</table>
 			</form>
 		</div>
 	</div>
@@ -1584,11 +1602,11 @@ $(document).ready(function() {
 	
 	// 수량체크
 	fnChangeQty();
+	
+	if (orderChangeDetailList != null) {
+		$('#exchCompleteRegNm').text(orderChangeDetailList[0].regNm);
+		$('#exchCompleteUpdNm').text(orderChangeDetailList[0].updNm);
+	}
 });
 </script>
 </html>
-
-
-
-
-

+ 15 - 13
src/main/webapp/WEB-INF/views/order/OrderDetailForm.html

@@ -945,7 +945,7 @@ var columnDefsOrderChangeInfo = [
 	{
 		headerName		: "요청번호"		
 		, field			: "ordChgSq"		
-		, width			: 100	
+		, width			: 80	
 		, cellClass		: 'text-center'
 		, cellRenderer	: function(params) {
 			var rtnStr = "";
@@ -1003,6 +1003,8 @@ var columnDefsOrderChangeInfo = [
 			return  rtnStr;
 		}
 	},
+	{headerName: "접수자"		, field: "regNm"		, width: 250	, cellClass: 'text-center'},
+	{headerName: "요청구분"		, field: "chgGbNm"		, width: 80		, cellClass: 'text-center'},
 	{headerName: "요청상태"		, field: "chgStatNm"	, width: 100	, cellClass: 'text-center'},
 	{headerName: "상품코드"		, field: "goodsCd"		, width: 100	, cellClass: 'text-center'},
 	{headerName: "상품타입"	, field: "goodsTypeNm"	, width: 100, cellClass: 'text-center',
@@ -1017,18 +1019,18 @@ var columnDefsOrderChangeInfo = [
 		}
 	},
 	{headerName: "SKUCODE"		, field: "optCd"		, width: 100	, cellClass: 'text-center'},
-	{headerName: "옵션1"			, field: "optCd1"		, width: 100	, cellClass: 'text-center', hide : true},
-	{headerName: "옵션2"			, field: "optCd2"		, width: 100	, cellClass: 'text-center', hide : true},
-	{headerName: "수량"			, field: "chgQty"		, width: 100	, cellClass: 'text-center'},
-	{
-		headerName		: "요청일자"		
-		, field			: "regDt"		
-		, width			: 150		
-		, cellClass		: 'text-center'
-		, cellRenderer	: function(params) {
-			return !gagajf.isNull(params.value) ? params.value.toDate("YYYYMMDDHHmm").format("YYYY-MM-DD HH:mm") : '';
-		}
-	},
+	{headerName: "옵션1"		, field: "optCd1"		, width: 100	, cellClass: 'text-center', hide : true},
+	{headerName: "옵션2"		, field: "optCd2"		, width: 100	, cellClass: 'text-center', hide : true},
+	{headerName: "수량"			, field: "chgQty"		, width: 80		, cellClass: 'text-center'},
+// 	{
+// 		headerName		: "요청일자"		
+// 		, field			: "regDt"		
+// 		, width			: 150		
+// 		, cellClass		: 'text-center'
+// 		, cellRenderer	: function(params) {
+// 			return !gagajf.isNull(params.value) ? params.value.toDate("YYYYMMDDHHmm").format("YYYY-MM-DD HH:mm") : '';
+// 		}
+// 	},
 	{headerName: "변경사유"		, field: "chgReasonNm"	, width: 100	, cellClass: 'text-center'},
 	{
 		headerName: "회수구분", field: "wdGb", width: 100, cellClass: 'text-center',