| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <!DOCTYPE html>
- <html lang="ko"
- xmlns:th="http://www.thymeleaf.org">
- <!--
- *******************************************************************************
- * @source : HansaeStyleMappingForm.html
- * @desc : 한세ERP스타일매핑 팝업 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2020 TSIT, All rights reserved.
- *============================================================================
- * VER DATE AUTHOR DESCRIPTION
- * === =========== ========== =============================================
- * 1.0 2021.11.01 gagamel 최초 작성
- *******************************************************************************
- -->
- <div class="modalPopup" data-width="900" id="popupHansaeStyleMapping">
- <div class="panelStyle">
- <!-- TITLE -->
- <div class="panelTitle">
- <strong>한세ERP 스타일 매핑</strong>
- <button type="button" class="close" onclick="uifnPopupClose('popupHansaeStyleMapping');"><em class="fa fa-times"></em></button>
- </div>
- <!-- //TITLE -->
-
- <!-- CONTENT -->
- <div class="panelContent">
- <form id="styleMappingForm" name="styleMappingForm" action="#" th:action="@{'/settle/hansae/style/mapping/save'}" th:method="post">
- <table class="frmStyle" aria-describedby="상세폼">
- <colgroup>
- <col style="width:10%;"/>
- <col/>
- <col style="width:10%;"/>
- <col style="width:15%;"/>
- <col style="width:10%;"/>
- <col style="width:15%;"/>
- </colgroup>
- <tbody>
- <tr>
- <th>ERP구분</th>
- <td colspan="5">
- <select name="erpGb">
- <option value="hsmk" th:selected="${styleInfo.erpGb == 'hsmk'}">[hsmk] 한세MK</option>
- <option value="hsdr" th:selected="${styleInfo.erpGb == 'hsdr'}">[hsdr] 한세드림</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>스타일코드</th>
- <td>
- <input type="text" name="cdStyle" maxlength="20" readonly="readonly" th:value="${styleInfo.cdStyle}"/>
- </td>
- <th>색상코드</th>
- <td>
- <input type="text" name="cdColor" maxlength="20" readonly="readonly" th:value="${styleInfo.cdColor}"/>
- </td>
- <th>사이즈코드</th>
- <td>
- <input type="text" name="cdSize" maxlength="20" readonly="readonly" th:value="${styleInfo.cdSize}"/>
- </td>
- </tr>
- <tr>
- <th>ERP스타일코드<i class="required" title="필수" aria-hidden="true"></i></th>
- <td>
- <input type="text" name="erpCdStyle" maxlength="20" th:value="${styleInfo?.erpCdStyle}" required="required" data-valid-name="ERP스타일코드"/>
- </td>
- <th>ERP색상코드<i class="required" title="필수" aria-hidden="true"></i></th>
- <td>
- <input type="text" name="erpCdColor" maxlength="20" th:value="${styleInfo?.erpCdColor}" required="required" data-valid-name="ERP색상코드"/>
- </td>
- <th>ERP사이즈코드<i class="required" title="필수" aria-hidden="true"></i></th>
- <td>
- <input type="text" name="erpCdSize" maxlength="20" th:value="${styleInfo?.erpCdSize}" required="required" data-valid-name="ERP사이즈코드"/>
- </td>
- </tr>
- <tr>
- <th>실패메시지</th>
- <td colspan="5" th:utext="${#strings.replace(#strings.replace(styleInfo.dsError,'&lt;','<'),'&gt;','>')}"></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- <!-- //CONTENT -->
- <!-- 버튼 배치 영역 -->
- <ul class="panelBar">
- <li class="right">
- <button type="button" class="btn btn-info btn-lg" id="btnSaveStyleMapping">저장</button>
- </li>
- </ul>
- <!-- //버튼 배치 영역 -->
- </div>
- </div>
- <script th:inline="javascript">
- /*<![CDATA[*/
- // 저장
- $('#btnSaveStyleMapping').on('click', function() {
- // 입력 값 체크
- if (!gagajf.validation('#styleMappingForm'))
- return false;
-
- mcxDialog.confirm("저장하시겠습니까?", {
- cancelBtnText: "취소",
- sureBtnText: "확인",
- sureBtnClick: function() {
- gagajf.ajaxFormSubmit($('#styleMappingForm').prop('action'), '#styleMappingForm', function() {
- uifnPopupClose('popupHansaeStyleMapping');
- $('#btnSearch').trigger('click');
- });
- }
- });
- });
-
- $(document).ready(function() {
-
- });
- /*]]>*/
- </script>
- </html>
|