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:
@@ -214,15 +214,26 @@ export default {
|
||||
if (result != null && result.retCode == '0000') {
|
||||
this.list = result.data.list;
|
||||
this.totalCnt = result.data.list.length;
|
||||
}else{
|
||||
this.initData();
|
||||
this.row.title = '청구 목록 조회 실패';
|
||||
this.row.msg1 = result.retMsg;
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
} catch(err){
|
||||
this.initData();
|
||||
this.row.title = '청구 목록 조회 실패';
|
||||
this.row.msg1 = err;
|
||||
this.$parent.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
initData: function(){
|
||||
this.list = [];
|
||||
this.totalCnt = 0;
|
||||
},
|
||||
customFormatter: function (date) {
|
||||
if (this.sDateDiv == 'month') {
|
||||
return moment(date).format('YYYY-MM');
|
||||
|
||||
Reference in New Issue
Block a user