|
@@ -76,9 +76,8 @@
|
|
|
<li><a href="#goodstab2">옵션/재고정보</a></li>
|
|
<li><a href="#goodstab2">옵션/재고정보</a></li>
|
|
|
<li><a href="#goodstab3">상품상세정보</a></li>
|
|
<li><a href="#goodstab3">상품상세정보</a></li>
|
|
|
<li id="goodsNotiTab"><a href="#goodstab4">고시정보</a></li>
|
|
<li id="goodsNotiTab"><a href="#goodstab4">고시정보</a></li>
|
|
|
- <li id="goodsGradeTab"><a href="#goodstab5">구매등급</a></li>
|
|
|
|
|
- <li id="goodsComposeTab" style="display:none;"><a href="#goodstab6">구성상품</a></li>
|
|
|
|
|
- <li><a href="#goodstab7">변경이력</a></li>
|
|
|
|
|
|
|
+ <li id="goodsComposeTab" style="display:none;"><a href="#goodstab5">구성상품</a></li>
|
|
|
|
|
+ <li><a href="#goodstab6">변경이력</a></li>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- //TABS NAVI -->
|
|
<!-- //TABS NAVI -->
|
|
@@ -158,7 +157,7 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td rowspan="11"> </td>
|
|
|
|
|
|
|
+ <td rowspan="12"> </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">
|
|
@@ -329,6 +328,12 @@
|
|
|
<input type="hidden" id="dayMaxOrdQtyOrg" name="dayMaxOrdQtyOrg"/>
|
|
<input type="hidden" id="dayMaxOrdQtyOrg" name="dayMaxOrdQtyOrg"/>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>구매등급</th>
|
|
|
|
|
+ <td colspan="5">
|
|
|
|
|
+ <div id="goodsCustGradeList"></div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>안전인증번호</th>
|
|
<th>안전인증번호</th>
|
|
|
<td colspan="5">
|
|
<td colspan="5">
|
|
@@ -336,7 +341,6 @@
|
|
|
<input type="hidden" id="certNumOrg" name="certNumOrg"/>
|
|
<input type="hidden" id="certNumOrg" name="certNumOrg"/>
|
|
|
<button type="button" class="btn btn-success btn-lg" id="btnGoodsSafetyCertNum">안전인증</button>
|
|
<button type="button" class="btn btn-success btn-lg" id="btnGoodsSafetyCertNum">안전인증</button>
|
|
|
</td>
|
|
</td>
|
|
|
-
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
@@ -445,33 +449,8 @@
|
|
|
<!-- //TAB4 CONTENTS AREA -->
|
|
<!-- //TAB4 CONTENTS AREA -->
|
|
|
</li>
|
|
</li>
|
|
|
<!-- //TAB4 : 고시정보 -->
|
|
<!-- //TAB4 : 고시정보 -->
|
|
|
- <!-- 구매등급정보 -->
|
|
|
|
|
- <li class="tab" id="goodstab5">
|
|
|
|
|
- <div class="panelStyle">
|
|
|
|
|
- <table class="frmStyle">
|
|
|
|
|
- <colgroup>
|
|
|
|
|
- <col style="width:10%"/>
|
|
|
|
|
- <col style="width:13%"/>
|
|
|
|
|
- <col/>
|
|
|
|
|
- </colgroup>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>구매등급</th>
|
|
|
|
|
- <td>
|
|
|
|
|
- <select id="custGrade" name="custGrade" >
|
|
|
|
|
- <option value="" selected="selected">[선택]</option>
|
|
|
|
|
- <option th:if="${custGradeList}" th:each="oneData, status : ${custGradeList}" th:value="${oneData.cd}" th:text="${oneData.cdNm}"></option>
|
|
|
|
|
- </select>
|
|
|
|
|
- <button type="button" class="btn btn-default btn-lg" onclick="fnGoodsOrderGrade()">선택</button>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td>
|
|
|
|
|
- <div class="memAddWrap" id="goodsCustGradeList"></div>
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </li>
|
|
|
|
|
<!-- 구성상품 -->
|
|
<!-- 구성상품 -->
|
|
|
- <li class="tab" id="goodstab6">
|
|
|
|
|
|
|
+ <li class="tab" id="goodstab5">
|
|
|
<!-- TAB6 CONTENTS AREA -->
|
|
<!-- TAB6 CONTENTS AREA -->
|
|
|
<div class="panelStyle">
|
|
<div class="panelStyle">
|
|
|
<!-- 내용 삽입 -->
|
|
<!-- 내용 삽입 -->
|
|
@@ -488,7 +467,7 @@
|
|
|
<!-- //TAB6 CONTENTS AREA -->
|
|
<!-- //TAB6 CONTENTS AREA -->
|
|
|
</li>
|
|
</li>
|
|
|
<!-- TAB5 : 이력정보 -->
|
|
<!-- TAB5 : 이력정보 -->
|
|
|
- <li class="tab" id="goodstab7">
|
|
|
|
|
|
|
+ <li class="tab" id="goodstab6">
|
|
|
<!-- TAB8 CONTENTS AREA -->
|
|
<!-- TAB8 CONTENTS AREA -->
|
|
|
<div class="panelStyle">
|
|
<div class="panelStyle">
|
|
|
<!-- 내용 삽입 -->
|
|
<!-- 내용 삽입 -->
|
|
@@ -1027,22 +1006,17 @@
|
|
|
var fnGoodsDetailOrderGradeSearchCallback = function(result) {
|
|
var fnGoodsDetailOrderGradeSearchCallback = function(result) {
|
|
|
if (result == null) return;
|
|
if (result == null) return;
|
|
|
|
|
|
|
|
- var addHtml = "";
|
|
|
|
|
- $('#goodsDetailForm').find('#goodsCustGradeList').html('');
|
|
|
|
|
-
|
|
|
|
|
result.forEach(function(info){
|
|
result.forEach(function(info){
|
|
|
- addHtml = '<span class="memAdd"><input type="hidden" name="goodsOrderGrade" value="'+info.custGrade+'"/>'+ info.custGradeName+' <button type="button" onclick="$(this).parent().remove();return false;">삭제</button></span>';
|
|
|
|
|
- addHtml += '\n';
|
|
|
|
|
|
|
+
|
|
|
|
|
+ $("#goodsDetailForm #goodsCustGradeList").find("input").each(function() {
|
|
|
|
|
+ if (info.custGrade == $(this).val() ){
|
|
|
|
|
+ $(this).prop("checked", true);
|
|
|
|
|
+ $(this).parent("label").addClass("checked");
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
- $('#goodsDetailForm').find('#goodsCustGradeList').append(addHtml);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //구매등급 변경여부
|
|
|
|
|
- $('#goodsDetailForm').find('#goodstab5').find("input, select, textarea").on('change', function() {
|
|
|
|
|
- $('#goodsDetailForm').find('.tabs .tabsNav li:eq(4) a').attr("style", "color:red;");
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
//상품명 길이표시
|
|
//상품명 길이표시
|
|
|
$("#goodsDetailForm input[name=goodsNm]").bind('focus focusout input keyup keydown paste change', function () {
|
|
$("#goodsDetailForm input[name=goodsNm]").bind('focus focusout input keyup keydown paste change', function () {
|
|
|
fnDataLengthCheck('goodsNm',200);
|
|
fnDataLengthCheck('goodsNm',200);
|
|
@@ -2107,6 +2081,8 @@
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
|
|
|
+
|
|
|
|
|
+ cfnCreateCheckbox("/renderer/avail/commonCode/list/G101", $('#goodsCustGradeList'), "goodsOrderGrade");
|
|
|
|
|
|
|
|
gagaAgGrid.createGrid('gridGoodsHstoryList', gridGoodsHstoryOptions);
|
|
gagaAgGrid.createGrid('gridGoodsHstoryList', gridGoodsHstoryOptions);
|
|
|
gagaAgGrid.createGrid('gridGoodsComposeList', gridGoodsComposeOptions);
|
|
gagaAgGrid.createGrid('gridGoodsComposeList', gridGoodsComposeOptions);
|