Browse Source

erp库存排序字段修改

yangc 8 years ago
parent
commit
5b1acb9f35

+ 1 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_materialCtrl.js

@@ -20,7 +20,7 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
 
         $scope.sortByERP = 'none';
         $scope.sortByERPReserve = function (type) {
-			$scope.param.sorting = {'stock': type};
+			$scope.param.sorting = {'erpReserve': type};
 			$scope.sortByERP = type == $scope.sortByERP ? 'none' : type;
 			loadData();
 		}