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

【ERP】-- 空闲库存排序删除默认库存排序方式

wangyc 8 лет назад
Родитель
Сommit
6c9ba3c702

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

@@ -501,13 +501,6 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
 		};
 
 		var loadData = function () {
-			var pathname = window.location.pathname;
-			if (pathname.substring(pathname.lastIndexOf('/') + 1) == 'vendor_erp') {
-				$scope.param.sorting = {
-					erpReserve: 'DESC'
-				};
-			}
-			console.log(window.location.pathname);
 			Material.getAll($scope.param, function (data) {
 				$scope.materialAll = data;
 				$scope.currenctMaterial = data.content;