<view class="intr">
	<view class="num">
		{{detail.billno}}
	</view>
	<view style="height: 20rpx;" />
	<block wx:if="{{userrole!='经销商'}}">
		<view class="exp">经销商：{{detail.enterprisename || '暂无'}}</view>
		<view class="exp">经销编号：{{detail.agentnum || '暂无'}}</view>
	</block>
	<view class="exp">单据类型：{{detail.type}}</view>
	<view class="exp">单据日期：{{detail.billdate || '暂无'}}</view>
	<view class="exp">来源单号：{{detail.sonum || '暂无'}}</view>
	<view class="exp">是否实物退回：{{detail.isitemreturn==1?'是':'否'}}</view>
	<view class="exp">金额：￥{{handleHide.verify(detail.returnamount||0,'详情金额',privacyFieldC)}}元</view>
	<view class="exp">资金账户：{{detail.accountname||"--"}}</view>
	<view class="exp">单据状态：{{detail.status}}</view>
</view>

<Yl_FunTabs active='{{tabsActive}}' list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
	<Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
	<Product disabled="{{detail.status != '新建'}}" privacyFieldC='{{privacyFieldC}}' detail="{{detail}}" slot="商品明细" id="Product" bind:onSuccess="getDetail" />
	<view style="height: 160rpx;" />
</Yl_FunTabs>

<view class="footer">
	<view class="price">
		<view class="count">
			￥{{handleHide.verify(detail.returnamount||0,'详情金额',privacyFieldC)}}元
		</view>
	</view>
	<view class="but-box">
		<van-button custom-class='but delete' wx:if="{{detail.status=='新建'}}" bind:click="deleteItem">删除申请</van-button>
		<van-button custom-class='but' wx:if="{{detail.status=='新建'}}" bind:click="submit">提交申请</van-button>
		<van-button custom-class='but' wx:if="{{detail.status=='提交'}}" bind:click="notarize">取消申请</van-button>
	</view>
</view>

<wxs src="/utils/hidePrice.wxs" module="handleHide" />