|
|
@@ -356,9 +356,15 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>구매등급</th>
|
|
|
- <td colspan="5">
|
|
|
+ <td colspan="3">
|
|
|
<div id="goodsCustGradeList"></div>
|
|
|
</td>
|
|
|
+ <th>상세폼신규사용여부</th>
|
|
|
+ <td>
|
|
|
+ <label class="rdoBtn"><input type="radio" name="tobeFormYn" id="tobeFormYnY" value="Y" />Y</label>
|
|
|
+ <label class="rdoBtn"><input type="radio" name="tobeFormYn" id="tobeFormYnN" value="N"/>N</label>
|
|
|
+ <input type="hidden" id="tobeFormYnOrg" name="tobeFormYnOrg"/>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>안전인증번호</th>
|
|
|
@@ -952,6 +958,11 @@
|
|
|
}else{
|
|
|
$("#goodsDetailForm input:radio[name=changeableYn]:input[value='N']").trigger('click');
|
|
|
}
|
|
|
+ if (result.tobeFormYn == "Y"){
|
|
|
+ $("#goodsDetailForm input:radio[name=tobeFormYn]:input[value='Y']").trigger('click');
|
|
|
+ }else{
|
|
|
+ $("#goodsDetailForm input:radio[name=tobeFormYn]:input[value='N']").trigger('click');
|
|
|
+ }
|
|
|
|
|
|
$("#goodsDetailForm input[name=formalGbOrg]").val(result.formalGb);
|
|
|
$("#goodsDetailForm input[name=foreignBuyYnOrg]").val(result.foreignBuyYn);
|
|
|
@@ -966,6 +977,7 @@
|
|
|
$("#goodsDetailForm input[name=returnableYnOrg]").val(result.returnableYn);
|
|
|
$("#goodsDetailForm input[name=newCustOrdYnOrg]").val(result.newCustOrdYn);
|
|
|
$("#goodsDetailForm input[name=adultYnOrg]").val(result.adultYn);
|
|
|
+ $("#goodsDetailForm input[name=tobeFormYnOrg]").val(result.tobeFormYn);
|
|
|
|
|
|
$("#goodsDetailForm input[type=radio][checked]").addClass("checked");
|
|
|
//$("#goodsDetailForm input[type=radio][checked]").parent("label").addClass("checked");
|
|
|
@@ -2147,6 +2159,10 @@
|
|
|
($("#goodsDetailForm input[name=sellEdYMD]").val().replaceAll('-', '')+ $("#goodsDetailForm select[name=sellEdHH]").val())){
|
|
|
return true;
|
|
|
}
|
|
|
+ // 상품상세신규폼사용여부
|
|
|
+ if ($("#goodsDetailForm input[name=tobeFormYnOrg]").val() != $("#goodsDetailForm input[name=tobeFormYn]:checked").val()){
|
|
|
+ return true;
|
|
|
+ }
|
|
|
|
|
|
return false;
|
|
|
}
|