<article class="col-lg-12">
	<div class="card">
		<div class="card-header d-flex align-items-center justify-content-between">
			<h3>货款结算单列表</h3>
		</div>
		<div class="card-body">
			<table class="table">
				<colgroup>
					<col width="180px" />
					<col width="160px" />
					<col />
					<col width="120px" />
					<col width="120px" />
				</colgroup>

				<thead>
					<tr>
						<th>付款单号</th>
						<th>结算时间</th>
						<th>结算金额</th>
						<th>结算方式</th>
						<th>操作</th>
					</tr>
				</thead>

				<tbody>
					{set:$seller_id = $this->seller['seller_id']}
					{set:$queryObj=Api::run('getListBySellerBill')}
					{foreach:items=$queryObj->find()}
					<tr>
						<td>{$item['bill_no']}</td>
						<td>{$item['pay_time']}</td>
						<td>{$item['amount']}</td>
						<td>{echo:payment::transferWay($item['way'])}</td>
						<td>
							<a href="{url:/seller/order_goods_list/bill_id/$item['id']}" title="订单明细">
								<i class='fa fa-list fa-lg'></i>
							</a>

							<a href="{url:/market/bill_report/id/$item['id']/seller_id/$seller_id}" title="导出报表">
								<i class="fa fa-file-excel-o fa-lg"></i>
							</a>
						</td>
					</tr>
					{/foreach}
				</tbody>
			</table>
		</div>
	</div>
	{$queryObj->getPageBar()}
</article>