Explorar el Código

用户删除功能优化,添加是否主库字段

admin hace 5 años
padre
commit
940d45aff8

+ 1 - 1
src/main/resources/static/app/storage/views/foodbasicinfo/foodCardDetails/foodbasicinfo-central-corn.html

@@ -131,7 +131,7 @@
131 131
 										<td style="text-align:center;">
132 132
 											收获年度
133 133
 										</td>
134
-										<td>{{foodbasicinfo.growYear}}</td>
134
+										<td>{{dicData[foodbasicinfo.growYear]}}</td>
135 135
 										<td style="text-align:center;">
136 136
 											入库时间
137 137
 										</td>

+ 1 - 1
src/main/resources/static/app/storage/views/foodbasicinfo/foodCardDetails/foodbasicinfo-central-rice.html

@@ -131,7 +131,7 @@
131 131
                                             <td style="text-align:center;">
132 132
                                                 收获年度
133 133
                                             </td>
134
-                                            <td>{{foodbasicinfo.growYear}}</td>
134
+                                            <td>{{dicData[foodbasicinfo.growYear]}}</td>
135 135
                                             <td style="text-align:center;">
136 136
                                                 入库时间
137 137
                                             </td>

+ 1 - 1
src/main/resources/static/app/storage/views/foodbasicinfo/foodCardDetails/foodbasicinfo-central-wheat.html

@@ -131,7 +131,7 @@
131 131
                                             <td style="text-align:center;">
132 132
                                                 收获年度
133 133
                                             </td>
134
-                                            <td>{{foodbasicinfo.growYear}}</td>
134
+                                            <td>{{dicData[foodbasicinfo.growYear]}}</td>
135 135
                                             <td style="text-align:center;">
136 136
                                                 入库时间
137 137
                                             </td>

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

@@ -33,7 +33,7 @@ angular.module('app.system').controller("userCtrl",
33 33
 
34 34
         // 删除一条记录
35 35
         $scope.remove = function(userId) {
36
-            var flag = confirm("确定要删除吗?");
36
+            var flag = confirm("确定要删除吗?删除用户会同时删除当前用户对应的员工的信息,请知悉!");
37 37
             console.log(flag);
38 38
             if (!flag) {
39 39
                 return;

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

@@ -451,6 +451,16 @@
451 451
 									            </span><input type="text" name="birdsRemote" ng-model="orgInfo.birdsRemote" placeholder="" readonly="">
452 452
 											</div>
453 453
 										</section>
454
+										<section class="col col-4">
455
+											<label class="label">是否主库<span style="color: red;">*</span></label>
456
+											<label class="select"> 
457
+												<select ng-model="orgInfo.sfzk" name="sfzk" class="form-control" required>
458
+													<option value="">请选择</option>
459
+													<option value="0">是</option>
460
+													<option value="1">否</option>
461
+												</select><i></i>
462
+											</label>
463
+										</section>
454 464
 									</div>
455 465
 								</fieldset>
456 466
 								

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 12898 - 12898
src/main/resources/static/build/app.js