|
|
@@ -1552,7 +1552,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
|
|
|
// 查找客户
|
|
|
app.controller('DbfindCustCtrl', ['$scope', 'Customer', 'BaseService', 'ngTableParams', 'toaster', '$modalInstance', function($scope, Customer, BaseService, ngTableParams, toaster, $modalInstance){
|
|
|
- $scope.customerParams = new ngTableParams({
|
|
|
+ $scope.tableParams = new ngTableParams({
|
|
|
page : 1,
|
|
|
count : 10
|
|
|
}, {
|
|
|
@@ -1585,7 +1585,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
|
|
|
// 查找客户物料
|
|
|
app.controller('DbfindCustProdCtrl', ['$scope', 'Product', 'BaseService', 'ngTableParams', 'toaster', '$modalInstance', 'custUU', function($scope, Product, BaseService, ngTableParams, toaster, $modalInstance, custUU){
|
|
|
- $scope.customerParams = new ngTableParams({
|
|
|
+ $scope.tableParams = new ngTableParams({
|
|
|
page : 1,
|
|
|
count : 10
|
|
|
}, {
|
|
|
@@ -1623,7 +1623,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
// 搜索框回车
|
|
|
$scope.onSearch = function() {
|
|
|
$scope.tableParams.page(1);
|
|
|
- $scope.customerParams.reload();
|
|
|
+ $scope.tableParams.reload();
|
|
|
};
|
|
|
}]);
|
|
|
|