|
|
@ -5,12 +5,12 @@
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<div ui-view>
|
|
|
|
<div ui-view>
|
|
|
|
<section class="content-header">
|
|
|
|
<section class="content-header">
|
|
|
|
<h1>Custom</h1>
|
|
|
|
<h1>海关</h1>
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<i class="fa fa-sitemap"></i> Custom
|
|
|
|
<i class="fa fa-sitemap"></i> 海关
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="active">Report Custom </li>
|
|
|
|
<li class="active">海关申报</li>
|
|
|
|
</ol>
|
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
@ -35,52 +35,114 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>-->
|
|
|
|
</div>-->
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-xs-4 col-sm-3">Report Status</label>
|
|
|
|
<label class="control-label col-xs-4 col-sm-3">报关状态</label>
|
|
|
|
<div class="col-xs-8 col-sm-6">
|
|
|
|
<div class="col-xs-8 col-sm-6">
|
|
|
|
<p class="form-control-static">
|
|
|
|
<p class="form-control-static">
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='ALL'}"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='ALL'}"
|
|
|
|
ng-click="params.report_status='ALL';loadList()">All</a> |
|
|
|
|
ng-click="params.report_status='ALL';loadList()">全部</a> |
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='0'}"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='0'}"
|
|
|
|
ng-click="params.report_status='0';loadList()">Saved</a> |
|
|
|
|
ng-click="params.report_status='0';loadList()">暂存</a> |
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='1'}"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='1'}"
|
|
|
|
ng-click="params.report_status='1';loadList()">Submitted</a> |
|
|
|
|
ng-click="params.report_status='1';loadList()">已提交</a> |
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='2'}"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='2'}"
|
|
|
|
ng-click="params.report_status='2';loadList()">Failed</a> |
|
|
|
|
ng-click="params.report_status='2';loadList()">失败</a> |
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='3'}"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.report_status=='3'}"
|
|
|
|
ng-click="params.report_status='3';loadList()">Success</a> |
|
|
|
|
ng-click="params.report_status='3';loadList()">成功</a> |
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-xs-4 col-sm-3">Date</label>
|
|
|
|
<label class="control-label col-xs-4 col-sm-3">渠道</label>
|
|
|
|
<div class="col-xs-8 col-sm-6">
|
|
|
|
<div class="col-xs-8 col-sm-6">
|
|
|
|
<input class="form-control" ng-model="params.date"
|
|
|
|
<p class="form-control-static">
|
|
|
|
uib-datepicker-popup size="10" is-open="ctrl.dateInput"
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.channel=='ALL'}"
|
|
|
|
ng-click="ctrl.dateInput=true"
|
|
|
|
ng-click="params.channel='ALL';loadList(1)">全部</a> |
|
|
|
|
datepicker-options="{minDate:minDate,maxDate:maxDate}" name="date" required>
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.channel=='WECHAT'}"
|
|
|
|
|
|
|
|
ng-click="params.channel='WECHAT';loadList(1)">微信</a> |
|
|
|
|
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.channel=='ALIPAY'}"
|
|
|
|
|
|
|
|
ng-click="params.channel='ALIPAY';loadList(1)">支付宝</a>|
|
|
|
|
|
|
|
|
<a role="button" ng-class="{'bg-primary':params.channel=='AlipayOnline'}"
|
|
|
|
|
|
|
|
ng-click="params.channel='AlipayOnline';doAnalysis(1)">支付宝线上</a>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label class="control-label col-xs-4 col-sm-3">时间区间</label>
|
|
|
|
|
|
|
|
<div style="display: inline-block">
|
|
|
|
|
|
|
|
<input class="form-control" id="date-from-input"
|
|
|
|
|
|
|
|
ng-model="params.datefrom"
|
|
|
|
|
|
|
|
uib-datepicker-popup size="10" placeholder="From"
|
|
|
|
|
|
|
|
is-open="dateBegin.open" ng-click="dateBegin.open=true"
|
|
|
|
|
|
|
|
datepicker-options="{maxDate:params.dateto||today}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
~
|
|
|
|
|
|
|
|
<div style="display: inline-block">
|
|
|
|
|
|
|
|
<input class="form-control" id="date-to-input"
|
|
|
|
|
|
|
|
ng-model="params.dateto"
|
|
|
|
|
|
|
|
uib-datepicker-popup size="10" placeholder="To"
|
|
|
|
|
|
|
|
is-open="dateTo.open" ng-click="dateTo.open=true"
|
|
|
|
|
|
|
|
datepicker-options="{minDate:params.datefrom,maxDate:today}">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
|
|
|
ng-click="chooseToday()">今日</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
|
|
|
ng-click="chooseYesterday()">昨日</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
|
|
|
ng-click="chooseLast7Days()">过去7日</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
|
|
|
ng-click="thisMonth()">本月</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
|
|
|
ng-click="lastMonth()">上月</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<div class="col-xs-8 col-sm-6">
|
|
|
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="loadList(1)">
|
|
|
|
|
|
|
|
<i class="fa fa-search"></i> 查找
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button class="btn btn-primary" type="button" ng-click="loadList(1)"><i
|
|
|
|
|
|
|
|
class="fa fa-search"></i></button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--<div class="form-group">-->
|
|
|
|
|
|
|
|
<!--<label class="control-label col-xs-4 col-sm-3">Date</label>-->
|
|
|
|
|
|
|
|
<!--<div class="col-xs-8 col-sm-6">-->
|
|
|
|
|
|
|
|
<!--<input class="form-control" ng-model="params.date"-->
|
|
|
|
|
|
|
|
<!--uib-datepicker-popup size="10" is-open="ctrl.dateInput"-->
|
|
|
|
|
|
|
|
<!--ng-click="ctrl.dateInput=true"-->
|
|
|
|
|
|
|
|
<!--datepicker-options="{minDate:minDate,maxDate:maxDate}" name="date" required>-->
|
|
|
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
<!--<button class="btn btn-primary" type="button" ng-click="loadList(1)"><i-->
|
|
|
|
|
|
|
|
<!--class="fa fa-search"></i></button>-->
|
|
|
|
|
|
|
|
<!--</div>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
<div class="box-header">
|
|
|
|
<h3 class="box-title">
|
|
|
|
<h3 class="box-title" style="display: inherit">
|
|
|
|
Custom Order List
|
|
|
|
报关订单列表
|
|
|
|
|
|
|
|
<a style="float: right;padding-right: 40px" href="https://mpay.royalpay.com.au/docs/en/#api-CustomsDeclare-declare_report">商户报关API</a>
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-body table-responsive">
|
|
|
|
<div class="box-body table-responsive">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>Order Id</th>
|
|
|
|
<th>订单号</th>
|
|
|
|
<th>Time</th>
|
|
|
|
<th>时间</th>
|
|
|
|
<th>Order Amount</th>
|
|
|
|
<th>金额</th>
|
|
|
|
<th>CNY Amount</th>
|
|
|
|
<th>金额(CNY)</th>
|
|
|
|
<th>Report Status</th>
|
|
|
|
<th>报关状态</th>
|
|
|
|
<th>Operation</th>
|
|
|
|
<th>操作</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
@ -116,20 +178,20 @@
|
|
|
|
<th ng-bind="order.cny_amount"></th>
|
|
|
|
<th ng-bind="order.cny_amount"></th>
|
|
|
|
<th ng-bind="order.report_status|reportStatus"></th>
|
|
|
|
<th ng-bind="order.report_status|reportStatus"></th>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a ng-if="order.report_status==null" class="text-primary" role="button" title="Edit"
|
|
|
|
<a ng-if="order.report_status==null" class="text-primary" role="button" title="提交"
|
|
|
|
ng-click="add(order)">
|
|
|
|
ng-click="add(order)">
|
|
|
|
Submit
|
|
|
|
提交
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<!--<a class="text-primary" role="button" title="Edit"-->
|
|
|
|
<!--<a class="text-primary" role="button" title="Edit"-->
|
|
|
|
<!--ng-click="edit(order)">-->
|
|
|
|
<!--ng-click="edit(order)">-->
|
|
|
|
<!--Edit-->
|
|
|
|
<!--Edit-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--</a>-->
|
|
|
|
<a ng-if="order.report_status!=null" class="text-primary" role="button" title="Detail"
|
|
|
|
<a ng-if="order.report_status!=null" class="text-primary" role="button" title="详情"
|
|
|
|
ng-click="detail(order)">
|
|
|
|
ng-click="detail(order)">
|
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
<a ng-if="order.report_status==2" class="text-primary" role="button" title="Detail"
|
|
|
|
<a ng-if="order.report_status==2" class="text-primary" role="button" title="重新提交"
|
|
|
|
ng-click="resend(order)">
|
|
|
|
ng-click="resend(order)">
|
|
|
|
<i class="fa fa-refresh"></i>
|
|
|
|
<i class="fa fa-refresh"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -153,8 +215,7 @@
|
|
|
|
first-text="«"
|
|
|
|
first-text="«"
|
|
|
|
last-text="»"></uib-pagination>
|
|
|
|
last-text="»"></uib-pagination>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total
|
|
|
|
<div class="col-xs-12">总单数:{{pagination.totalCount}};总页数:{{pagination.totalPages}}
|
|
|
|
Pages:{{pagination.totalPages}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|