|
|
@@ -120,7 +120,8 @@
|
|
|
<script type="text/javascript" src="/ux/plugins/gaga/gaga.summernote.js?v=2021072201"></script>
|
|
|
<script th:inline="javascript">
|
|
|
/*<![CDATA[*/
|
|
|
-
|
|
|
+ var cardPrmt = [[${cardPrmt}]];
|
|
|
+
|
|
|
//카드행사조건 추가
|
|
|
$('#btnCardContionAdd').on('click', function() {
|
|
|
var len = $('#cardInterestForm').find('#cardContionList tr').length;
|
|
|
@@ -298,8 +299,13 @@
|
|
|
gagaSn.createSummernote(snOptions, '#note');
|
|
|
|
|
|
var date = new Date();
|
|
|
- $('#cardInterestForm input[name=prmtStd]').val(date.format("YYYY-MM-DD"));
|
|
|
- $('#cardInterestForm input[name=prmtEdd]').val(date.format("YYYY-MM-DD"));
|
|
|
+ if (cardPrmt.prmtStd == null) {
|
|
|
+ $('#cardInterestForm input[name=prmtStd]').val(date.format("YYYY-MM-DD"));
|
|
|
+ }
|
|
|
+
|
|
|
+ if (cardPrmt.prmtEdd == null) {
|
|
|
+ $('#cardInterestForm input[name=prmtEdd]').val(date.format("YYYY-MM-DD"));
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
/*]]>*/
|