|
|
|
@ -71,7 +71,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.order_type == 1 || riskEvent.order_type == 5">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].sub_mch_id_required">
|
|
|
|
|
<label class="control-label col-sm-2">Sub Merchant ID</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<p class="form-control-static">
|
|
|
|
@ -98,7 +99,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.order_type == 3">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].rp_order_type">
|
|
|
|
|
<label class="control-label col-sm-2">Royalpay Order Type</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<p class="form-control-static"
|
|
|
|
@ -107,7 +109,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.order_type == 4">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].warning_type_required">
|
|
|
|
|
<label class="control-label col-sm-2">Waning Order Type</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<p class="form-control-static"
|
|
|
|
@ -135,7 +138,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2">
|
|
|
|
|
{{(riskEvent.order_type == 1 || riskEvent.order_type ==2) ? 'Receive Date' : 'Create Date'}}
|
|
|
|
|
{{orderTypes[riskEvent.order_type].date_label}}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<p class="form-control-static">
|
|
|
|
@ -181,7 +184,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.order_type ==3 && riskEvent.royalpay_order_type==1">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].send_clean_days && riskEvent.royalpay_order_type==1">
|
|
|
|
|
<label class="control-label col-sm-2">是否发送清算周期变更</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox"
|
|
|
|
@ -231,49 +235,45 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.result_type > 2">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEvent.result_type > 2 && ('10000000000'|withRole)">
|
|
|
|
|
<label class="control-label col-sm-2">Handle Result</label>
|
|
|
|
|
<div class="col-xs-2" ng-if="riskEvent.temporary_close_channel != 1 && enableChannel == 1">
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateChannel(riskEvent.order_type, false, false)"
|
|
|
|
|
ng-if="'10000000000'|withRole">关停渠道
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-2" ng-if="riskEvent.temporary_close_merchant != 1 && clientInfo.is_valid == 1">
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateClient(true, false)"
|
|
|
|
|
ng-if="'10000000000'|withRole">关停商户
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-2" ng-if="'10000000000'|withRole">
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
ng-if="enableChannel == 0"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateChannel(riskEvent.order_type, true, false)">
|
|
|
|
|
重新启用渠道
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-2" ng-if="clientInfo.is_valid == 0">
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateClient(false, false)"
|
|
|
|
|
ng-if="'10000000000'|withRole">重新启用商户
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-2"
|
|
|
|
|
ng-if="riskEvent.order_type==6 && ('10000000000'|withRole)">
|
|
|
|
|
<button class="btn btn-info" type="button"
|
|
|
|
|
ng-click="commitChargebackStatus('ACCEPTED')">放弃申诉
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-2"
|
|
|
|
|
ng-if="riskEvent.order_type==6 && ('10000000000'|withRole)">
|
|
|
|
|
<button class="btn btn-info" type="button"
|
|
|
|
|
ng-click="commitChargebackStatus('DECLINED')">申诉成功
|
|
|
|
|
</button>
|
|
|
|
|
<div class="col-xs-10">
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-if="riskEvent.temporary_close_channel != 1 && enableChannel == 1"
|
|
|
|
|
ng-click="updateChannel(riskEvent.order_type, false, false)">
|
|
|
|
|
关停渠道
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateClient(true, false)"
|
|
|
|
|
ng-if="riskEvent.temporary_close_merchant != 1 && clientInfo.is_valid == 1">
|
|
|
|
|
关停商户
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
ng-if="enableChannel == 0"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateChannel(riskEvent.order_type, true, false)">
|
|
|
|
|
重新启用渠道
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-info"
|
|
|
|
|
type="button"
|
|
|
|
|
ng-click="updateClient(false, false)"
|
|
|
|
|
ng-if="clientInfo.is_valid == 0">重新启用商户
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-danger" type="button"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].require_result"
|
|
|
|
|
ng-click="commitChargebackStatus('ACCEPTED')">
|
|
|
|
|
放弃申诉
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-success" type="button"
|
|
|
|
|
ng-if="orderTypes[riskEvent.order_type].require_result"
|
|
|
|
|
ng-click="commitChargebackStatus('DECLINED')">
|
|
|
|
|
申诉成功
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -447,7 +447,7 @@
|
|
|
|
|
ng-model="riskEventEdit.order_type"
|
|
|
|
|
id="order-type-input"
|
|
|
|
|
required
|
|
|
|
|
ng-options="key as value for (key, value) in orderTypes">
|
|
|
|
|
ng-options="key as value.label for (key, value) in orderTypes">
|
|
|
|
|
<option value="">Please Choose</option>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@ -461,7 +461,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEventEdit.order_type != 5"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].partner_code_required"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.client_moniker.$invalid && riskEventForm.client_moniker.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="short-id-input">* Partner Code
|
|
|
|
@ -492,7 +492,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEventEdit.order_type != 4"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].platform_trans_textarea"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.order_ids.$invalid && riskEventForm.order_ids.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="order-ids-input">Platform Transaction IDs
|
|
|
|
@ -513,9 +513,27 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].single_channel_order">
|
|
|
|
|
<label class="control-label col-sm-2">Partner Code</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<p class="form-control-static"
|
|
|
|
|
ng-bind="riskEvent.client_moniker"></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEventEdit.order_type == 5"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].single_channel_order">
|
|
|
|
|
<label class="control-label col-sm-2">Platform Transaction IDs</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<p class="form-control-static">
|
|
|
|
|
{{riskEvent.order_ids}}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].sub_mch_id_required"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.sub_merchant_id.$invalid && riskEventForm.sub_merchant_id.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="order-ids-input">Sub Merchant ID
|
|
|
|
@ -539,7 +557,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="receive-email-input">
|
|
|
|
|
{{(riskEvent.order_type == 1 || riskEvent.order_type ==2) ? 'Receive Date' : 'Create Date'}}
|
|
|
|
|
{{orderTypes[riskEvent.order_type].date_label}}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div style="display: inline-block">
|
|
|
|
@ -549,7 +567,7 @@
|
|
|
|
|
ng-model="riskEventEdit.receive_email_date"
|
|
|
|
|
uib-datepicker-popup
|
|
|
|
|
size="10"
|
|
|
|
|
placeholder="{{(riskEvent.order_type == 1 || riskEvent.order_type ==2) ? 'Receive Date' : 'Create Date'}}"
|
|
|
|
|
placeholder="{{orderTypes[riskEvent.order_type].date_label}}"
|
|
|
|
|
is-open="receiveDate.open"
|
|
|
|
|
ng-click="receiveDate.open=true"
|
|
|
|
|
datepicker-options="{maxDate:today}">
|
|
|
|
@ -617,7 +635,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="riskEvent.order_type != 5">
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="orderTypes[riskEventEdit.order_type].can_send_to_mch">
|
|
|
|
|
<label class="control-label col-sm-2">是否发送商户</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox"
|
|
|
|
|