|
|
@@ -8083,6 +8083,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
});
|
|
|
|
|
|
modalInstance.result.then(function(data) {
|
|
|
+ $rootScope.venduu = data.vendorEnterprise.uu;
|
|
|
$scope.id = data.id;
|
|
|
$scope.order.cust = data.vendorEnterprise;
|
|
|
$scope.order.custUser = data.vendorUser;
|
|
|
@@ -8305,8 +8306,11 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
}]);
|
|
|
|
|
|
// 查找供应商
|
|
|
- app.controller('DbfindVendorInfoCtrl', ['$scope', 'BaseService', 'ngTableParams', 'toaster', '$modalInstance', 'Vendor', function($scope, BaseService, ngTableParams, toaster, $modalInstance, Vendor){
|
|
|
+ app.controller('DbfindVendorInfoCtrl', ['$scope', 'BaseService', 'ngTableParams', 'toaster', '$modalInstance', 'Vendor', '$rootScope', function($scope, BaseService, ngTableParams, toaster, $modalInstance, Vendor, $rootScope){
|
|
|
BaseService.scrollBackToTop();
|
|
|
+ if($rootScope.venduu != null) {
|
|
|
+ $scope.venduu = $rootScope.venduu;
|
|
|
+ }
|
|
|
// 搜索框回车
|
|
|
$scope.onSearch = function(keyword) {
|
|
|
$scope.keyword = keyword;
|