Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -22,6 +22,13 @@
|
||||
fn_check_BoxControl(amtCndUseAt,amtCndAditAmt);
|
||||
fn_check_BoxControl(cntCndUseAt,cntCndAditAmt);
|
||||
|
||||
const amtCndUseAt2 = document.querySelector('#amtCndUseAt2');
|
||||
const amtCndAditAmt2 = document.querySelector('#amtCndAditAmt2');
|
||||
const cntCndUseAt2 = document.querySelector('#cntCndUseAt2');
|
||||
const cntCndAditAmt2 = document.querySelector('#cntCndAditAmt2');
|
||||
fn_check_BoxControl(amtCndUseAt2,amtCndAditAmt2);
|
||||
fn_check_BoxControl(cntCndUseAt2,cntCndAditAmt2);
|
||||
|
||||
/** 묶음배송 체크박스 컨트롤 */
|
||||
const bundleDlvyY = document.querySelector('#bundleDlvyY');
|
||||
const bundleDlvyN = document.querySelector('#bundleDlvyN');
|
||||
@@ -29,16 +36,30 @@
|
||||
fn_click_bundleDlvy(bundleDlvyY, bundleDlvyCndAmt);
|
||||
fn_click_bundleDlvy(bundleDlvyN, bundleDlvyCndAmt);
|
||||
|
||||
const bundleDlvyY2 = document.querySelector('#bundleDlvyY2');
|
||||
const bundleDlvyN2 = document.querySelector('#bundleDlvyN2');
|
||||
const bundleDlvyCndAmt2 = document.querySelector('#bundleDlvyCndAmt2');
|
||||
fn_click_bundleDlvy(bundleDlvyY2, bundleDlvyCndAmt2);
|
||||
fn_click_bundleDlvy(bundleDlvyN2, bundleDlvyCndAmt2);
|
||||
|
||||
/** 배송권역 셀렉트박스 컨트롤 */
|
||||
const dlvyAreaAditAt1 = document.querySelector('#dlvyAreaAditAt');
|
||||
const areaAditDlvyAmt1 = document.querySelector('#areaAditDlvyAmt');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt1, areaAditDlvyAmt1);
|
||||
|
||||
const dlvyAreaAditAt2 = document.querySelector('#dlvyAreaAditAt2');
|
||||
const areaAditDlvyAmt2 = document.querySelector('#areaAditDlvyAmt2');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt2, areaAditDlvyAmt2);
|
||||
|
||||
//왕복 여부 체크박스 컨트롤
|
||||
const returnDlvyApplcAt = document.querySelector('#returnDlvyApplcAt');
|
||||
const exchngDlvyAmt = document.querySelector('#exchngDlvyAmt');
|
||||
const returnDlvyApplcAt = document.querySelector('#returnDlvyApplcAt');
|
||||
const exchngDlvyAmt = document.querySelector('#exchngDlvyAmt');
|
||||
fn_check_BoxControl(returnDlvyApplcAt,exchngDlvyAmt);
|
||||
|
||||
const returnDlvyApplcAt2 = document.querySelector('#returnDlvyApplcAt2');
|
||||
const exchngDlvyAmt2 = document.querySelector('#exchngDlvyAmt2');
|
||||
fn_check_BoxControl(returnDlvyApplcAt2,exchngDlvyAmt2);
|
||||
|
||||
if ($(".input-text.number").val() === '' || $(".input-text.number").val() == null) {
|
||||
$(".input-text.number").val('0');
|
||||
}
|
||||
@@ -59,14 +80,14 @@
|
||||
<h3 class="content-section__title">배송비</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>배송그룹 배송비</caption>
|
||||
<caption>배송그룹 배송비(KR)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>기본 배송비</th>
|
||||
<th>기본 배송비(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
@@ -80,18 +101,28 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조건(다중선택가능)</th>
|
||||
<th>조건(다중선택가능)(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="amtCndUseAt" name="amtCndUseAt" value="Y" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<input type="checkbox" id="amtCndUseAt" name="amtCndUseAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.amtCndUseAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.amtCndUseAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.amtCndAditAmt}' pattern="#,###" />" title="금액 조건" id="amtCndAditAmt" name="amtCndAditAmt" maxlength="13">
|
||||
</label>
|
||||
<span class="control-label">${curUnit} 이상일 때 무료배송</span>
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="cntCndUseAt" name="cntCndUseAt" value="Y" <c:if test="${ resultMap.dlvyGroup.cntCndUseAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<input type="checkbox" id="cntCndUseAt" name="cntCndUseAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.cntCndUseAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.cntCndUseAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.cntCndUseAt ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.cntCndAditAmt}' pattern="#,###" />" title="구매 개수 조건" id="cntCndAditAmt" name="cntCndAditAmt" maxlength="13">
|
||||
</label>
|
||||
@@ -101,7 +132,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">묶음배송</th>
|
||||
<th rowspan="2">묶음배송(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="custom-radio-container">
|
||||
@@ -144,7 +175,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역</th>
|
||||
<th rowspan="2">배송 권역(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
@@ -173,7 +204,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비</th>
|
||||
<th rowspan="2">반품배송비(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
@@ -184,7 +215,12 @@
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt" value="Y" <c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
@@ -205,4 +241,167 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>배송그룹 배송비(JP)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>기본 배송비(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
<input type="text" class="input-text sm right number"
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.dftDlvyAmt2}' pattern="#,###" />"
|
||||
title="기본배송비" name="dftDlvyAmt2" maxlength="13" >
|
||||
<span class="input-unit-text">${curUnit}</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>조건(다중선택가능)(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="amtCndUseAt2" name="amtCndUseAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.amtCndUseAt2 eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.amtCndUseAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt2 ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.amtCndAditAmt2}' pattern="#,###" />" title="금액 조건" id="amtCndAditAmt2" name="amtCndAditAmt2" maxlength="13">
|
||||
</label>
|
||||
<span class="control-label">${curUnit} 이상일 때 무료배송</span>
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="cntCndUseAt2" name="cntCndUseAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.cntCndUseAt2 eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.cntCndUseAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.cntCndUseAt2 ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.cntCndAditAmt2}' pattern="#,###" />" title="구매 개수 조건" id="cntCndAditAmt2" name="cntCndAditAmt2" maxlength="13">
|
||||
</label>
|
||||
<span class="control-label">개 이상일 때 무료배송</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">묶음배송(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="custom-radio-container">
|
||||
<div class="custom-radio">
|
||||
<input type="radio" id="bundleDlvyY2" name="bundleDlvyUseAt2" value="Y"
|
||||
<c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'Y' }">checked="checked"</c:if> <c:if test="${empty resultMap.dlvyGroup.bundleDlvyUseAt2}">checked="checked"</c:if> >
|
||||
<label for="bundleDlvyY2">사용함</label>
|
||||
</div>
|
||||
<div class="custom-radio">
|
||||
<input type="radio" id="bundleDlvyN2" name="bundleDlvyUseAt2" value="N"
|
||||
<c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'N' }">checked="checked"</c:if>>
|
||||
<label for="bundleDlvyN2">사용안함</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="td-inner vertical">
|
||||
<div class="input-container">
|
||||
<span class="mr-10">묶음배송 상품 금액 합이</span>
|
||||
<input type="text" class="input-text sm right number"
|
||||
<c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'N' }">disabled="disabled"</c:if>
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.bundleDlvyCndAmt2}' pattern="#,###" />"
|
||||
title="묶음배송 조건" id="bundleDlvyCndAmt2" name="bundleDlvyCndAmt2" maxlength="13">
|
||||
<span class="input-unit-text mr-8">${curUnit}</span>
|
||||
<span>이상일 때 무료배송</span>
|
||||
</div>
|
||||
<div class="gray-7">
|
||||
<p class="fyi">값을 1${curUnit} 이상 입력 하신 경우 설정이 가능 합니다.</p>
|
||||
<p class="fyi">묶음배송을 사용함으로 설정하신 상품의 경우에만 해당 조건이 적용됩니다.</p>
|
||||
<p class="fyi">묶음배송 상품이 아닌 경우, 상품별로 각각 배송비가 부과될 수 있습니다.</p>
|
||||
<p class="fyi">묶음배송 상품은 2개 이상 주문해야 무료배송 조건이 적용됩니다.</p>
|
||||
<p class="fyi">무료배송 처리된 묶음배송 상품이 있을 경우, 전체 묶음배송 상품이 무료배송 처리됩니다.
|
||||
</p>
|
||||
<p class="fyi">묶음배송 상품인 경우, 금액이 가장 높은 기본 배송비를 한 번만 부과합니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
<select title="배송권역 사용여부" id="dlvyAreaAditAt2" name="dlvyAreaAditAt2">
|
||||
<option value="N" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 ne 'Y' }">selected="selected"</c:if>>사용안함</option>
|
||||
<option value="Y" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 eq 'Y' }">selected="selected"</c:if>>2권역</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="td-inner vertical">
|
||||
<div class="input-container">
|
||||
<span class="mr-10 fw-500">도서산간지역 추가 배송비</span>
|
||||
<input type="text" class="input-text sm right number" id="areaAditDlvyAmt2"
|
||||
name="areaAditDlvyAmt2" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 ne 'Y' }">disabled="disabled"</c:if>
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.areaAditDlvyAmt2}' pattern="#,###" />"
|
||||
title="배송권역에 대한 추가 배송비" maxlength="13">
|
||||
<span class="input-unit-text mr-8">${curUnit}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
<span>편도 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.returnDlvyAmt2}' pattern="#,###" />" title="편도반품배송비" id="returnDlvyAmt2" name="returnDlvyAmt2" maxlength="13">
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt2" name="returnDlvyApplcAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt2 eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="input-container">
|
||||
<span>왕복 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.exchngDlvyAmt2}' pattern="#,###" />" title="왕복반품배송비" id="exchngDlvyAmt2" name="exchngDlvyAmt2" maxlength="13" <c:if test="${resultMap.dlvyGroup.returnDlvyApplcAt2 ne 'Y'}"> disabled="disabled" </c:if> >
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
@@ -134,12 +134,14 @@ since : 2023.11.28 전일찬 최초 생성11
|
||||
******************************************************** */
|
||||
const fn_check_BoxControl = function(checkbox, textbox) {
|
||||
$(checkbox).on('click', function(){
|
||||
let targetValue = checkbox.value;
|
||||
// let targetValue = checkbox.value;
|
||||
if(checkbox.checked == true){
|
||||
targetValue = 'Y';
|
||||
// targetValue = 'Y';
|
||||
checkbox.value = "Y";
|
||||
textbox.disabled = false;
|
||||
} else {
|
||||
targetValue = 'N';
|
||||
// targetValue = 'N';
|
||||
checkbox.value = "N";
|
||||
textbox.disabled = true;
|
||||
textbox.value= '0';
|
||||
}
|
||||
@@ -205,6 +207,46 @@ since : 2023.11.28 전일찬 최초 생성11
|
||||
$('#address').val(data.roadAddress);
|
||||
}
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
ibsnet api 호출
|
||||
***********************************************/
|
||||
const fn_select_postcodeJp = function (callback) {
|
||||
let postcode2 = $('#postcode2').val();
|
||||
if(postcode2 == ''){
|
||||
alert('우편번호를 입력하세요.');
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: 'https://zipcloud.ibsnet.co.jp/api/search?zipcode=' + $('#postcode2').val(),
|
||||
dataType: 'jsonp',
|
||||
success: function (data) {
|
||||
// console.log("status1:", data);
|
||||
if(data.status == 200) {
|
||||
let result = data.results[0];
|
||||
|
||||
let adres = result.address1;
|
||||
let dtlAdres = [result.address2, result.address3].join(" ");
|
||||
// let prefcode = result.prefcode;
|
||||
|
||||
$("#address2").val(adres);
|
||||
$("#detailAddress2").val(dtlAdres);
|
||||
// $("#prefcode").val(prefcode); // 도도부현코드
|
||||
} else {
|
||||
alert('주소 조회가 실패하였습니다. 정상적인 우편번호를 입력하세요.');
|
||||
}
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.log("status:", status);
|
||||
console.log("error:", error);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<body>
|
||||
|
||||
@@ -258,7 +300,7 @@ since : 2023.11.28 전일찬 최초 생성11
|
||||
<div id="PayDlvy" class="content-tab__content">
|
||||
</div>
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">반송지</h3>
|
||||
<h3 class="content-section__title">반송지(KR)</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
@@ -306,6 +348,55 @@ since : 2023.11.28 전일찬 최초 생성11
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">반송지(JP)</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>주소</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="address-group">
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">우편번호</span>
|
||||
<input type="text" class="input-text xsm mr-2" value=""
|
||||
title="반송지 우편번호" id="postcode2" name="rtnlcZip2">
|
||||
<button type="button" onclick="fn_select_postcodeJp(); return false;" class="address-line__find-btn">주소찾기</button>
|
||||
</div>
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">주소</span>
|
||||
<input type="text" class="input-text lg" value="" readonly
|
||||
title="반송지 주소" id="address2" name="rtnlcAdres2">
|
||||
</div>
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">상세주소</span>
|
||||
<input type="text" class="input-text md" value="" maxlength="35"
|
||||
title="반송지 상세주소" id="detailAddress2" name="rtnlcDtlAdres2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>전화번호</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="phone-container">
|
||||
<input type="text" class="input-text sm phone" value=""
|
||||
title="전화번호" id="rtnlcTelnb2" maxlength="13" name="rtnlcTelnb2">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</div>
|
||||
<button class="scroll-to-top"><span class="visually-hidden">위로가기</span></button>
|
||||
|
||||
@@ -122,6 +122,45 @@
|
||||
}
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
ibsnet api 호출
|
||||
***********************************************/
|
||||
const fn_select_postcodeJp = function (callback) {
|
||||
let postcode2 = $('#postcode2').val();
|
||||
if(postcode2 == ''){
|
||||
alert('우편번호를 입력하세요.');
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: 'https://zipcloud.ibsnet.co.jp/api/search?zipcode=' + $('#postcode2').val(),
|
||||
dataType: 'jsonp',
|
||||
success: function (data) {
|
||||
// console.log("status1:", data);
|
||||
if(data.status == 200) {
|
||||
let result = data.results[0];
|
||||
|
||||
let adres = result.address1;
|
||||
let dtlAdres = [result.address2, result.address3].join(" ");
|
||||
// let prefcode = result.prefcode;
|
||||
|
||||
$("#address2").val(adres);
|
||||
$("#detailAddress2").val(dtlAdres);
|
||||
// $("#prefcode").val(prefcode); // 도도부현코드
|
||||
} else {
|
||||
alert('주소 조회가 실패하였습니다. 정상적인 우편번호를 입력하세요.');
|
||||
}
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.log("status:", status);
|
||||
console.log("error:", error);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* ********************************************************
|
||||
* 배송권역 변경 시 value 값 변경
|
||||
******************************************************** */
|
||||
@@ -157,12 +196,14 @@
|
||||
******************************************************** */
|
||||
const fn_check_BoxControl = function(checkbox, textbox) {
|
||||
$(checkbox).on('click', function(){
|
||||
let targetValue = checkbox.value;
|
||||
// let targetValue = checkbox.value;
|
||||
if(checkbox.checked == true){
|
||||
targetValue = "Y";
|
||||
// targetValue = "Y";
|
||||
checkbox.value = "Y";
|
||||
textbox.disabled = false;
|
||||
} else {
|
||||
targetValue = "N";
|
||||
// targetValue = "N";
|
||||
checkbox.value = "N";
|
||||
textbox.disabled = true;
|
||||
textbox.value= '0';
|
||||
}
|
||||
@@ -227,6 +268,7 @@
|
||||
<form id="DlvyForm" method="post" action="/mngr/setup/dlvygrp/updateDlvyGroupDtl">
|
||||
<input type="hidden" id="dlvyGroupInnb" name="dlvyGroupInnb" value="<c:out value="${resultMap.dlvyGroup.dlvyGroupInnb}"/>"/>
|
||||
<input type="hidden" id="rtnlcInnb" name="rtnlcInnb" value="<c:out value="${resultMap.dlvyGroup.rtnlcInnb}"/>"/>
|
||||
<input type="hidden" id="rtnlcInnb2" name="rtnlcInnb2" value="<c:out value="${resultMap.dlvyGroup.rtnlcInnb2}"/>"/>
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">배송그룹명</h3>
|
||||
<div class="table-wrapper">
|
||||
@@ -256,7 +298,7 @@
|
||||
<div id="PayDlvy" class="content-tab__content">
|
||||
</div>
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">반송지</h3>
|
||||
<h3 class="content-section__title">반송지(KR)</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
@@ -300,6 +342,51 @@
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">반송지(JP)</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>주소</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="address-group">
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">우편번호</span>
|
||||
<input type="text" class="input-text xsm mr-2" value="<c:out value="${resultMap.dlvyGroup.rtnlcZip2}"/>" title="반송지 우편번호" id="rtnlcZip2" name="rtnlcZip2">
|
||||
<button type="button" onclick="fn_select_postcodeJp(); return false;" class="address-line__find-btn">주소찾기</button>
|
||||
</div>
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">주소</span>
|
||||
<input type="text" class="input-text lg" value="<c:out value="${resultMap.dlvyGroup.rtnlcAdres2}"/>" title="반송지 주소" id="rtnlcAdres2" name="rtnlcAdres2">
|
||||
</div>
|
||||
<div class="address-line">
|
||||
<span class="address-line__title">상세주소</span>
|
||||
<input type="text" class="input-text md" value="<c:out value="${resultMap.dlvyGroup.rtnlcDtlAdres2}"/>" maxlength="35" title="반송지 상세주소" id="rtnlcDtlAdres2" name="rtnlcDtlAdres2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>전화번호</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="phone-container">
|
||||
<input type="text" class="input-text m phone" value="<c:out value="${resultMap.dlvyGroup.rtnlcTelnb2}"/>" title="전화번호" id="rtnlcTelnb2" maxlength="13" name="rtnlcTelnb2">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</div>
|
||||
<button class="scroll-to-top"><span class="visually-hidden">위로가기</span></button>
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
const areaAditDlvyAmt = document.querySelector('#areaAditDlvyAmt');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt, areaAditDlvyAmt);
|
||||
|
||||
const dlvyAreaAditAt2 = document.querySelector('#dlvyAreaAditAt2');
|
||||
const areaAditDlvyAmt2 = document.querySelector('#areaAditDlvyAmt2');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt2, areaAditDlvyAmt2);
|
||||
|
||||
if ($(".input-text.number").val() === '' || $(".input-text.number").val() == null) {
|
||||
$(".input-text.number").val('0');
|
||||
}
|
||||
@@ -34,6 +38,10 @@
|
||||
const returnDlvyApplcAt = document.querySelector('#returnDlvyApplcAt');
|
||||
const exchngDlvyAmt = document.querySelector('#exchngDlvyAmt');
|
||||
fn_check_BoxControl(returnDlvyApplcAt,exchngDlvyAmt);
|
||||
|
||||
const returnDlvyApplcAt2 = document.querySelector('#returnDlvyApplcAt2');
|
||||
const exchngDlvyAmt2 = document.querySelector('#exchngDlvyAmt2');
|
||||
fn_check_BoxControl(returnDlvyApplcAt2,exchngDlvyAmt2);
|
||||
});
|
||||
</script>
|
||||
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
|
||||
@@ -42,14 +50,14 @@
|
||||
<h3 class="content-section__title">배송비</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>배송그룹 배송비</caption>
|
||||
<caption>배송그룹 배송비(KR)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역</th>
|
||||
<th rowspan="2">배송 권역(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
@@ -78,7 +86,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비</th>
|
||||
<th rowspan="2">반품배송비(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
@@ -89,7 +97,12 @@
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt" value="Y" <c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
@@ -110,4 +123,79 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>배송그룹 배송비(JP)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
<select title="배송권역 사용여부" id="dlvyAreaAditAt2" name="dlvyAreaAditAt2">
|
||||
<option value="N" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 ne 'Y' }">selected="selected"</c:if>>사용안함</option>
|
||||
<option value="Y" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 eq 'Y' }">selected="selected"</c:if>>2권역</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="td-inner vertical">
|
||||
<div class="input-container">
|
||||
<span class="mr-10 fw-500">도서산간지역 추가 배송비</span>
|
||||
<input type="text" class="input-text sm right number" id="areaAditDlvyAmt2"
|
||||
name="areaAditDlvyAmt2" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt ne 'Y' }">disabled="disabled"</c:if>
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.areaAditDlvyAmt}' pattern="#,###" />"
|
||||
title="배송권역에 대한 추가 배송비" maxlength="13">
|
||||
<span class="input-unit-text mr-8">${curUnit}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
<span>편도 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.returnDlvyAmt2}' pattern="#,###" />" title="편도반품배송비" id="returnDlvyAmt2" name="returnDlvyAmt2" maxlength="13">
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt2" name="returnDlvyApplcAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="input-container">
|
||||
<span>왕복 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.exchngDlvyAmt2}' pattern="#,###" />" title="왕복반품배송비" id="exchngDlvyAmt2" name="exchngDlvyAmt2" maxlength="13" <c:if test="${resultMap.dlvyGroup.returnDlvyApplcAt2 ne 'Y'}"> disabled="disabled" </c:if> >
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
@@ -14,25 +14,63 @@
|
||||
--%>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
/** 배송권역 셀렉트박스 컨트롤 */
|
||||
const dlvyAreaAditAt1 = document.querySelector('#dlvyAreaAditAt');
|
||||
const areaAditDlvyAmt1 = document.querySelector('#areaAditDlvyAmt');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt1, areaAditDlvyAmt1);
|
||||
/** 유료배송 조건 체크박스 컨트롤 */
|
||||
// const amtCndUseAt = document.querySelector('#amtCndUseAt');
|
||||
// const amtCndAditAmt = document.querySelector('#amtCndAditAmt');
|
||||
const cntCndUseAt = document.querySelector('#cntCndUseAt');
|
||||
const cntCndAditAmt = document.querySelector('#cntCndAditAmt');
|
||||
// fn_check_BoxControl(amtCndUseAt,amtCndAditAmt);
|
||||
fn_check_BoxControl(cntCndUseAt,cntCndAditAmt);
|
||||
|
||||
// const amtCndUseAt2 = document.querySelector('#amtCndUseAt2');
|
||||
// const amtCndAditAmt2 = document.querySelector('#amtCndAditAmt2');
|
||||
const cntCndUseAt2 = document.querySelector('#cntCndUseAt2');
|
||||
const cntCndAditAmt2 = document.querySelector('#cntCndAditAmt2');
|
||||
// fn_check_BoxControl(amtCndUseAt2,amtCndAditAmt2);
|
||||
fn_check_BoxControl(cntCndUseAt2,cntCndAditAmt2);
|
||||
|
||||
/** 묶음배송 체크박스 컨트롤 */
|
||||
// const bundleDlvyY = document.querySelector('#bundleDlvyY');
|
||||
// const bundleDlvyN = document.querySelector('#bundleDlvyN');
|
||||
// const bundleDlvyCndAmt = document.querySelector('#bundleDlvyCndAmt');
|
||||
// fn_click_bundleDlvy(bundleDlvyY, bundleDlvyCndAmt);
|
||||
// fn_click_bundleDlvy(bundleDlvyN, bundleDlvyCndAmt);
|
||||
//
|
||||
// const bundleDlvyY2 = document.querySelector('#bundleDlvyY2');
|
||||
// const bundleDlvyN2 = document.querySelector('#bundleDlvyN2');
|
||||
// const bundleDlvyCndAmt2 = document.querySelector('#bundleDlvyCndAmt2');
|
||||
// fn_click_bundleDlvy(bundleDlvyY2, bundleDlvyCndAmt2);
|
||||
// fn_click_bundleDlvy(bundleDlvyN2, bundleDlvyCndAmt2);
|
||||
|
||||
/** 배송권역 셀렉트박스 컨트롤 */
|
||||
const dlvyAreaAditAt1 = document.querySelector('#dlvyAreaAditAt');
|
||||
const areaAditDlvyAmt1 = document.querySelector('#areaAditDlvyAmt');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt1, areaAditDlvyAmt1);
|
||||
|
||||
const dlvyAreaAditAt2 = document.querySelector('#dlvyAreaAditAt2');
|
||||
const areaAditDlvyAmt2 = document.querySelector('#areaAditDlvyAmt2');
|
||||
fn_change_dlvyArea(dlvyAreaAditAt2, areaAditDlvyAmt2);
|
||||
|
||||
//왕복 여부 체크박스 컨트롤
|
||||
const returnDlvyApplcAt = document.querySelector('#returnDlvyApplcAt');
|
||||
const exchngDlvyAmt = document.querySelector('#exchngDlvyAmt');
|
||||
fn_check_BoxControl(returnDlvyApplcAt,exchngDlvyAmt);
|
||||
|
||||
const returnDlvyApplcAt2 = document.querySelector('#returnDlvyApplcAt2');
|
||||
const exchngDlvyAmt2 = document.querySelector('#exchngDlvyAmt2');
|
||||
fn_check_BoxControl(returnDlvyApplcAt2,exchngDlvyAmt2);
|
||||
|
||||
if ($(".input-text.number").val() === '' || $(".input-text.number").val() == null) {
|
||||
$(".input-text.number").val('0');
|
||||
}
|
||||
|
||||
$(".input-text.number").on("focus", function () {
|
||||
|
||||
if ($(this).val() === '0') {
|
||||
$(this).val('');
|
||||
}
|
||||
});
|
||||
|
||||
//왕복 여부 체크박스 컨트롤
|
||||
const returnDlvyApplcAt = document.querySelector('#returnDlvyApplcAt');
|
||||
const exchngDlvyAmt = document.querySelector('#exchngDlvyAmt');
|
||||
fn_check_BoxControl(returnDlvyApplcAt,exchngDlvyAmt);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
|
||||
@@ -41,14 +79,14 @@
|
||||
<h3 class="content-section__title">배송비</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<caption>배송그룹 배송비(KR)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>기본 배송비</th>
|
||||
<th>기본 배송비(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
@@ -60,8 +98,85 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역</th>
|
||||
<tr>
|
||||
<th>개별배송조건(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="td-inner vertical">
|
||||
<div class="b-checkbox-container">
|
||||
<%-- <label class="b-checkbox checkbox">--%>
|
||||
<%-- <input type="checkbox" id="amtCndUseAt" name="amtCndUseAt" value="Y" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt eq 'Y' }">checked="checked"</c:if>>--%>
|
||||
<%-- <span style="margin-right: 5px;" class="check"></span>--%>
|
||||
<%-- <input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.amtCndAditAmt}' pattern="#,###" />" title="금액 조건" id="amtCndAditAmt" name="amtCndAditAmt" maxlength="13">--%>
|
||||
<%-- </label>--%>
|
||||
<%-- <span class="control-label">${curUnit} 이상일 때 무료배송</span>--%>
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="cntCndUseAt" name="cntCndUseAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.cntCndUseAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.cntCndUseAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.cntCndUseAt ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.cntCndAditAmt}' pattern="#,###" />" title="구매 개수 조건" id="cntCndAditAmt" name="cntCndAditAmt" maxlength="13">
|
||||
</label>
|
||||
<span class="control-label">개 단위로 유료배송비 추가</span>
|
||||
</div>
|
||||
<div class="gray-7">
|
||||
<p class="fyi">값을 1개 이상 입력 하신 경우 설정이 가능 합니다.</p>
|
||||
<p class="fyi">설정한 개수의 배수로 배송비가 부과됩니다.</p>
|
||||
<p class="fyi">설정하지 않을 경우, 같은 상품은 개수와 상관없이 배송비를 한 번만 부과합니다.</p>
|
||||
<p class="fyi">무료배송, 묶음배송 상품과 별도로 배송비가 적용됩니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<%-- <tr>--%>
|
||||
<%-- <th rowspan="2">묶음배송(KR)</th>--%>
|
||||
<%-- <td>--%>
|
||||
<%-- <div class="td-inner">--%>
|
||||
<%-- <div class="custom-radio-container">--%>
|
||||
<%-- <div class="custom-radio">--%>
|
||||
<%-- <input type="radio" id="bundleDlvyY" name="bundleDlvyUseAt" value="Y"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt eq 'Y' }">checked="checked"</c:if> >--%>
|
||||
<%-- <label for="bundleDlvyY">사용함</label>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- <div class="custom-radio">--%>
|
||||
<%-- <input type="radio" id="bundleDlvyN" name="bundleDlvyUseAt" value="N"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt eq 'N' }">checked="checked"</c:if> <c:if test="${empty resultMap.dlvyGroup.bundleDlvyUseAt}">checked="checked"</c:if> >--%>
|
||||
<%-- <label for="bundleDlvyN">사용안함</label>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td>--%>
|
||||
<%-- <div class="td-inner vertical">--%>
|
||||
<%-- <div class="input-container">--%>
|
||||
<%-- <span class="mr-10">묶음배송 상품 금액 합이</span>--%>
|
||||
<%-- <input type="text" class="input-text sm right number"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt eq 'N' }">disabled="disabled"</c:if>--%>
|
||||
<%-- value="<fmt:formatNumber value='${resultMap.dlvyGroup.bundleDlvyCndAmt}' pattern="#,###" />"--%>
|
||||
<%-- title="묶음배송 조건" id="bundleDlvyCndAmt" name="bundleDlvyCndAmt" maxlength="13">--%>
|
||||
<%-- <span class="input-unit-text mr-8">${curUnit}</span>--%>
|
||||
<%-- <span>이상일 때 무료배송</span>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- <div class="gray-7">--%>
|
||||
<%-- <p class="fyi">값을 1${curUnit} 이상 입력 하신 경우 설정이 가능 합니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송을 사용함으로 설정하신 상품의 경우에만 해당 조건이 적용됩니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품이 아닌 경우, 상품별로 각각 배송비가 부과될 수 있습니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품은 2개 이상 주문해야 무료배송 조건이 적용됩니다.</p>--%>
|
||||
<%-- <p class="fyi">무료배송 처리된 묶음배송 상품이 있을 경우, 전체 묶음배송 상품이 무료배송 처리됩니다.--%>
|
||||
<%-- </p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품인 경우, 금액이 가장 높은 기본 배송비를 한 번만 부과합니다.</p>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<th rowspan="2">배송 권역(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
@@ -90,7 +205,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비</th>
|
||||
<th rowspan="2">반품배송비(KR)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
@@ -101,7 +216,12 @@
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt" value="Y" <c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<input type="checkbox" id="returnDlvyApplcAt" name="returnDlvyApplcAt"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
@@ -121,5 +241,170 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>배송그룹 배송비(JP)</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>기본 배송비(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
<input type="text" class="input-text sm right number"
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.dftDlvyAmt2}' pattern="#,###" />"
|
||||
title="기본배송비" name="dftDlvyAmt2" maxlength="10">
|
||||
<span class="input-unit-text">${curUnit}</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>개별배송조건(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="td-inner vertical">
|
||||
<div class="b-checkbox-container">
|
||||
<%-- <label class="b-checkbox checkbox">--%>
|
||||
<%-- <input type="checkbox" id="amtCndUseAt2" name="amtCndUseAt2" value="Y" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt2 eq 'Y' }">checked="checked"</c:if>>--%>
|
||||
<%-- <span style="margin-right: 5px;" class="check"></span>--%>
|
||||
<%-- <input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.amtCndUseAt2 ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.amtCndAditAmt2}' pattern="#,###" />" title="금액 조건" id="amtCndAditAmt2" name="amtCndAditAmt2" maxlength="13">--%>
|
||||
<%-- </label>--%>
|
||||
<%-- <span class="control-label">${curUnit} 이상일 때 무료배송</span>--%>
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="cntCndUseAt2" name="cntCndUseAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.cntCndUseAt2 eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.cntCndUseAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
<input type="text" class="input-text sm right number" <c:if test="${ resultMap.dlvyGroup.cntCndUseAt2 ne 'Y' }">disabled="disabled"</c:if> value="<fmt:formatNumber value='${resultMap.dlvyGroup.cntCndAditAmt2}' pattern="#,###" />" title="구매 개수 조건" id="cntCndAditAmt2" name="cntCndAditAmt2" maxlength="13">
|
||||
</label>
|
||||
<span class="control-label">개 단위로 유료배송비 추가</span>
|
||||
</div>
|
||||
<div class="gray-7">
|
||||
<p class="fyi">값을 1개 이상 입력 하신 경우 설정이 가능 합니다.</p>
|
||||
<p class="fyi">설정한 개수의 배수로 배송비가 부과됩니다.</p>
|
||||
<p class="fyi">설정하지 않을 경우, 같은 상품은 개수와 상관없이 배송비를 한 번만 부과합니다.</p>
|
||||
<p class="fyi">무료배송, 묶음배송 상품과 별도로 배송비가 적용됩니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<%-- <tr>--%>
|
||||
<%-- <th rowspan="2">묶음배송(JP)</th>--%>
|
||||
<%-- <td>--%>
|
||||
<%-- <div class="td-inner">--%>
|
||||
<%-- <div class="custom-radio-container">--%>
|
||||
<%-- <div class="custom-radio">--%>
|
||||
<%-- <input type="radio" id="bundleDlvyY2" name="bundleDlvyUseAt2" value="Y"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'Y' }">checked="checked"</c:if> >--%>
|
||||
<%-- <label for="bundleDlvyY2">사용함</label>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- <div class="custom-radio">--%>
|
||||
<%-- <input type="radio" id="bundleDlvyN2" name="bundleDlvyUseAt2" value="N"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'N' }">checked="checked"</c:if> <c:if test="${empty resultMap.dlvyGroup.bundleDlvyUseAt2}">checked="checked"</c:if> >--%>
|
||||
<%-- <label for="bundleDlvyN2">사용안함</label>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td>--%>
|
||||
<%-- <div class="td-inner vertical">--%>
|
||||
<%-- <div class="input-container">--%>
|
||||
<%-- <span class="mr-10">묶음배송 상품 금액 합이</span>--%>
|
||||
<%-- <input type="text" class="input-text sm right number"--%>
|
||||
<%-- <c:if test="${resultMap.dlvyGroup.bundleDlvyUseAt2 eq 'N' }">disabled="disabled"</c:if>--%>
|
||||
<%-- value="<fmt:formatNumber value='${resultMap.dlvyGroup.bundleDlvyCndAmt2}' pattern="#,###" />"--%>
|
||||
<%-- title="묶음배송 조건" id="bundleDlvyCndAmt2" name="bundleDlvyCndAmt2" maxlength="13">--%>
|
||||
<%-- <span class="input-unit-text mr-8">${curUnit}</span>--%>
|
||||
<%-- <span>이상일 때 무료배송</span>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- <div class="gray-7">--%>
|
||||
<%-- <p class="fyi">값을 1${curUnit} 이상 입력 하신 경우 설정이 가능 합니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송을 사용함으로 설정하신 상품의 경우에만 해당 조건이 적용됩니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품이 아닌 경우, 상품별로 각각 배송비가 부과될 수 있습니다.</p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품은 2개 이상 주문해야 무료배송 조건이 적용됩니다.</p>--%>
|
||||
<%-- <p class="fyi">무료배송 처리된 묶음배송 상품이 있을 경우, 전체 묶음배송 상품이 무료배송 처리됩니다.--%>
|
||||
<%-- </p>--%>
|
||||
<%-- <p class="fyi">묶음배송 상품인 경우, 금액이 가장 높은 기본 배송비를 한 번만 부과합니다.</p>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </td>--%>
|
||||
<%-- </tr>--%>
|
||||
<tr>
|
||||
<th rowspan="2">배송 권역(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
<select title="배송권역 사용여부" id="dlvyAreaAditAt2" name="dlvyAreaAditAt2">
|
||||
<option value="N" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 ne 'Y' }">selected="selected"</c:if>>사용안함</option>
|
||||
<option value="Y" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 eq 'Y' }">selected="selected"</c:if>>2권역</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="td-inner vertical">
|
||||
<div class="input-container">
|
||||
<span class="mr-10 fw-500">도서산간지역 추가 배송비</span>
|
||||
<input type="text" class="input-text sm right number" id="areaAditDlvyAmt2"
|
||||
name="areaAditDlvyAmt2" <c:if test="${ resultMap.dlvyGroup.dlvyAreaAditAt2 ne 'Y' }">disabled="disabled"</c:if>
|
||||
value="<fmt:formatNumber value='${resultMap.dlvyGroup.areaAditDlvyAmt2}' pattern="#,###" />"
|
||||
title="배송권역에 대한 추가 배송비" maxlength="13">
|
||||
<span class="input-unit-text mr-8">${curUnit}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">반품배송비(JP)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="input-container">
|
||||
<span>편도 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.returnDlvyAmt2}' pattern="#,###" />" title="편도반품배송비" id="returnDlvyAmt2" name="returnDlvyAmt2" maxlength="13">
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
<div class="b-checkbox-container">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="returnDlvyApplcAt2" name="returnDlvyApplcAt2"
|
||||
<c:choose>
|
||||
<c:when test="${ resultMap.dlvyGroup.returnDlvyApplcAt2 eq 'Y' }"> value="Y" </c:when>
|
||||
<c:otherwise> value="N" </c:otherwise>
|
||||
</c:choose>
|
||||
<c:if test="${ resultMap.dlvyGroup.returnDlvyApplcAt2 eq 'Y' }">checked="checked"</c:if>>
|
||||
<span style="margin-right: 5px;" class="check"></span>
|
||||
</label>
|
||||
<span class="control-label">왕복 여부</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="input-container">
|
||||
<span>왕복 :
|
||||
<input type="text" class="input-text sm right number" value="<fmt:formatNumber value='${resultMap.dlvyGroup.exchngDlvyAmt2}' pattern="#,###" />" title="왕복반품배송비" id="exchngDlvyAmt2" name="exchngDlvyAmt2" maxlength="13" <c:if test="${resultMap.dlvyGroup.returnDlvyApplcAt2 ne 'Y'}"> disabled="disabled" </c:if> >
|
||||
${curUnit}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user