liuhj месяцев назад: 3
Родитель
Сommit
2415498210
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      src/components/Resource/VisitSchedule.vue

+ 7 - 0
src/components/Resource/VisitSchedule.vue

@@ -319,6 +319,13 @@ export default {
         },
         //报批行程保存
         SaveApprovalJourney() {
+            for (let i = 0; i < this.tablearr.length; i++) {
+                for (let j = 0; j < this.tablearr[i].chiList.length; j++) {
+                    if(this.tablearr[i].chiList[j].timeInterval==null){
+                        this.tablearr[i].chiList[j].timeInterval=[];
+                    }
+                }
+            }
             var url = "/api/Groups/SaveApprovalJourney"
             var that = this
             this.$axios({