17613754660 před 3 roky
rodič
revize
89246f76b2

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -510,8 +510,11 @@
                 this.$refs.handleSelectTable.clearSelection()
             },
             handleSelectionZzjgbtn2(){
+                if (this.handleSelectionZzjgwillchange == null) {
+                    return
+                }
+                this.handleSelectionZzjgDate[index].departmentId = this.handleSelectionZzjgwillchange[this.handleSelectionZzjgwillchange.length - 1]
                 for (let index = 0; index < this.handleSelectionZzjgDate.length; index++) {
-                    this.handleSelectionZzjgDate[index].departmentId = this.handleSelectionZzjgwillchange[this.handleSelectionZzjgwillchange.length - 1]
                     if (this.handleSelectionZzjgDate[index].role == 1) {
                         this.submitInsert1(this.handleSelectionZzjgDate[index],1)
                     }else{