|
@@ -1519,8 +1519,13 @@ import timetoolVue from '../timetool/timetool.vue';
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- if(this.report.time){
|
|
|
- if (this.report.time.workHours == 0 && this.user.timeType.notAllowedNoAttendance == 1){
|
|
|
+ if(this.user.timeType.notAllowedNoAttendance == 1){
|
|
|
+ if (this.report.time){
|
|
|
+ if (this.report.time.workHours == 0){
|
|
|
+ this.$toast.fail('无考勤记录不可填报')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }else{
|
|
|
this.$toast.fail('无考勤记录不可填报')
|
|
|
return
|
|
|
}
|