|
@@ -159,7 +159,7 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td rowspan="9"> </td>
|
|
|
|
|
|
|
+ <td rowspan="10"> </td>
|
|
|
<th>시즌<em class="required" title="필수"></em></th>
|
|
<th>시즌<em class="required" title="필수"></em></th>
|
|
|
<td >
|
|
<td >
|
|
|
<select name="seasonCd" id="seasonCd">
|
|
<select name="seasonCd" id="seasonCd">
|
|
@@ -207,9 +207,14 @@
|
|
|
</select>
|
|
</select>
|
|
|
<input type="hidden" id="ageGrpCdOrg" name="ageGrpCdOrg"/>
|
|
<input type="hidden" id="ageGrpCdOrg" name="ageGrpCdOrg"/>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+ <th>선물 주문가능여부<em class="required" title="필수"></em></th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="giftPackYn" id="giftPackYnY" value="Y" />Y</label>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="giftPackYn" id="giftPackYnN" value="N"/>N</label>
|
|
|
|
|
+ <input type="hidden" id="giftPackYnOrg" name="giftPackYnOrg"/>
|
|
|
|
|
+ </td>
|
|
|
<th>가격변경일</th>
|
|
<th>가격변경일</th>
|
|
|
<td><span id="priceUpdDtTxt"></span></td>
|
|
<td><span id="priceUpdDtTxt"></span></td>
|
|
|
- <td colspan="2"></td>
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>정상가</th>
|
|
<th>정상가</th>
|
|
@@ -230,16 +235,18 @@
|
|
|
<td><input type="text" class="w80p aR" id="sellFeeRate" name="sellFeeRate" maxlength="10" data-valid-type="numeric"/> %
|
|
<td><input type="text" class="w80p aR" id="sellFeeRate" name="sellFeeRate" maxlength="10" data-valid-type="numeric"/> %
|
|
|
<input type="hidden" id="sellFeeRateOrg" name="sellFeeRateOrg"/>
|
|
<input type="hidden" id="sellFeeRateOrg" name="sellFeeRateOrg"/>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>반품여부<em class="required" title="필수"></em></th>
|
|
|
|
|
|
|
+ <th>과세구분</th>
|
|
|
<td>
|
|
<td>
|
|
|
- <label class="rdoBtn"><input type="radio" name="returnableYn" id="returnableYnY" value="Y" />Y</label>
|
|
|
|
|
- <label class="rdoBtn"><input type="radio" name="returnableYn" id="returnableYnN" value="N"/>N</label>
|
|
|
|
|
- <input type="hidden" id="returnableYnOrg" name="returnableYnOrg"/>
|
|
|
|
|
|
|
+ <select name="taxGb" disabled="disabled">
|
|
|
|
|
+ <option value="">[선택]</option>
|
|
|
|
|
+ <option value="10">과세</option>
|
|
|
|
|
+ <option value="20">비과세</option>
|
|
|
|
|
+ </select>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>품목코드<em class="required" title="필수"></em></th>
|
|
<th>품목코드<em class="required" title="필수"></em></th>
|
|
|
- <td colspan="3">
|
|
|
|
|
|
|
+ <td colspan="5">
|
|
|
<select name="itemkindCd" id="itemkindCd" th:disabled="${sessionInfo.roleCd != 'G001_B000'}">
|
|
<select name="itemkindCd" id="itemkindCd" th:disabled="${sessionInfo.roleCd != 'G001_B000'}">
|
|
|
<option th:if="${itemkindList}" th:each="oneData, status : ${itemkindList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
<option th:if="${itemkindList}" th:each="oneData, status : ${itemkindList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
@@ -248,13 +255,26 @@
|
|
|
<button type="button" class="btn btn-success btn-lg" id="btnGoodsItemkindChange">품목변경</button>
|
|
<button type="button" class="btn btn-success btn-lg" id="btnGoodsItemkindChange">품목변경</button>
|
|
|
</th:block>
|
|
</th:block>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>과세구분</th>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>반품여부<em class="required" title="필수"></em></th>
|
|
|
<td>
|
|
<td>
|
|
|
- <select name="taxGb" disabled="disabled">
|
|
|
|
|
- <option value="">[선택]</option>
|
|
|
|
|
- <option value="10">과세</option>
|
|
|
|
|
- <option value="20">비과세</option>
|
|
|
|
|
- </select>
|
|
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="returnableYn" id="returnableYnY" value="Y" />Y</label>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="returnableYn" id="returnableYnN" value="N"/>N</label>
|
|
|
|
|
+ <input type="hidden" id="returnableYnOrg" name="returnableYnOrg"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>교환여부<em class="required" title="필수"></em></th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="changeableYn" id="changeableYnY" value="Y" />Y</label>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="changeableYn" id="changeableYnN" value="N"/>N</label>
|
|
|
|
|
+ <input type="hidden" id="changeableYnOrg" name="changeableYnOrg"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>신규가입구매가입여부<em class="required" title="필수"></em></th>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="newCustOrdYn" id="newCustOrdYnY" value="Y" />Y</label>
|
|
|
|
|
+ <label class="rdoBtn"><input type="radio" name="newCustOrdYn" id="newCustOrdYnN" value="N"/>N</label>
|
|
|
|
|
+ <input type="hidden" id="newCustOrdYnOrg" name="newCustOrdYnOrg"/>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
@@ -604,7 +624,7 @@
|
|
|
$('#goodsDetailForm').find('#listPriceTxt').html(result.listPrice.addComma());
|
|
$('#goodsDetailForm').find('#listPriceTxt').html(result.listPrice.addComma());
|
|
|
$('#goodsDetailForm input[name=listPrice]').val(result.listPrice);
|
|
$('#goodsDetailForm input[name=listPrice]').val(result.listPrice);
|
|
|
$('#goodsDetailForm input[name=currPrice]').val(result.currPrice.addComma());
|
|
$('#goodsDetailForm input[name=currPrice]').val(result.currPrice.addComma());
|
|
|
- $('#goodsDetailForm input[name=currPriceOrg]').val(result.currPrice);
|
|
|
|
|
|
|
+ $('#goodsDetailForm input[name=currPriceOrg]').val(result.currPrice);debugger;
|
|
|
$('#goodsDetailForm').find('#dcRateTxt').html(result.dcRate);
|
|
$('#goodsDetailForm').find('#dcRateTxt').html(result.dcRate);
|
|
|
$('#goodsDetailForm input[name=dcRate]').val(result.dcRate);
|
|
$('#goodsDetailForm input[name=dcRate]').val(result.dcRate);
|
|
|
$('#goodsDetailForm').find('#priceUpdDtTxt').html(!gagajf.isNull(result.priceUpdDt) ? result.priceUpdDt.toDate("YYYYMMDDHHmmss").format("YYYY-MM-DD") : '');
|
|
$('#goodsDetailForm').find('#priceUpdDtTxt').html(!gagajf.isNull(result.priceUpdDt) ? result.priceUpdDt.toDate("YYYYMMDDHHmmss").format("YYYY-MM-DD") : '');
|
|
@@ -639,7 +659,6 @@
|
|
|
}else{
|
|
}else{
|
|
|
$("#goodsDetailForm input:radio[name=returnableYn]:input[value='N']").trigger('click');
|
|
$("#goodsDetailForm input:radio[name=returnableYn]:input[value='N']").trigger('click');
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
$('#goodsDetailForm input[name=sellFeeRate]').val(result.sellFeeRate);
|
|
$('#goodsDetailForm input[name=sellFeeRate]').val(result.sellFeeRate);
|
|
|
$("#goodsDetailForm input[name=sellFeeRateOrg]").val(result.sellFeeRate);
|
|
$("#goodsDetailForm input[name=sellFeeRateOrg]").val(result.sellFeeRate);
|
|
|
|
|
|
|
@@ -658,14 +677,26 @@
|
|
|
}else{
|
|
}else{
|
|
|
$("#goodsDetailForm input:radio[name=changeableYn]:input[value='N']").trigger('click');
|
|
$("#goodsDetailForm input:radio[name=changeableYn]:input[value='N']").trigger('click');
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if (result.giftPackYn == "Y"){
|
|
|
|
|
+ $("#goodsDetailForm input:radio[name=giftPackYn]:input[value='Y']").trigger('click');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $("#goodsDetailForm input:radio[name=giftPackYn]:input[value='N']").trigger('click');
|
|
|
|
|
+ }
|
|
|
|
|
+ if (result.newCustOrdYn == "Y"){
|
|
|
|
|
+ $("#goodsDetailForm input:radio[name=newCustOrdYn]:input[value='Y']").trigger('click');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $("#goodsDetailForm input:radio[name=newCustOrdYn]:input[value='N']").trigger('click');
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
$("#goodsDetailForm input[name=formalGbOrg]").val(result.formalGb);
|
|
$("#goodsDetailForm input[name=formalGbOrg]").val(result.formalGb);
|
|
|
$("#goodsDetailForm input[name=erpPriceLinkYnOrg]").val(result.erpPriceLinkYn);
|
|
$("#goodsDetailForm input[name=erpPriceLinkYnOrg]").val(result.erpPriceLinkYn);
|
|
|
$("#goodsDetailForm input[name=selfMallYnOrg]").val(result.selfMallYn);
|
|
$("#goodsDetailForm input[name=selfMallYnOrg]").val(result.selfMallYn);
|
|
|
|
|
+ $("#goodsDetailForm input[name=giftPackYnOrg]").val(result.giftPackYn);
|
|
|
$("#goodsDetailForm input[name=prePpntUsableYnOrg]").val(result.prePpntUsableYn);
|
|
$("#goodsDetailForm input[name=prePpntUsableYnOrg]").val(result.prePpntUsableYn);
|
|
|
$("#goodsDetailForm input[name=preMpntUsableYnOrg]").val(result.preMpntUsableYn);
|
|
$("#goodsDetailForm input[name=preMpntUsableYnOrg]").val(result.preMpntUsableYn);
|
|
|
$("#goodsDetailForm input[name=changeableYnOrg]").val(result.changeableYn);
|
|
$("#goodsDetailForm input[name=changeableYnOrg]").val(result.changeableYn);
|
|
|
$("#goodsDetailForm input[name=returnableYnOrg]").val(result.returnableYn);
|
|
$("#goodsDetailForm input[name=returnableYnOrg]").val(result.returnableYn);
|
|
|
|
|
+ $("#goodsDetailForm input[name=newCustOrdYnOrg]").val(result.newCustOrdYn);
|
|
|
|
|
|
|
|
$("#goodsDetailForm input[type=radio][checked]").addClass("checked");
|
|
$("#goodsDetailForm input[type=radio][checked]").addClass("checked");
|
|
|
//$("#goodsDetailForm input[type=radio][checked]").parent("label").addClass("checked");
|
|
//$("#goodsDetailForm input[type=radio][checked]").parent("label").addClass("checked");
|
|
@@ -1561,7 +1592,6 @@
|
|
|
if ($("#goodsDetailForm input[name=currPriceOrg]").val() != $("#goodsDetailForm input[name=currPrice]").val().removeComma()){
|
|
if ($("#goodsDetailForm input[name=currPriceOrg]").val() != $("#goodsDetailForm input[name=currPrice]").val().removeComma()){
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
//자사 일반상품만
|
|
//자사 일반상품만
|
|
|
if($("#goodsDetailForm input[name=selfGoodsYn]").val() == 'Y' && $("#goodsDetailForm input[name=goodType]").val() == 'G056_N'){
|
|
if($("#goodsDetailForm input[name=selfGoodsYn]").val() == 'Y' && $("#goodsDetailForm input[name=goodType]").val() == 'G056_N'){
|
|
|
//ERP재고연동여부
|
|
//ERP재고연동여부
|
|
@@ -1569,7 +1599,6 @@
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
//자사몰 노출여부
|
|
//자사몰 노출여부
|
|
|
if ($("#goodsDetailForm input[name=selfMallYnOrg]").val() != $("input[name=selfMallYn]:checked").val()){
|
|
if ($("#goodsDetailForm input[name=selfMallYnOrg]").val() != $("input[name=selfMallYn]:checked").val()){
|
|
|
return true;
|
|
return true;
|
|
@@ -1626,6 +1655,19 @@
|
|
|
if ($("#goodsDetailForm input[name=delvFeeCdOrg]").val() != $("#goodsDetailForm select[name=delvFeeCd]").val()){
|
|
if ($("#goodsDetailForm input[name=delvFeeCdOrg]").val() != $("#goodsDetailForm select[name=delvFeeCd]").val()){
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
|
|
+ //선물주문여부
|
|
|
|
|
+ if ($("#goodsDetailForm input[name=giftPackYnOrg]").val() != $("input[name=giftPackYn]:checked").val()){
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ // 교환가능여부
|
|
|
|
|
+ if ($("#goodsDetailForm input[name=changeableYnOrg]").val() != $("input[name=changeableYn]:checked").val()){
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ // 신규가입구매가능여부
|
|
|
|
|
+ if ($("#goodsDetailForm input[name=newCustOrdYnOrg]").val() != $("input[name=newCustOrdYn]:checked").val()){
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
|
|
|