<!--pages/ticketRed/redDetail.wxml-->
<view class="divide"></view>
<view class="formArea">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">流水号</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.invoiceReqFlowNo}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">原流水号</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.oriInvoiceNumber}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">原发票代码</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.oriInvoiceCode}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">销方企业税号</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.belongEntTaxId}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">销方名称</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.belongEntName}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">购方名称</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.customerName}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">发票代码</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.invoiceCode?result.invoiceCode:'-'}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">发票号码</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.invoiceNumber?result.invoiceNumber:'-'}}</text>
				</view>
			</view>
		</view>
	</view>
</view>
<view class="formArea">
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">价税合计金额</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.totalAmountTaxes?'￥'+result.totalAmountTaxes:0}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">开票日期</view>
			<view class="content">
				<view class="diyInput">
					<text class="gray">{{result.invoiceDate}}</text>
				</view>
			</view>
		</view>
	</view>
	<view wx:if="{{result.pdfUrl}}" class="lineGroup">
		<view class="lineInner">
			<view class="label">发票PDF</view>
			<view class="content">
				<view class="diyInput">
					<text bindtap="openDoc" class="link">点击查看</text>
				</view>
			</view>
		</view>
	</view>
	<view class="lineGroup">
		<view class="lineInner">
			<view class="label">开票状态</view>
			<view class="content">
				<view class="diyInput">
					<text wx:if="{{result.status===2}}" class="warning">开票中</text>
					<text wx:if="{{result.status===3}}" class="black">开票成功</text>
					<text wx:if="{{result.status===4}}" class="blue">开票失败</text>
				</view>
			</view>
		</view>
	</view>
</view>