[fix]风控需求修改

master
lujian 6 years ago
parent fd4c89fdbf
commit 7f16d92781

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

Loading…
Cancel
Save