<!--miniprogram/pages/invoiceStock/invoiceStock.wxml-->
<view class="formArea noMargin">
	<picker
	 bindchange="setInvoiceType"
	 value="{{invoiceTypeIndex}}"
	 range="{{invoiceType}}"
	 class="lineGroup"
	>
		<view class="lineInner">
			<view class="label">发票类型</view>
			<view class="content">
				<view class="diyInput hasArrow">
					<text wx:if="{{invoiceTypeIndex!==''}}">{{invoiceType[invoiceTypeIndex]}}</text>
					<text wx:if="{{invoiceTypeIndex===''}}" class="placeholderStyle">请选择</text>
				</view>
				<i class="iconfont icon-arrowr arrow" />
			</view>
		</view>
	</picker>
</view>
<view class="topPlaceholder" />
<view wx:if="{{invoiceData.purchaseDetailVOs.length > 0}}" class="list">
	<view bindtap="toDetail" class="item shadow">
		<view wx:if="{{invoiceData.purchaseDetailVOs[0].invoiceCategory===1}}" class="name">发票类别：增值税普通电子发票</view>
		<view wx:if="{{invoiceData.purchaseDetailVOs[0].invoiceCategory===2}}" class="name">发票类别：增值税电子专用发票</view>
		<view wx:if="{{invoiceData.purchaseDetailVOs[0].invoiceCategory===3}}" class="name">发票类别：增值税普通纸质发票</view>
		<view wx:if="{{invoiceData.purchaseDetailVOs[0].invoiceCategory===4}}" class="name">发票类别：增值税专用纸质发票</view>
		<view class="line">剩余发票数：{{invoiceData.purchaseDetailVOs[0].surplusTotalQuantity}}</view>
		<view class="line">开始号码：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoiceStartNo}}</view>
		<view class="line">截止号码：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoiceEndNo}}</view>
		<view class="line">申领份数：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoicePurchaseQuantity}}</view>
		<view class="line">剩余份数：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoiceSurplusQuantity}}</view>
		<view class="line">领购日期：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoicePurchaseDate}}</view>
		<view class="line">领购人员：{{invoiceData.purchaseDetailVOs[0].purchaseRecords[0].invoicePurchaseOperator}}</view>
	</view>
</view>
<loadmore loadmore="{{finish}}" finish="{{finish}}" nodata="{{isNoData}}" />
<view class="paddingBottom" />
<ipx-placeholder/>

