Преглед изворни кода

手机端针对凡己去除考勤校验

seyason пре 1 година
родитељ
комит
ef2563085a

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -2230,7 +2230,8 @@ export default {
                     return
                 }
             }
-            if (this.reportTimeType.type == 1 && this.report.time) {
+            //针对凡己,不校验考勤时长
+            if (this.user.companyId != 3918 && this.reportTimeType.type == 1 && this.report.time) {
                 var totalTime = 0;
                 for (var t = 0; t < this.form.domains.length; t++) {
                     totalTime += parseFloat(this.form.domains[t].workingTime);

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit.vue

@@ -1992,8 +1992,8 @@
                         return
                     }
                 }
-
-                if((this.user.timeType.showDdCardtime == 1 || this.user.timeType.showCorpwxCardtime == 1) && this.reportTimeType.type == 1){
+                //针对凡己,不校验考勤时长
+                if(this.user.companyId != 3918 && (this.user.timeType.showDdCardtime == 1 || this.user.timeType.showCorpwxCardtime == 1) && this.reportTimeType.type == 1){
                     let tips = ''
                     for(let m in this.form){
                         let allhours = 0