瀏覽代碼

baopi时间不能为null

liuhj 3 月之前
父節點
當前提交
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({