mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 16:43:32 +09:00
임시
This commit is contained in:
@@ -17,11 +17,10 @@
|
|||||||
<button type="button" class="button grey" @click="searchIdPop">조회</button>
|
<button type="button" class="button grey" @click="searchIdPop">조회</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>충전월</th>
|
<th>충전월</th>
|
||||||
<td>
|
<td v-if="joinDiv==1">
|
||||||
<div class="input_box cal" style="width:60%">
|
<div class="input_box cal" style="width:60%">
|
||||||
<div class="term">
|
<div class="term">
|
||||||
<span class="custom_input icon_date">
|
<span class="custom_input icon_date">
|
||||||
@@ -54,8 +53,27 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
<td v-if="joinDiv==2">
|
||||||
|
<div class="input_box cal" style="width:60%">
|
||||||
|
<div class="term">
|
||||||
|
<span class="custom_input icon_date">
|
||||||
|
<vuejs-datepicker
|
||||||
|
:language="ko"
|
||||||
|
:format="customFormatter"
|
||||||
|
:disabled-dates="disabledSDate"
|
||||||
|
:minimumView="sDateDiv"
|
||||||
|
:maximumView="sDateDiv"
|
||||||
|
v-model="startDate"
|
||||||
|
@selected="selectedStartDate(0)"
|
||||||
|
@closed="closeDate('start')"
|
||||||
|
:picker-options="startDateOptions"
|
||||||
|
></vuejs-datepicker>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr >
|
<tr v-if="joinDiv==1">
|
||||||
<th>충전금액</th>
|
<th>충전금액</th>
|
||||||
<td>
|
<td>
|
||||||
<div class="input_add">
|
<div class="input_add">
|
||||||
@@ -91,6 +109,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr v-if="joinDiv==2">
|
||||||
|
<th>충전금액</th>
|
||||||
|
<td>
|
||||||
|
<div class="input_add">
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
name="nmineeDivCd"
|
||||||
|
value="01"
|
||||||
|
id="popup_radio5"
|
||||||
|
v-model="nmineeDivCd"
|
||||||
|
/>
|
||||||
|
<label for="popup_radio6">이월금액 <span style="font-size: 14px;">(다음달 정액 요금에 이월되는 충전금액입니다)</span></label>
|
||||||
|
<input
|
||||||
|
class="search-box"
|
||||||
|
type="number"
|
||||||
|
placeholder="이월 충전 금액 입력"
|
||||||
|
v-model="chrgAmtC"
|
||||||
|
v-bind:disabled ="nmineeDivCd=='02'"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="popup-btn2">
|
<div class="popup-btn2">
|
||||||
@@ -146,6 +186,7 @@ export default {
|
|||||||
chrgSeq : '',
|
chrgSeq : '',
|
||||||
userTpCd: '',
|
userTpCd: '',
|
||||||
userSeq: '',
|
userSeq: '',
|
||||||
|
joinDiv:'1',
|
||||||
|
|
||||||
row: {},
|
row: {},
|
||||||
|
|
||||||
@@ -154,7 +195,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
vuejsDatepicker,
|
vuejsDatepicker,
|
||||||
UserListPop,
|
UserListPop,
|
||||||
CommonModal,
|
CommonModal,
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
// 달력 세팅
|
// 달력 세팅
|
||||||
@@ -178,7 +219,7 @@ export default {
|
|||||||
for (var i = 0; i < dimmed.length; i++) {
|
for (var i = 0; i < dimmed.length; i++) {
|
||||||
dimmed[i].style.display = 'none';
|
dimmed[i].style.display = 'none';
|
||||||
}
|
}
|
||||||
|
this.$refs.userListPop.UserListPopClose();
|
||||||
},
|
},
|
||||||
formReset() {
|
formReset() {
|
||||||
Object.assign(this.$data, this.$options.data());
|
Object.assign(this.$data, this.$options.data());
|
||||||
@@ -193,6 +234,7 @@ export default {
|
|||||||
this.custSeq = data.custSeq;
|
this.custSeq = data.custSeq;
|
||||||
this.userTpCd = data.userTpCd;
|
this.userTpCd = data.userTpCd;
|
||||||
this.userSeq = data.userSeq;
|
this.userSeq = data.userSeq;
|
||||||
|
this.joinDiv = data.joinDiv;
|
||||||
},
|
},
|
||||||
|
|
||||||
search: function (isKeep) {
|
search: function (isKeep) {
|
||||||
@@ -233,20 +275,27 @@ export default {
|
|||||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) -1)
|
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) -1)
|
||||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) + 100)
|
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) + 100)
|
||||||
|
|
||||||
|
if (this.joinDiv==1) {
|
||||||
|
if (type == 'start') {
|
||||||
|
// this.disabledSDate = {to: initStartDate, from: new Date()};
|
||||||
|
if (this.startDate !== initStartDate) {
|
||||||
|
this.disabledEDate = {to: this.startDate, from: initEndDate};
|
||||||
|
|
||||||
if (type == 'start') {
|
}
|
||||||
this.disabledSDate = {to: initStartDate, from: new Date()};
|
} else if (type == 'end') {
|
||||||
if (this.startDate !== initStartDate) {
|
|
||||||
this.disabledEDate = {to: this.startDate, from: initEndDate};
|
this.disabledEDate = {to: this.startDate, from: initEndDate};
|
||||||
|
if (this.endDate !== initEndDate) {
|
||||||
}
|
this.disabledSDate = {from: this.endDate};
|
||||||
} else if (type == 'end') {
|
this.disabledSDate = {to: initStartDate, from: this.endDate};
|
||||||
this.disabledEDate = {to: this.startDate, from: initEndDate};
|
}
|
||||||
if (this.endDate !== initEndDate) {
|
|
||||||
this.disabledSDate = {from: this.endDate};
|
|
||||||
this.disabledSDate = {to: initStartDate, from: this.endDate};
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.disabledSDate = {to: new Date(), from: new Date()};
|
||||||
|
if (this.startDate !== initStartDate) {
|
||||||
|
this.disabledEDate = {to: new Date(), from: new Date()};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
customFormatter: function (date) {
|
customFormatter: function (date) {
|
||||||
|
|||||||
@@ -1242,9 +1242,11 @@
|
|||||||
, ecm.USE_YN
|
, ecm.USE_YN
|
||||||
, eci.BIZRNO
|
, eci.BIZRNO
|
||||||
, ecm.CHRG_SEQ
|
, ecm.CHRG_SEQ
|
||||||
|
, esi.JOIN_DIV
|
||||||
FROM hubez_admin.EZ_CHARGE_MNG ecm
|
FROM hubez_admin.EZ_CHARGE_MNG ecm
|
||||||
INNER JOIN hubez_common.EZ_SVC_USER esu ON esu.USER_SEQ = ecm.USER_SEQ
|
INNER JOIN hubez_common.EZ_SVC_USER esu ON esu.USER_SEQ = ecm.USER_SEQ
|
||||||
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
||||||
|
INNER JOIN hubez_common.EZ_SUBS_INFO esi ON esi.USER_SEQ = ecm.USER_SEQ
|
||||||
WHERE 1 = 1
|
WHERE 1 = 1
|
||||||
AND ecm.USE_YN ='Y'
|
AND ecm.USE_YN ='Y'
|
||||||
AND ecm.CHRG_SEQ = #{chrgSeq}
|
AND ecm.CHRG_SEQ = #{chrgSeq}
|
||||||
@@ -1274,6 +1276,7 @@
|
|||||||
, esu.USER_SEQ
|
, esu.USER_SEQ
|
||||||
, esu.USER_STTUS_CD
|
, esu.USER_STTUS_CD
|
||||||
, esu.USER_TP_CD
|
, esu.USER_TP_CD
|
||||||
|
, esi.JOIN_DIV
|
||||||
FROM hubez_common.EZ_SVC_USER esu
|
FROM hubez_common.EZ_SVC_USER esu
|
||||||
INNER JOIN hubez_common.EZ_SUBS_INFO esi ON esi.USER_SEQ = esu.USER_SEQ
|
INNER JOIN hubez_common.EZ_SUBS_INFO esi ON esi.USER_SEQ = esu.USER_SEQ
|
||||||
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
||||||
|
|||||||
Reference in New Issue
Block a user