Prechádzať zdrojové kódy

BOS > 주문상세 > (취소/반품/교환) 요청 정보 내 SKUCODE 수정 및 세트상품 팝업 추가

card007 4 rokov pred
rodič
commit
9d2afef636

+ 12 - 1
src/main/webapp/WEB-INF/views/order/OrderDetailForm.html

@@ -894,8 +894,19 @@ var columnDefsOrderChangeInfo = [
 	},
 	{headerName: "요청상태"		, field: "chgStatNm"	, width: 100	, cellClass: 'text-center'},
 	{headerName: "상품코드"		, field: "goodsCd"		, width: 100	, cellClass: 'text-center'},
+	{headerName: "상품타입"	, field: "goodsTypeNm"	, width: 100, cellClass: 'text-center',
+		cellRenderer: function (params) {
+			var option;
+			if (params.data.goodsType == 'G056_S') {
+				option = "<a href=\"javascript:void(0);\" onclick=\"fnOrderDetailItemForm('" + params.data.ordDtlNo + "');\">" + params.value + "</a>";
+			} else {
+				option = params.value
+			}
+			return option;
+		}
+	},
 	{headerName: "SKUCODE"		, field: "optCd"		, width: 100	, cellClass: 'text-center'},
-	{headerName: "옵션1"			, field: "colorNm"		, width: 100	, cellClass: 'text-center', hide : true},
+	{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'},
 	{