<!--pages/ticketDetail/ticketDetail.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>
	<block wx:if="{{result.hongchongFlag===5}}">
		<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}}</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}}</text>
					</view>
				</view>
			</view>
		</view>
	</block>
	<block wx:if="{{result.hongchongFlag!==5}}">
		<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.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.invoicePerson}}</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.payee}}</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.reviewer}}</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.customerEntTaxId}}</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 wx:if="{{result.interactType===1}}" class="gray">邮箱</text>
						<text wx:if="{{result.interactType===2}}" class="gray">短信</text>
						<text wx:if="{{result.interactType===3}}" class="gray">微信</text>
						<text wx:if="{{result.interactType===4}}" class="gray">支付宝</text>
						<text wx:if="{{result.interactType===5}}" class="gray">其他</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.interactTypeDetail}}</text>
					</view>
				</view>
			</view>
		</view>
	</block>
</view>
<block wx:if="{{result.hongchongFlag===5}}">
	<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>
</block>
<block wx:if="{{result.hongchongFlag!==5}}">
	<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.totalAmount?'￥'+result.totalAmount: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.totalTaxes?'￥'+result.totalTaxes:0}}</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.invoiceCategory===1}}" class="gray">增值税普通电子发票</text>
						<text wx:if="{{result.invoiceCategory===2}}" class="gray">增值税电子专用发票</text>
						<text wx:if="{{result.invoiceCategory===3}}" class="gray">增值税普通纸质发票</text>
						<text wx:if="{{result.invoiceCategory===4}}" class="gray">增值税专用纸质发票</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}}</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}}</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 class="lineGroup">
			<view class="lineInner">
				<view class="label">开票方式</view>
				<view class="content">
					<view class="diyInput">
						<text wx:if="{{result.invoiceWay===1}}" class="gray">开具</text>
						<text wx:if="{{result.invoiceWay===2}}" class="gray">企业扫码开票</text>
						<text wx:if="{{result.invoiceWay===3}}" class="gray">待开抬头</text>
						<text wx:if="{{result.invoiceWay===4}}" class="gray">待开发票</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</block>
<ipx-placeholder></ipx-placeholder>