hefeng 5 роки тому
батько
коміт
be574a7e31

+ 1 - 0
src/main/resources/static/app/system/controller/orgCtrl.js

@@ -148,6 +148,7 @@ function($scope, $rootScope, $state, $stateParams, $filter, orgService, enumServ
148 148
 				$scope.orgInfo.registDate = $filter('date')($scope.orgInfo.registDate, "yyyy-MM-dd");
149 149
 				$scope.orgInfo.completeDate = $filter('date')($scope.orgInfo.completeDate, "yyyy-MM-dd");
150 150
 				$scope.orgInfo.useDate = $filter('date')($scope.orgInfo.useDate, "yyyy-MM-dd");
151
+				$scope.orgInfo.depotProperty = $scope.orgInfo.depotProperty == null ? "1":$scope.orgInfo.depotProperty;
151 152
 			}
152 153
 		}, function(data) {
153 154
 			console.log(data);

+ 2 - 2
src/main/resources/static/app/system/views/org-edit.html

@@ -151,10 +151,10 @@
151 151
 									</div>
152 152
 									<div class="row">
153 153
 										<section class="col col-4">
154
-											<label class="label">地址</label> 
154
+											<label class="label">地址<span style="color: red;">*</span></label> 
155 155
 											<label class="input"> 
156 156
 												<i class="icon-prepend fa fa-map-marker"></i> 
157
-												<input type="text" name="address" ng-model="orgInfo.address" maxlength="20">
157
+												<input type="text" name="address" ng-model="orgInfo.address" maxlength="50" required>
158 158
 											</label>
159 159
 										</section>
160 160
 										<section class="col col-4">