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