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