Forráskód Böngészése

[ST24PRJ-500] [결함][BOS] 상품권 환불 이력확인 안됨

card007 4 éve
szülő
commit
c2a26da480

+ 1 - 1
src/main/java/com/style24/admin/biz/service/TsaWithdrawService.java

@@ -541,7 +541,7 @@ public class TsaWithdrawService {
 			}
 		} catch (Exception e) {
 			e.printStackTrace();
-			throw new IllegalStateException("실패");
+			throw new IllegalStateException(e.getMessage());
 		}
 	}
 

+ 11 - 5
src/main/webapp/WEB-INF/views/order/RtnReqForm.html

@@ -37,7 +37,7 @@
 
 				<div id="delvCdList">
 					<h4>배송정보</h4>
-					<div id="gridDelvCdList" style="width:100%; height: 140px;" class="ag-theme-balham"></div>
+					<div id="gridDelvCdList" style="width:100%; height: 66px;" class="ag-theme-balham"></div>
 				</div>
 
 				<h4 id="h4DelvInfoList">배송비정보</h4>
@@ -1834,11 +1834,17 @@ $(document).ready(function() {
 	gagaAgGrid.hideStatusBar('gridDelvCdList');
 	
 	// 2. 회수구분처리
-	if (wdGb == 'D') {
-		$('input:radio[name="wdGb"]:radio[value="D"]').prop('checked', true);
-	} else {
+	// 2021.11.22 입점업체인 경우에는 회수요청만 해당
+	if (selfGoodsYn == "N") {
 		$('input:radio[name="wdGb"]:radio[value="W"]').prop('checked', true);
-		$('#delvCdList').css('display', 'none');
+		$('input:radio[name=wdGb]').attr('disabled', true);
+	} else {
+		if (wdGb == 'D') {
+			$('input:radio[name="wdGb"]:radio[value="D"]').prop('checked', true);
+		} else {
+			$('input:radio[name="wdGb"]:radio[value="W"]').prop('checked', true);
+			$('#delvCdList').css('display', 'none');
+		}
 	}
 	
 	// 3. 무통장입금아닐때 환불계좌 목록 숨김처리