rechargeCountDaily.vm 6.09 KB
$page.setTitle("充值日汇总报表")
<div class="xn-breadcrumb xn-width auto clearfix ">
    <ul class="breadcrumb">
        <li><a class="icon icon-home_page" href="$customizationLink.setTarget("index")"></a></li>
        <li><a href="$customizationLink.setTarget("report")">报表中心</a></li>
        <li class="active">充值日汇总报表</li>
    </ul>
</div>

<div class="xn-main  auto xn-width  clearfix" ng-controller="RechargeAmountDailyController"  ng-init="vm.op = 'pointsDetail'">
    <div class="pm-task-bottom-top pm-plan-bottom-top  mt_10  mb_10 clearfix">
        <h3>充值日汇总报表</h3>
    </div>
    <!--搜索部分-->
    <div class="xn-input-line clearfix">
        <div class="xn_search_box auto">
            <div class="xn-input-line  clearfix">
                <input  type="hidden"  id="op"  name="op"  ng-model="vm.op" >
                <label class="xn-col-sm-4 l-h-34 34 xn-text-right">开始日期:</label>
                <div class="xn-col-sm-8">
                    <div class="input-group openData">
                        <input  type="hidden"  id="op"  name="op" ng-model="vm.op" value="couponDetail">
                        <input type="text" class="form-control" id="startDate"  placeholder="开始日期"  ng-model="vm.startSubmitTime" name="regularDate"
                               datepicker-popup="yyyy-MM-dd" is-open="startDate" min-date="minDate"  datepicker-options="dateOptions"
                               date-disabled="disabled(date, mode)"  close-text="关闭" current-text="今天"  clear-text="清除">
                        <span class="input-group-btn">
                            <button class="btn btn-default" type="button"  ng-click="openStart($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                        </span>
                    </div>
                </div>
                <label class="xn-col-sm-4 l-h-34 34 xn-text-right">结束日期:</label>
                <div class="xn-col-sm-8">
                    <div class="input-group openData">
                        <input type="text" class="form-control" id="endDate"  placeholder="结束日期"  ng-model="vm.endSubmitTime" name="regularDate"
                               datepicker-popup="yyyy-MM-dd" is-open="endDate" min-date="minDate"  datepicker-options="dateOptions"
                               date-disabled="disabled(date, mode)"  close-text="关闭" current-text="今天"  clear-text="清除">
                        <span class="input-group-btn">
                                <button class="btn btn-default" type="button"  ng-click="openEnd($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                            </span>
                    </div>
                </div>
                <label class="xn-col-md-3 xn-lh xn-text-right pr-0 font-light">会员:</label>
                <div class="xn-col-md-4">

                    <div  xn-lookup  ng-show="!showBar" show-field="member.nickName" ng-model="vm.member"  data-method="getMemberList(data)" placeholder="请输入会员名称"
                          data-search-val="name" data-callback="selectMember(data)" >
                    </div>
                    <p ng-show="showBar" style="height: 34px;display: inline-block;line-height: 34px;">{{memberName}}</p>
                </div>

            </div>


            <div class="xn-input-line clearfix pt_10">
                <div class="xn-input-line  clearfix">
                    <button class="btn btn-success btn-sm w_80 f-right ml_10"  ng-click="reportExport()">批量导出</button>
                    <button type="button" class="btn btn-success btn-sm w_80 f-right"  ng-click="doFind()"  ng-show="!showBar">查询</button>
                </div>
            </div>
        </div>
    </div>
    <!--搜索部分结束-->
    <div class="xn-table-wrap" >
        <table  class="table table-bordered table-striped "
            <thead>
            <tr>
                <th class="col-md-2" style="text-align: center;background:#EEE;">变更时间</th>
                <th class="col-md-1"  style="text-align: center;background:#EEE;">会员ID</th>
                <th class="col-md-1"  style="text-align: center;background:#EEE;">会员名称</th>
                <th class="col-md-1"  style="text-align: center;background:#EEE;">会员类别</th>
                <th class="col-md-1"  style="text-align: center;background:#EEE;">充值金额</th>
                <th class="col-md-1"  style="text-align: center;background:#EEE;">操作</th>
            </tr>
            </thead>
            <tbody id="tbody" >
            <tr ng-repeat= "line in shipmentLineList" style="text-align: center">
                <td style="font-size: 13px">{{line.paymentTime|timeReturnFormat}}</td>
                <td ><pre>{{line.memberId}}</pre>

##                    <br />{{line.submitTime}}
                </td>
                <td >{{line.name}}</td>
##                <td >{{line.orderNumber}}<br />{{line.orderSubmitTime}}<br/></td>
                <td >
                    {{line.type}}
                </td>
                <td style="text-align: right">{{line.rechargeAmount}}</td>
                <td ><a href="$customizationLink.setTarget("/report/rechargeDetail")?memberId={{line.memberId}}&dateId={{line.dateId}}">查看详细</a></td>

            </tr>
            <tr  ng-if="!vm.totalCount || vm.totalCount == 0"><td colspan="12" class="center">无法找到相应的记录</td></tr>
            </tbody>
        </table>
        <div class="xn-table-wrap xn-text-center clearfix" ng-if="vm.totalCount">
            <div class="f-left mt_20 mb_10">共{{vm.totalCount}}条</div>
            <pagination  ng-show="vm.totalCount>vm.pageSize"  ng-change="getList()"  max-size="maxPageSize" total-items="vm.totalCount"
                         ng-model="vm.pageNumber" items-per-page="vm.pageSize"  class="pagination-sm"  boundary-links="true"
                         previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
        </div>
    </div>
</div>
<script type="text/javascript" src="$customizationContent.getURI('dist/scripts/report.js')"></script>