fix : 관리자 구독서비스 등록(복사)
This commit is contained in:
@@ -357,6 +357,9 @@
|
||||
|
||||
$('#expsrBgnDt').val(expsrBgnDt);
|
||||
$('#expsrEndDt').val(expsrEndDt);
|
||||
}else if($('input[name="expsrDvCd"]:checked').val() != '03'){
|
||||
$('#expsrBgnDt').val('');
|
||||
$('#expsrEndDt').val('');
|
||||
}
|
||||
|
||||
//재고가 있으면 판매인 경우 개수 품절처리 필수
|
||||
@@ -434,12 +437,17 @@
|
||||
contentType: false,
|
||||
processData: false,
|
||||
success: function (data) {
|
||||
const message = JSON.parse(data.resBody.result).message;
|
||||
if(message == "success"){
|
||||
alert('<spring:message code="success.common.update"/>');
|
||||
//등록 후 수정화면으로 이동
|
||||
window.location.reload();
|
||||
} else {
|
||||
try{
|
||||
const message = JSON.parse(data.resBody.result).message;
|
||||
if(message == "success"){
|
||||
alert('<spring:message code="success.common.update"/>');
|
||||
//등록 후 수정화면으로 이동
|
||||
window.location.reload();
|
||||
} else {
|
||||
alert('<spring:message code="fail.common.update"/>');
|
||||
}
|
||||
}catch (e) {
|
||||
console.log(e);
|
||||
alert('<spring:message code="fail.common.update"/>');
|
||||
}
|
||||
}
|
||||
@@ -480,7 +488,7 @@
|
||||
<input type="hidden" id="pageUnit" name="pageUnit" value="${ resultMap.paramVO.pageUnit }">
|
||||
<input type="hidden" id="delImg" name="delImg" value="">
|
||||
<input type="hidden" id="expsrBgnDt" name="expsrBgnDt" value="${resultMap.subsvcDtl.expsrBgnDt}">
|
||||
<input type="hidden" id="expsrEndDt" name="expsrEndDt" value="${resultMap.subsvcDtl.expsrBgnDt}">
|
||||
<input type="hidden" id="expsrEndDt" name="expsrEndDt" value="${resultMap.subsvcDtl.expsrEndDt}">
|
||||
<input type="hidden" id="usefulInvntryQy" name="usefulInvntryQy" value="${resultMap.subsvcDtl.usefulInvntryQy}">
|
||||
<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"/>
|
||||
|
||||
Reference in New Issue
Block a user