浏览代码

新建事件校区区域地点不必填

seimin 2 年之前
父节点
当前提交
57428bd341
共有 1 个文件被更改,包括 13 次插入13 次删除
  1. 13 13
      assets/js/controllers/customform/customformCtrl.js

+ 13 - 13
assets/js/controllers/customform/customformCtrl.js

@@ -21795,20 +21795,20 @@ appFormly.controller("CustomformCtrl", [
21795 21795
               }
21796 21796
             });
21797 21797
           });
21798
-          if (vm.model.incident){
21799
-            if(vm.model.incident.branch.id && vm.model.incident.place.id){
21798
+          // if (vm.model.incident){
21799
+          //   if(vm.model.incident.branch.id && vm.model.incident.place.id){
21800 21800
 
21801
-            }else if(vm.model.incident.branch.id || vm.model.incident.place.id){
21802
-              startsub = false;
21803
-              $scope.ldloading.expand_right = false;
21804
-              SweetAlert.swal({
21805
-                  title: '请填写完整的校区区域地点',
21806
-                  text: "请填写此项!",
21807
-                  type: "error",
21808
-                  confirmButtonColor: "#DD6B55"
21809
-              });
21810
-            }
21811
-          }
21801
+          //   }else if(vm.model.incident.branch.id || vm.model.incident.place.id){
21802
+          //     startsub = false;
21803
+          //     $scope.ldloading.expand_right = false;
21804
+          //     SweetAlert.swal({
21805
+          //         title: '请填写完整的校区区域地点',
21806
+          //         text: "请填写此项!",
21807
+          //         type: "error",
21808
+          //         confirmButtonColor: "#DD6B55"
21809
+          //     });
21810
+          //   }
21811
+          // }
21812 21812
           // if (vm.model.requestershow && vm.model.requestershow != null && vm.model.requestershow != '') {} else {
21813 21813
           //     startsub = false;
21814 21814
           //     $scope.ldloading.expand_right = false;