|
@@ -5576,7 +5576,7 @@
|
|
for (var t=0;t<this.workForm.domains.length; t++) {
|
|
for (var t=0;t<this.workForm.domains.length; t++) {
|
|
totalTime += parseFloat(this.workForm.domains[t].workingTime);
|
|
totalTime += parseFloat(this.workForm.domains[t].workingTime);
|
|
}
|
|
}
|
|
- if (this.reportTimeType.type == 1 && this.workForm.time && user.timeType.noWorkToReport == 1) {
|
|
|
|
|
|
+ if (this.reportTimeType.type == 1 && this.workForm.time && this.user.timeType.noWorkToReport == 1) {
|
|
if (this.workForm.time.workHours && totalTime > parseFloat(this.workForm.time.workHours)) {
|
|
if (this.workForm.time.workHours && totalTime > parseFloat(this.workForm.time.workHours)) {
|
|
this.$message({
|
|
this.$message({
|
|
message: this.$t('message.Fillinthesumofworkinghours')+(totalTime)+"h"+this.$t('message.Cannotexceedthetotalworkinghoursofattendance')+"("+this.workForm.time.workHours.toFixed(1)+"h)",
|
|
message: this.$t('message.Fillinthesumofworkinghours')+(totalTime)+"h"+this.$t('message.Cannotexceedthetotalworkinghoursofattendance')+"("+this.workForm.time.workHours.toFixed(1)+"h)",
|