master
yixian 4 years ago
parent ddd4a4a181
commit 2838b74fe1

@ -752,7 +752,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
$scope.searchForChargeback = function () {
$scope.riskEvent.order_ids = null;
let channelOrderId = $scope.riskEvent.channel_order_id;
$http.get('/risk/business/chargeback_orders', {channel_order_id: channelOrderId}).then(function (res) {
$http.get('/risk/business/chargeback_orders', {params: {channel_order_id: channelOrderId}}).then(function (res) {
$scope.channel_orders = res.data;
}, function (res) {
commonDialog.alert({type: 'error', title: 'Error', content: res.data.message})

@ -204,6 +204,22 @@
</div>
</div>
</div>
<div class="form-group"
ng-if="riskEvent.order_type == 6 && riskEvent.order_ids">
<label class="control-label col-sm-2"
for="order-ids-input">Platform Transaction ID</label>
<div class="col-sm-8">
<div class="form-control-static" ng-bind="riskEvent.order_ids"></div>
</div>
</div>
<div class="form-group"
ng-if="riskEvent.order_type == 6 && riskEvent.client_moniker">
<label class="control-label col-sm-2"
for="order-ids-input">Client</label>
<div class="col-sm-8">
<div class="form-control-static" ng-bind="riskEvent.client_moniker"></div>
</div>
</div>
<div class="row" ng-if="riskEvent.order_type==6 && channel_orders && !riskEvent.order_ids">
<div class="col-sm-12 table-responsive">
<table class="table table-bordered table-striped">

Loading…
Cancel
Save