[fix]风控需求修改

master
lujian 6 years ago
parent fd4c89fdbf
commit 7f16d92781

@ -586,6 +586,8 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
$http.get('/risk/business/partners', {params: $scope.partnerParam}).then(function (resp) { $http.get('/risk/business/partners', {params: $scope.partnerParam}).then(function (resp) {
$scope.partners = resp.data; $scope.partners = resp.data;
if ($scope.partners != null && $scope.partners.length > 0) { if ($scope.partners != null && $scope.partners.length > 0) {
// 由于通用号调单可能无法提供商户client_moniker,所以后台无法查询到订单
if ($scope.partners.length == 1 || $scope.riskEvent.order_type != 5)
$scope.riskEvent.client_moniker = $scope.partners[0].client_moniker; $scope.riskEvent.client_moniker = $scope.partners[0].client_moniker;
} }
else { else {

Loading…
Cancel
Save