HansaeStyleMappingForm.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : HansaeStyleMappingForm.html
  7. * @desc : 한세ERP스타일매핑 팝업 Page
  8. *============================================================================
  9. * STYLE24
  10. * Copyright(C) 2020 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2021.11.01 gagamel 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div class="modalPopup" data-width="900" id="popupHansaeStyleMapping">
  18. <div class="panelStyle">
  19. <!-- TITLE -->
  20. <div class="panelTitle">
  21. <strong>한세ERP 스타일 매핑</strong>
  22. <button type="button" class="close" onclick="uifnPopupClose('popupHansaeStyleMapping');"><em class="fa fa-times"></em></button>
  23. </div>
  24. <!-- //TITLE -->
  25. <!-- CONTENT -->
  26. <div class="panelContent">
  27. <form id="styleMappingForm" name="styleMappingForm" action="#" th:action="@{'/settle/hansae/style/mapping/save'}" th:method="post">
  28. <table class="frmStyle" aria-describedby="상세폼">
  29. <colgroup>
  30. <col style="width:10%;"/>
  31. <col/>
  32. <col style="width:10%;"/>
  33. <col style="width:15%;"/>
  34. <col style="width:10%;"/>
  35. <col style="width:15%;"/>
  36. </colgroup>
  37. <tbody>
  38. <tr>
  39. <th>ERP구분</th>
  40. <td colspan="5">
  41. <select name="erpGb">
  42. <option value="hsmk" th:selected="${styleInfo.erpGb == 'hsmk'}">[hsmk] 한세MK</option>
  43. <option value="hsdr" th:selected="${styleInfo.erpGb == 'hsdr'}">[hsdr] 한세드림</option>
  44. </select>
  45. </td>
  46. </tr>
  47. <tr>
  48. <th>스타일코드</th>
  49. <td>
  50. <input type="text" name="cdStyle" maxlength="20" readonly="readonly" th:value="${styleInfo.cdStyle}"/>
  51. </td>
  52. <th>색상코드</th>
  53. <td>
  54. <input type="text" name="cdColor" maxlength="20" readonly="readonly" th:value="${styleInfo.cdColor}"/>
  55. </td>
  56. <th>사이즈코드</th>
  57. <td>
  58. <input type="text" name="cdSize" maxlength="20" readonly="readonly" th:value="${styleInfo.cdSize}"/>
  59. </td>
  60. </tr>
  61. <tr>
  62. <th>ERP스타일코드<i class="required" title="필수" aria-hidden="true"></i></th>
  63. <td>
  64. <input type="text" name="erpCdStyle" maxlength="20" th:value="${styleInfo?.erpCdStyle}" required="required" data-valid-name="ERP스타일코드"/>
  65. </td>
  66. <th>ERP색상코드<i class="required" title="필수" aria-hidden="true"></i></th>
  67. <td>
  68. <input type="text" name="erpCdColor" maxlength="20" th:value="${styleInfo?.erpCdColor}" required="required" data-valid-name="ERP색상코드"/>
  69. </td>
  70. <th>ERP사이즈코드<i class="required" title="필수" aria-hidden="true"></i></th>
  71. <td>
  72. <input type="text" name="erpCdSize" maxlength="20" th:value="${styleInfo?.erpCdSize}" required="required" data-valid-name="ERP사이즈코드"/>
  73. </td>
  74. </tr>
  75. <tr>
  76. <th>실패메시지</th>
  77. <td colspan="5" th:utext="${#strings.replace(#strings.replace(styleInfo.dsError,'&amplt;','<'),'&ampgt;','>')}"></td>
  78. </tr>
  79. </tbody>
  80. </table>
  81. </form>
  82. </div>
  83. <!-- //CONTENT -->
  84. <!-- 버튼 배치 영역 -->
  85. <ul class="panelBar">
  86. <li class="right">
  87. <button type="button" class="btn btn-info btn-lg" id="btnSaveStyleMapping">저장</button>
  88. </li>
  89. </ul>
  90. <!-- //버튼 배치 영역 -->
  91. </div>
  92. </div>
  93. <script th:inline="javascript">
  94. /*<![CDATA[*/
  95. // 저장
  96. $('#btnSaveStyleMapping').on('click', function() {
  97. // 입력 값 체크
  98. if (!gagajf.validation('#styleMappingForm'))
  99. return false;
  100. mcxDialog.confirm("저장하시겠습니까?", {
  101. cancelBtnText: "취소",
  102. sureBtnText: "확인",
  103. sureBtnClick: function() {
  104. gagajf.ajaxFormSubmit($('#styleMappingForm').prop('action'), '#styleMappingForm', function() {
  105. uifnPopupClose('popupHansaeStyleMapping');
  106. $('#btnSearch').trigger('click');
  107. });
  108. }
  109. });
  110. });
  111. $(document).ready(function() {
  112. });
  113. /*]]>*/
  114. </script>
  115. </html>