fix : 관리자 구독서비스 등록/복사재등록 - 실판매가 자동 계산, 판매수량 추가
This commit is contained in:
@@ -33,6 +33,9 @@
|
|||||||
$(this).val(input.replace(/[^0-9]/g, "").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"));
|
$(this).val(input.replace(/[^0-9]/g, "").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//실판매가 세팅
|
||||||
|
fn_cal_selpric();
|
||||||
|
|
||||||
const expsrSetTable = document.getElementById('expsrSet');
|
const expsrSetTable = document.getElementById('expsrSet');
|
||||||
//노출예약 체크되어있을 경우 enable 처리
|
//노출예약 체크되어있을 경우 enable 처리
|
||||||
if($("input[name='expsrDvCd']:checked").val() ==='03'){
|
if($("input[name='expsrDvCd']:checked").val() ==='03'){
|
||||||
@@ -542,7 +545,6 @@
|
|||||||
<input type="hidden" id="delImg" name="delImg" value="">
|
<input type="hidden" id="delImg" name="delImg" value="">
|
||||||
<input type="hidden" id="expsrBgnDt" name="expsrBgnDt" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.expsrBgnDt}</c:if>">
|
<input type="hidden" id="expsrBgnDt" name="expsrBgnDt" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.expsrBgnDt}</c:if>">
|
||||||
<input type="hidden" id="expsrEndDt" name="expsrEndDt" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.expsrBgnDt}</c:if>">
|
<input type="hidden" id="expsrEndDt" name="expsrEndDt" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.expsrBgnDt}</c:if>">
|
||||||
<input type="hidden" id="usefulInvntryQy" name="usefulInvntryQy" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.usefulInvntryQy}</c:if>">
|
|
||||||
<spring:eval expression="@environment.getProperty('spring.servlet.multipart.max-file-size')" var="maxFileSize"/>
|
<spring:eval expression="@environment.getProperty('spring.servlet.multipart.max-file-size')" var="maxFileSize"/>
|
||||||
<spring:eval expression="@environment.getProperty('mngrfo.common.fileupload.extensions.images')" var="acceptFileExtensions"/>
|
<spring:eval expression="@environment.getProperty('mngrfo.common.fileupload.extensions.images')" var="acceptFileExtensions"/>
|
||||||
<spring:eval expression="@environment.getProperty('mngrfo.common.fileupload.cdnurl')" var="cdnurl"/>
|
<spring:eval expression="@environment.getProperty('mngrfo.common.fileupload.cdnurl')" var="cdnurl"/>
|
||||||
@@ -655,7 +657,7 @@
|
|||||||
<th>실판매가<span class="red-7">*</span></th>
|
<th>실판매가<span class="red-7">*</span></th>
|
||||||
<td>
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<input class="input-text sm number text-right allow-zero" type="text" title="실판매가" id="selpric" name="selpric" maxlength="11" value="<c:if test='${resultMap.subsvcDtl != null}'>${resultMap.subsvcDtl.selpric}</c:if>" readonly> 円(엔)
|
<input class="input-text sm number text-right allow-zero" type="text" title="실판매가" id="selpric" name="selpric" maxlength="11" required readonly> 円(엔)
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -675,9 +677,9 @@
|
|||||||
<caption>구독설정</caption>
|
<caption>구독설정</caption>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 12%;">
|
<col style="width: 12%;">
|
||||||
<col>
|
<col style="width: 38%;">
|
||||||
<col style="width: 12%;">
|
<col style="width: 12%;">
|
||||||
<col>
|
<col style="width: 38%;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -696,7 +698,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>판매 상태</th>
|
<th>판매 상태</th>
|
||||||
<td colspan="2">
|
<td>
|
||||||
<div class="td-inner">
|
<div class="td-inner">
|
||||||
<div class="custom-radio-container">
|
<div class="custom-radio-container">
|
||||||
<c:forEach items="${resultMap.subsvcSttusList}" var="subsvcSttus" varStatus="status">
|
<c:forEach items="${resultMap.subsvcSttusList}" var="subsvcSttus" varStatus="status">
|
||||||
@@ -709,6 +711,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
<th>판매수량</th>
|
||||||
|
<td>
|
||||||
|
<div class="td-inner">
|
||||||
|
<input class="input-text sm text-right" type="text" title="판매재고수량" id="usefulInvntryQy" name="usefulInvntryQy" value="0" readonly>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>노출 여부</th>
|
<th>노출 여부</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user