Просмотр исходного кода

去除粮食性质为储备粮的

gaodd лет назад: 2
Родитель
Сommit
99d6f4f7f4

+ 5 - 4
src/main/resources/static/app/business/storeWareDetail/controller/storeWareDetailModalCtrl.js

@@ -133,9 +133,10 @@ angular.module('app.business').controller("storeWareDetailModalCtrl",
133 133
     $scope.getAttributeData = function() {
134 134
     	validator = $("#storeWareDetail-form").validate();
135 135
     	var parentid=1032; //粮油性质父级ID
136
-    	var notparentid = null;
137
-    	var notenumid = null;
136
+    	var notparentid = 3045;// 3045 储备粮
137
+    	var notenumid = 3045;
138 138
     	
139
+    	/*
139 140
     	//计划管理下的计划 粮食性质 不取储备粮的,合同和通知单管理下出库业务中的粮食性质不取省级储备粮   用items.planManage区分
140 141
     	var ywlx = items.executeType;
141 142
     	//detailType = "contract"
@@ -146,8 +147,8 @@ angular.module('app.business').controller("storeWareDetailModalCtrl",
146 147
     	} else if (items.detailType == "plan") {
147 148
     		notparentid = 3045;
148 149
     		notenumid = 3045;
149
-    	}
150
-
150
+    	}*/
151
+    	
151 152
         enumService.findConditionEnum($scope.storeWareDetail.grainAttribute, parentid, notparentid, notenumid).then(function(data) {
152 153
             $scope.grainAttributeTreeData = data;
153 154
         },function(data) {