refundOrder.html 6.5 KB
<div class="pageheader notab">
	<h1 class="pagetitle">退款/退货列表</h1>
    <span class="pagedesc">管理V商城中的退款/退货订单</span>
	<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 0">
		<li class="current"><a href="#refundGoods/0/0">待处理</a></li>
		<li><a href="#refundGoods/0/1">审核通过</a></li>
		<li><a href="#refundGoods/0/2">审核不通过</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 1">
		<li><a href="#refundGoods/0/0">待处理</a></li>
		<li class="current"><a href="#refundGoods/0/1">审核通过</a></li>
		<li><a href="#refundGoods/0/2">审核不通过</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 0 && refundOrderStatus == 2">
		<li><a href="#refundGoods/0/0">待处理</a></li>
		<li><a href="#refundGoods/0/1">审核通过</a></li>
		<li class="current"><a href="#refundGoods/0/2">审核不通过</a></li>
	</ul>
	
	<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 1">
		<li class="current"><a href="#refundGoods/1/1">待处理</a></li>
		<li><a href="#refundGoods/1/3">审核通过</a></li>
		<li><a href="#refundGoods/1/4">审核不通过</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 3">
		<li><a href="#refundGoods/1/1">待处理</a></li>
		<li class="current"><a href="#refundGoods/1/3">审核通过</a></li>
		<li><a href="#refundGoods/1/4">审核不通过</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 1 && refundOrderStatus == 4">
		<li><a href="#refundGoods/1/1">待处理</a></li>
		<li><a href="#refundGoods/1/3">审核通过</a></li>
		<li class="current"><a href="#refundGoods/1/4">审核不通过</a></li>
	</ul>
	
	<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 3">
		<li class="current"><a href="#refundGoods/3/3">待处理</a></li>
		<li><a href="#refundGoods/3/5">打款成功</a></li>
		<li><a href="#refundGoods/3/6">打款失败</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 5">
		<li><a href="#refundGoods/3/3">待处理</a></li>
		<li class="current"><a href="#refundGoods/3/5">打款成功</a></li>
		<li><a href="#refundGoods/3/6">打款失败</a></li>
	</ul>
	<ul class="hornav" ng-if="type == 3 && refundOrderStatus == 6">
		<li><a href="#refundGoods/3/3">待处理</a></li>
		<li><a href="#refundGoods/3/5">打款成功</a></li>
		<li class="current"><a href="#refundGoods/3/6">打款失败</a></li>
	</ul>
</div>
<paging>
<div id="contentwrapper" class="contentwrapper">
	<!--contenttitle-->
	<!-- 查询条件 -->
		<div class="overviewhead">
		<div class="line">
			<label class="label" for="orderCode">订单号:</label>
			<div class="input">
				<input type="text" id="orderCode" ng-model="refundOrderQuery.orderCode" name="orderCode"/>
			</div>
			<label for="buyerUsername" class="label">买家姓名:</label>
			<div class="input">
				<input type="text" id="buyerUsername" ng-model="refundOrderQuery.buyerUsername" name="buyerUsername"/>
			</div>
			<label for="orderStatus" class="label">退款号:</label>
			<div class="input">
				<input type="text" id="buyerUsername" ng-model="refundOrderQuery.refundCode" name="refundCode"/>
			</div>
		</div>
		<div class="line">
			<label for="buyerPhone" class="label">买家手机:</label>
			<div class="input">
				<input type="text" id="buyerPhone" ng-model="refundOrderQuery.buyerPhone" name="buyerPhone"/>
			</div>
			<label for="erpImport" class="label">退款类型: </label>
			<div class="input">
				<select type="text" id="refundType" ng-model="refundOrderQuery.refundType" name="refundType" style="padding: 8px 8px;">
					<option value=''>--请选择--</option>
					<option value='1'>仅退款</option>
					<option value='2'>退货退款</option>
					<option value='3'>换货</option>
				</select>
			</div>
			<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOrder()"><span>搜索</span></a>
		</div>
    </div>
    <br>
    
	<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="head0">申请日期</th>
				<th class="head0" style="width: 80px;">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr class="gradeX" ng-repeat="refundOrder in refundOrders.datas" >
				<td>{{ refundOrder.refundCode }}</td>
				<td>{{ refundOrder.orderCode }}</td>
				<td>{{ refundOrder.buyerUsername }}</td>
				<td>{{ refundOrder.buyerPhone }}</td>
				<td ng-if="refundOrder.refundType ==1">仅退款</td>
				<td ng-if="refundOrder.refundType ==2">退货退款</td>
				<td ng-if="refundOrder.refundType ==3">换货</td>
				<td>{{ refundOrder.refundMoney }}</td>
				<td>{{ refundOrder.orderMoney }}</td>
				<td>{{ refundOrder.refundProcedureStatusStr }}</td>
				<td>{{ refundOrder.applyDate}}</td>
				<td><a href="#refundOrderDetail/{{refundOrder.orderCode}}/{{refundOrder.refundId}}/{{type}}" class="stdbtn btn_info">
					<span ng-if="type == 0 && refundOrderStatus == 0">查看详情</span>
					<span ng-if="type == 0 && (refundOrderStatus == 1 || refundOrderStatus == 2)">退款详情</span>
					<span ng-if="type == 1 && refundOrderStatus == 1">查看详情</span>
					<span ng-if="type == 1 && (refundOrderStatus == 3 || refundOrderStatus == 4)">退款详情</span>
					<span ng-if="type == 3 && refundOrderStatus == 3">查看详情</span>
					<span ng-if="type == 3 && (refundOrderStatus ==5 || refundOrderStatus == 6)">退款详情</span>
					<span ng-if="type == -1 ">查看详情</span>
				</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 style="position: relative;top: 5px;margin-left: 10px;font-size: 14px;">共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b></span></li>
	</ul>
</div>
</paging>