|
@@ -299,11 +299,12 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ui.
|
|
|
app.controller('SaleOrderCtrl', function($scope, $rootScope, $filter, PurcOrderItem, ngTableParams,
|
|
app.controller('SaleOrderCtrl', function($scope, $rootScope, $filter, PurcOrderItem, ngTableParams,
|
|
|
toaster, ReportService, BaseService){
|
|
toaster, ReportService, BaseService){
|
|
|
$rootScope.active = 'order';
|
|
$rootScope.active = 'order';
|
|
|
|
|
+ $scope.active = 'all';
|
|
|
$scope.tableParams = new ngTableParams({
|
|
$scope.tableParams = new ngTableParams({
|
|
|
page : 1, // show first page
|
|
page : 1, // show first page
|
|
|
count : 5, // count per page
|
|
count : 5, // count per page
|
|
|
sorting: {
|
|
sorting: {
|
|
|
- date: 'desc'
|
|
|
|
|
|
|
+ date: 'desc'
|
|
|
}
|
|
}
|
|
|
}, {
|
|
}, {
|
|
|
total : 0,
|
|
total : 0,
|
|
@@ -378,6 +379,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ui.
|
|
|
});
|
|
});
|
|
|
app.controller('SaleChangeCtrl', function($scope, $rootScope, $filter, PurcChange, ngTableParams, toaster, BaseService){
|
|
app.controller('SaleChangeCtrl', function($scope, $rootScope, $filter, PurcChange, ngTableParams, toaster, BaseService){
|
|
|
$rootScope.active = 'change';
|
|
$rootScope.active = 'change';
|
|
|
|
|
+ $scope.active = 'all';
|
|
|
$scope.tableParams = new ngTableParams({
|
|
$scope.tableParams = new ngTableParams({
|
|
|
page : 1,
|
|
page : 1,
|
|
|
count : 5,
|
|
count : 5,
|
|
@@ -424,6 +426,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ui.
|
|
|
});
|
|
});
|
|
|
app.controller('SaleInquiryCtrl', function($scope, $rootScope, $filter, PurcInquiry, ngTableParams, toaster, BaseService){
|
|
app.controller('SaleInquiryCtrl', function($scope, $rootScope, $filter, PurcInquiry, ngTableParams, toaster, BaseService){
|
|
|
$rootScope.active = 'inquiry';
|
|
$rootScope.active = 'inquiry';
|
|
|
|
|
+ $scope.active = 'all';
|
|
|
$scope.tableParams = new ngTableParams({
|
|
$scope.tableParams = new ngTableParams({
|
|
|
page : 1,
|
|
page : 1,
|
|
|
count : 5,
|
|
count : 5,
|
|
@@ -527,6 +530,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ui.
|
|
|
});
|
|
});
|
|
|
app.controller('SaleNoticeCtrl', function($scope, $rootScope, $filter, PurcNotice, ngTableParams, toaster, BaseService){
|
|
app.controller('SaleNoticeCtrl', function($scope, $rootScope, $filter, PurcNotice, ngTableParams, toaster, BaseService){
|
|
|
$rootScope.active = 'notice';
|
|
$rootScope.active = 'notice';
|
|
|
|
|
+ $scope.active = 'all';
|
|
|
$scope.tableParams = new ngTableParams({
|
|
$scope.tableParams = new ngTableParams({
|
|
|
page : 1,
|
|
page : 1,
|
|
|
count : 5,
|
|
count : 5,
|