admin_chrg 수정 disable처리

This commit is contained in:
2023-04-06 13:57:48 +09:00
parent 3cb703385f
commit f78430aa54

View File

@@ -8,7 +8,7 @@
<!-- 발신번호 차단 수정 --> <!-- 발신번호 차단 수정 -->
<div class="popup modal53 popup_form w700"> <div class="popup modal53 popup_form w700">
<div class="pop-head"> <div class="pop-head">
<h3 class="pop-tit">충전금 수정</h3> <h3 class="pop-tit">충전금 상세</h3>
</div> </div>
<form autocomplete="off"> <form autocomplete="off">
<table style="width: 100%"> <table style="width: 100%">
@@ -33,6 +33,7 @@
:minimumView="sDateDiv" :minimumView="sDateDiv"
:maximumView="sDateDiv" :maximumView="sDateDiv"
v-model.trim="startDate" v-model.trim="startDate"
disabled
@selected="selectedStartDate(0)" @selected="selectedStartDate(0)"
@closed="closeDate('start')" @closed="closeDate('start')"
:picker-options="startDateOptions" :picker-options="startDateOptions"
@@ -47,6 +48,7 @@
:minimumView="sDateDiv" :minimumView="sDateDiv"
:maximumView="sDateDiv" :maximumView="sDateDiv"
v-model.trim="endDate" v-model.trim="endDate"
disabled
@selected="selectedEndDate(0)" @selected="selectedEndDate(0)"
@closed="closeDate('end')" @closed="closeDate('end')"
:picker-options="endDateOptions" :picker-options="endDateOptions"
@@ -72,6 +74,7 @@
<input <input
type="number" type="number"
placeholder="소멸 충전 금액 입력" placeholder="소멸 충전 금액 입력"
disabled
v-model.trim="chrgAmtE" v-model.trim="chrgAmtE"
/> />
<input <input
@@ -97,9 +100,10 @@
</table> </table>
</form> </form>
<div class="popup-btn2 pop-btn3"> <div class="popup-btn2 pop-btn3">
<button class="btn-pcolor" @click="ChrgUpdate()">수정</button> <!-- <button class="btn-pcolor" @click="ChrgUpdate()">수정</button> -->
<button class="btn-default" @click="ChrgDetailClose()">취소</button>
<button class="btn-p2color" @click="ChrgDelete()">삭제</button> <button class="btn-p2color" @click="ChrgDelete()">삭제</button>
<button class="btn-default" @click="ChrgDetailClose()">취소</button>
</div> </div>
</div> </div>
<validation-confirm-pop ref="ValidationConfirmPop"/> <validation-confirm-pop ref="ValidationConfirmPop"/>
@@ -134,7 +138,7 @@ export default {
endMonth: '', endMonth: '',
bizrAuthYn: '', bizrAuthYn: '',
nmineeDivCd: '01', nmineeDivCd: '',
chrgAmtE: '', chrgAmtE: '',
chrgAmtC: '', chrgAmtC: '',
@@ -145,6 +149,7 @@ export default {
custSeq : '', custSeq : '',
chrgSeq : '', chrgSeq : '',
useYn: '', useYn: '',
chrgDiv:'',
} }
}, },
components: { components: {
@@ -168,9 +173,15 @@ export default {
this.startDate = sym; this.startDate = sym;
let eym =result.data.endYm.slice(0,4)+"-"+result.data.endYm.slice(4,6) let eym =result.data.endYm.slice(0,4)+"-"+result.data.endYm.slice(4,6)
this.endDate = eym; this.endDate = eym;
this.chrgAmtE = result.data.chrgAmt;
this.chrgSeq = result.data.chrgSeq; this.chrgSeq = result.data.chrgSeq;
this.useYn = result.data.useYn; this.useYn = result.data.useYn;
if (result.data.chrgDiv == 'E') {
this.chrgAmtE = result.data.chrgAmt;
this.chrgAmtC ='';
}else {
this.chrgAmtC = result.data.chrgAmt;
this.chrgAmtE ='';
}
} }
} catch (error) { } catch (error) {
} }
@@ -228,8 +239,8 @@ export default {
this.row.custNm = this.custNm; this.row.custNm = this.custNm;
this.row.strtYm = this.startDate; this.row.strtYm = this.startDate;
this.row.endYm = this.endDate; this.row.endYm = this.endDate;
this.row.chrgAmt = this.chrgAmtE;
this.row.chrgSeq = this.chrgSeq; this.row.chrgSeq = this.chrgSeq;
this.row.chrgAmt = this.chrgAmtE;
return true; return true;
}, },