|
|
@@ -3072,7 +3072,7 @@ export default {
|
|
|
for (var t = 0; t < this.form.domains.length; t++) {
|
|
|
totalTime += parseFloat(this.form.domains[t].workingTime);
|
|
|
}
|
|
|
- if (this.report.time.workHours && totalTime > parseFloat(this.report.time.workHours)) {
|
|
|
+ if (!this.report.abnormalTime && this.report.time.workHours && totalTime > parseFloat(this.report.time.workHours)) {
|
|
|
this.$toast.fail("填报工时之和" + (totalTime) + "h不能超过考勤总工时(" + this.report.time.workHours.toFixed(1) + "h)");
|
|
|
return;
|
|
|
}
|