|
|
@@ -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;
|