<import src="detail.skeleton.wxml"/>
<template is="skeleton" wx:if="{{loading}}" />
<view class="intr">
	<view class="num">
		{{detail.billno}}
	</view>
	<view class="exp">状态：{{detail.status}}</view>
	<view class="exp">创建日期：{{detail.createdate}}</view>
	<view class="exp">开票单位：{{detail.enterprisename|| "--"}}</view>
	<view class="exp">备注：{{detail.remarks || "--"}}</view>
</view>
<Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
	<Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
	<HeaderDetails slot='开票单位' list="{{riseLine}}" />
	<DetailLine slot='开票明细' id='DetailLine' disabled='{{detail.status!="新建"}}' />
	<InvoiceList slot='发票' id='InvoiceList' />
	<view style="height: 140rpx;" />
</Yl_FunTabs>

<view class="footer" wx:if="{{detail.status=='新建'}}">
	<van-button custom-class='but' bind:click="submit">提交申请单</van-button>
</view>