storeAccountOrderChecking.html 6.8 KB
<script type="text/javascript" src='js/fancybox/jquery.fancybox.js'></script>
<script>
    $(function (){
        $(".hasDatepicker1,.hasDatepicker2").jcDate({
            IcoClass : "jcDateIco",
            Event : "click",
            Speed : 100,
            Left : 0,
            Top : 28,
            format : "-",
            Timeout : 100
        });

        $(".img").fancybox({
            padding: 0,
            openEffect : 'elastic',
            openSpeed  : 300,
            closeEffect : 'elastic',
            closeSpeed  : 150,
            closeClick : true,
            overlayOpacity:0,
            helpers : {
                overlay : null
            },
            autoScale:true
        });

    });
</script>
<style>
	#jcDate{width: 191px;}
</style>
<div class="pageheader notab">
	<h1 class="pagetitle">对账管理</h1>
	<span class="pagedesc">对账单列表</span>
</div><!--pageheader-->
<paging>
	<div id="contentwrapper" class="contentwrapper">
		<div class="contenttitle2">
			<h3>对账单列表</h3>
		</div>
		<div class="overviewhead">
			<div class="line">
				<label class="label" for="checkingOrderCode" style="color: #555555;">对账单号:</label>
				<div class="input">
					<input type="text" id="checkingOrderCode" ng-model="accountQuery.checkingOrderCode" name="checkingOrderCode"/>
				</div>
				<label class="label" style="color: #555555;">店铺名称:</label>
				<div class="input">
					<input type="text" id="supplierName" ng-model="accountQuery.supplierName" name="supplierName"/>
				</div>
				<label for="auditStatus" class="label" style="color: #555555;">账单状态:</label>
				<div class="input">
					<select type="text" id="auditStatus" ng-model="accountQuery.auditStatus" name="auditStatus">
						<option value=''>--请选择--</option>
						<option value='3'>待确认</option>
						<option value='4'>已确认</option>
					</select>
				</div>
			</div>
			<div class="line">
				<label class="label" style="color: #555555;">结账时间范围:</label>
				<label for="settleStartDate" class="label" style="color: #555555;">开始日期: </label>
				<div class="input">
					<input type="text" id="settleStartDate" class="hasDatepicker1" ng-model="accountQuery.settleStartDate" name="settleStartDate"/>
				</div>
				<label for="settleEndDate" class="label" style="color: #555555;">结束日期: </label>
				<div class="input">
					<input type="text" id="settleEndDate" class="hasDatepicker2" ng-model="accountQuery.settleEndDate" name="settleEndDate"/>
				</div>
				<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="search()"><span>搜索</span></a>
			</div>
		</div>
		<br>
		<!--contenttitle-->
		<div style="margin-bottom: 3px;margin-bottom:15px;">
			&nbsp;&nbsp;&nbsp;<input type="checkbox" style="width: 15px; height: 15px;" class="allcheck" ng-click="allcheck(master)" ng-model="master">&nbsp;&nbsp;全选&nbsp;&nbsp;
			<input type="button" class="stdbtn btn_blue" value="批量确认"  ng-click="verifyOrder()" />
		</div>
		<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3">
			<thead>
			<tr>
				<th class="head0">序列</th>
				<th class="head0">对账单号</th>
				<th class="head0">店铺名</th>
				<th class="head0">结账时间</th>
				<th class="head0">对账单状态</th>
				<th class="head0">确认时间</th>
				<th class="head0">审核时间</th>
				<th class="head0">作废时间</th>
				<th class="head1">结算开始时间</th>
				<th class="head0">结算结束时间</th>
				<th class="head0">营业额</th>
				<th class="head0">优惠券金额</th>
				<th class="head0">退款金额</th>
				<th class="head0">实际营业额</th>
				<th class="head0">总V币金额</th>
				<th class="head0">总V币数量</th>
				<th class="head0">服务费</th>
				<th class="head0">优惠比例</th>
				<th class="head0">应收服务费</th>
				<th class="head0">退款VB数量</th>
				<th class="head0">退款VB金额</th>
				<th class="head0">盈利</th>
				<th class="head0" style="width: 185px; text-align: center;">操作</th>
			</tr>
			</thead>
			<tbody>
			<tr class="gradeX" ng-repeat="account in accounts.datas" >
				<td ng-if="account.auditStatus ==3">
					<input type="checkbox" ng-model="x" style="width: 15px; height: 15px;" ng-checked="master" id="{{account.orderCheckingId}}" ng-click="chk(account.orderCheckingId,master)"/>
				</td>
				<td ng-if="account.auditStatus !=3">
					<input type="checkbox" disabled="disabled" style="width: 15px; height: 15px;"/>
				</td>
				<td>{{ account.orderCheckingId }}</td>
				<td>{{ account.supplierName }}</td>
				<td>{{ account.createDt }}</td>
				<td ng-if="account.auditStatus ==1">失效</td>
				<td ng-if="account.auditStatus ==2||account.auditStatus ==0">待审核</td>
				<td ng-if="account.auditStatus ==3">待确认</td>
				<td ng-if="account.auditStatus ==4">已确认</td>
				<td>{{ account.affirmDt }}</td>
				<td>{{ account.auditDt }}</td>
				<td>{{ account.loseDt }}</td>
				<td>{{ account.settleStartDate }}</td>
				<td>{{ account.settleEndDate }}</td>
				<td>{{ account.businessMoney }}</td>
				<td>{{ account.couponMoney }}</td>
				<td>{{ account.refundMoney }}</td>
				<td>{{ account.realityBusinessMoney }}</td>
				<td>{{ account.deductionVbPrice }}</td>
				<td>{{ account.deductionVb }}</td>
				<td>{{ account.serviceCharge }}</td>
				<td>{{ account.discountRate }}</td>
				<td>{{ account.receivableServiceCharge }}</td>
				<td>{{ account.refundVb }}</td>
				<td>{{ account.refundVbPrice }}</td>
				<td>{{ account.profits }}</td>
				<td style="text-align: center;">
					<a class="btn_edit"
					   href="#accountOrderCheckingDetail/{{account.orderCheckingId}}"  target="_blank">查看订单&nbsp;|&nbsp;</a>
					<a class="btn_edit"
					   href="#accountOrderCheckingRefund/{{account.orderCheckingId}}"  target="_blank">查看退单&nbsp;|&nbsp;</a>
					<a class="btn_oper"
					   ng-click="verifyOrder(account.orderCheckingId)" ng-if="account.auditStatus ==3"  target="_blank">确认&nbsp;|&nbsp;</a>
					<a class="btn_oper"
					   ng-click="exportCheckingOrder(account.orderCheckingId)"  target="_blank">导出对账单&nbsp;|&nbsp;</a>
				</td>
			</tr>
			</tbody>
		</table>
	</div>
	<div class="angular_pager" style="margin-left: 20px;">
		<ul class="pagination" num-pages="numPages" current-page="currentPage" on-select-page="selectPage(page)">
			<li ng-class="{disabled: noPrevious()}"> <a ng-click="selectPrevious()">&laquo;</a>
			</li>
			<li ng-repeat="page in pages" ng-class="{active: isActive(page)}"> <a ng-click="selectPage(page)">{{page}}</a>
			</li>
			<li ng-class="{disabled: noNext()}"> <a ng-click="selectNext()">&raquo;</a>
			</li>
			<li><span>共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b></span></li>
		</ul>
	</div>
</paging>