|
@@ -18,6 +18,13 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
type : "standard"
|
|
type : "standard"
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+ $scope.sortByERP = 'none';
|
|
|
|
|
+ $scope.sortByERPReserve = function (type) {
|
|
|
|
|
+ $scope.param.sorting = {'productDetail.reserve': type};
|
|
|
|
|
+ $scope.sortByERP = type == $scope.sortByERP ? 'none' : type;
|
|
|
|
|
+ loadData();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if ($location.$$path.endsWith('vendor_material_unstandard_erp')) {
|
|
if ($location.$$path.endsWith('vendor_material_unstandard_erp')) {
|
|
|
$scope.tab = 'unstandard_material';
|
|
$scope.tab = 'unstandard_material';
|
|
|
// $scope.standard_tab = 'unstandard';
|
|
// $scope.standard_tab = 'unstandard';
|