|
@@ -36,15 +36,12 @@
|
|
|
<table class="frmStyle">
|
|
<table class="frmStyle">
|
|
|
<colgroup>
|
|
<colgroup>
|
|
|
<col style="width: 8%;"/>
|
|
<col style="width: 8%;"/>
|
|
|
- <col style="width: 12%;"/>
|
|
|
|
|
|
|
+ <col style="width: 17%;"/>
|
|
|
<col style="width: 8%;"/>
|
|
<col style="width: 8%;"/>
|
|
|
- <col style="width: 12%;"/>
|
|
|
|
|
|
|
+ <col style="width: 17%;"/>
|
|
|
<col style="width: 8%;"/>
|
|
<col style="width: 8%;"/>
|
|
|
- <col style="width: 12%;"/>
|
|
|
|
|
|
|
+ <col style="width: 17%;"/>
|
|
|
<col style="width: 8%;"/>
|
|
<col style="width: 8%;"/>
|
|
|
- <col style="width: 12%;"/>
|
|
|
|
|
- <col style="width: 8%;"/>
|
|
|
|
|
- <col style="width: 12%;"/>
|
|
|
|
|
<col/>
|
|
<col/>
|
|
|
</colgroup>
|
|
</colgroup>
|
|
|
<tr>
|
|
<tr>
|
|
@@ -57,7 +54,11 @@
|
|
|
</td>
|
|
</td>
|
|
|
<th>쿠폰ID</th>
|
|
<th>쿠폰ID</th>
|
|
|
<td>
|
|
<td>
|
|
|
- <input type="text" class="w900" name="cpnId" id="cpnId"/>
|
|
|
|
|
|
|
+ <input type="text" class="w100p" name="cpnId" id="cpnId"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>쿠폰명</th>
|
|
|
|
|
+ <td >
|
|
|
|
|
+ <input type="text" class="w100p" id="cpnNm" name="cpnNm">
|
|
|
</td>
|
|
</td>
|
|
|
<th>쿠폰유형</th>
|
|
<th>쿠폰유형</th>
|
|
|
<td>
|
|
<td>
|
|
@@ -66,10 +67,7 @@
|
|
|
<option th:if="${cpnTypeList}" th:each="oneData, status : ${cpnTypeList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
<option th:if="${cpnTypeList}" th:each="oneData, status : ${cpnTypeList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>등록자</th>
|
|
|
|
|
- <td>
|
|
|
|
|
- <input type="text" class="w200" name="regNm" id="regNm">
|
|
|
|
|
- </td>
|
|
|
|
|
|
|
+
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th>할인유형</th>
|
|
<th>할인유형</th>
|
|
@@ -79,29 +77,22 @@
|
|
|
<option th:if="${dcWayList}" th:each="oneData, status : ${dcWayList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
<option th:if="${dcWayList}" th:each="oneData, status : ${dcWayList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>쿠폰명</th>
|
|
|
|
|
- <td colspan="10">
|
|
|
|
|
- <input type="text" class="w800" id="cpnNm" name="cpnNm">
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th>유효기간구분</th>
|
|
|
|
|
|
|
+ <th>등록자</th>
|
|
|
<td>
|
|
<td>
|
|
|
|
|
+ <input type="text" class="w200" name="regNm" id="regNm">
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <th>기간/일수구분</th>
|
|
|
|
|
+ <td colspan="3">
|
|
|
<select name="pdGb" id="pdGb">
|
|
<select name="pdGb" id="pdGb">
|
|
|
<option value="">[전체]</option>
|
|
<option value="">[전체]</option>
|
|
|
<option value="P">기간</option>
|
|
<option value="P">기간</option>
|
|
|
<option value="D">일</option>
|
|
<option value="D">일</option>
|
|
|
</select>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <th>유효기간</th>
|
|
|
|
|
- <td colspan="5" id="sellTerms"></td>
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <th colspan="1">
|
|
|
|
|
- <td colspan="9">
|
|
|
|
|
- <label class="chkBox"><input type="checkbox" id="endCpnExcep" name="chkExcep" value="Y" checked>종료쿠폰제외</label>
|
|
|
|
|
- </td>
|
|
|
|
|
- </th>
|
|
|
|
|
|
|
+ <th>유효기간</th>
|
|
|
|
|
+ <td colspan="7" id="sellTerms"></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
<ul class="panelBar">
|
|
<ul class="panelBar">
|
|
@@ -323,7 +314,9 @@
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
|
cfnCreateCalendar('#sellTerms', 'availStdt', 'availEddt', true, '기간', 'X');
|
|
cfnCreateCalendar('#sellTerms', 'availStdt', 'availEddt', true, '기간', 'X');
|
|
|
-
|
|
|
|
|
|
|
+ var chkBeforSkipFlag = ' <label class="chkBox"><input type="checkbox" id="endCpnExcep" name="chkExcep" value="Y" checked>종료쿠폰제외</label>';
|
|
|
|
|
+ $("#cpnSearchForm").find('#sellTerms').append(chkBeforSkipFlag);
|
|
|
|
|
+
|
|
|
// Create a agGrid
|
|
// Create a agGrid
|
|
|
gagaAgGrid.createGrid('gridList', gridOptions);
|
|
gagaAgGrid.createGrid('gridList', gridOptions);
|
|
|
});
|
|
});
|