mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 19:09:49 +09:00
admin_chrg 달력 수정중
This commit is contained in:
@@ -110,6 +110,7 @@ import InsertChrgModal from '../components/InsertChrgModal';
|
||||
import chrgDetailPop from '../components/ChrgDetailPop.vue';
|
||||
import commonModal from "@/components/modal/commonModal";
|
||||
import custMgtApi from '../service/custMgtApi';
|
||||
import { set } from 'vue';
|
||||
|
||||
class CustomATagRenderer {
|
||||
constructor(props) {
|
||||
@@ -252,6 +253,7 @@ export default {
|
||||
this.grid.params.searchType1 = this.searchType1;
|
||||
this.$refs.table.search(this.grid.params, isKeep);
|
||||
this.sendStoreData();
|
||||
|
||||
},
|
||||
|
||||
changePerPage: function () {
|
||||
@@ -291,7 +293,13 @@ export default {
|
||||
}
|
||||
if (this.startDate > this.endDate) {
|
||||
this.startDate = this.endDate;
|
||||
}
|
||||
}
|
||||
// else if(this.startDate<this.endDate){
|
||||
// this.row.title = '날짜 선택';
|
||||
// this.row.msg1 = '조회기간 다시 설정해주세요.';
|
||||
// this.$refs.commonModal.alertModalOpen(this.row);
|
||||
|
||||
}
|
||||
},
|
||||
selectedEndDate(day) {
|
||||
if (day != undefined && day != null) {
|
||||
@@ -338,12 +346,12 @@ export default {
|
||||
},
|
||||
initSetStartDate() {
|
||||
let initStartDate = new Date();
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) );
|
||||
initStartDate.setMonth(Number(moment(initStartDate).format('MM')) -1);
|
||||
this.startDate = initStartDate;
|
||||
},
|
||||
initSetEndDate() {
|
||||
let initEndDate = new Date();
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) +1);
|
||||
initEndDate.setMonth(Number(moment(initEndDate).format('MM')) );
|
||||
this.endDate = initEndDate;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user