<!--pages/ticketProdetail/ticketProdetail.wxml-->
<view wx:if="{{pages>0}}" class="formTitle">发票内容</view>
<view wx:for="{{list}}" wx:key="invoiceReqFlowNo" class="formArea">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">货物或应税劳务名称</view>
			<view class="content">
				<view class="diyInput">{{item.itemName}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">数量</view>
			<view class="content">
				<view class="diyInput">{{item.number}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">单价（含税）</view>
			<view class="content">
				<view class="diyInput">{{item.price?'￥'+item.price:0}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">金额（含税）</view>
			<view class="content">
				<view class="diyInput">{{item.amount?'￥'+item.amount:0}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">税率</view>
			<view class="content">
				<view class="diyInput">{{item.taxRate?item.taxRate:'0'}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup gray">
		<view class="lineInner">
			<view class="label">税额</view>
			<view class="content">
				<view class="diyInput">{{item.taxes?'￥'+item.taxes:0}}</view>
			</view>
		</view>
	</view>
</view>
<view wx:if="{{pages>0}}" class="formArea noMargin">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">发票总金额</view>
			<view class="content">
				<view class="diyInput">{{moneyTotal?'￥'+moneyTotal:0}}</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">发票总税额</view>
			<view class="content">
				<view class="diyInput">{{rateTotal?'￥'+rateTotal:0}}</view>
			</view>
		</view>
	</view>
</view>
<loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
<ipx-placeholder></ipx-placeholder>