청구검증 데이터 유효성 체크 추가

This commit is contained in:
Jeon
2023-07-24 09:18:44 +09:00
parent 881decfe37
commit 6544cdd4cf
5 changed files with 31 additions and 6 deletions

View File

@@ -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');