Explorar o código

针对凡己,去掉考勤限制

seyason hai 1 ano
pai
achega
1fe95c0427

+ 2 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -7494,9 +7494,8 @@
                                 }
                             }
                         }
-                        
-
-                        if (this.reportTimeType.type == 1 && this.workForm.time) {
+                        //针对凡己,不校验考勤时长
+                        if (this.user.companyId != 3918 && this.reportTimeType.type == 1 && this.workForm.time) {
                             if (this.workForm.time.workHours && totalTime > parseFloat(this.workForm.time.workHours)) {
                                 this.$message({
                                         message: this.$t('message.Fillinthesumofworkinghours')+(totalTime)+"h"+this.$t('message.Cannotexceedthetotalworkinghoursofattendance')+"("+this.workForm.time.workHours.toFixed(1)+"h)",