electricity_bill_calc_wx/pages/invoiceDetail/index.wxml

74 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--pages/invoiceInfo/index.wxml-->
<!-- <van-cell-group>
<van-field
value="{{ detail.name }}"
label="公司名称"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.tin }}"
label="税号"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.address }}"
label="单位地址"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.phone }}"
label="电话"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.bank }}"
label="开户银行"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.account }}"
label="开户账号"
border="{{ false }}"
readonly
/>
<van-field
value="{{ detail.email }}"
label="邮箱"
border="{{ false }}"
readonly
/>
</van-cell-group>
<view class="wrapper operate">
<van-button type="default" block style="flex: 1" bind:click="handleBack">返回</van-button>
<van-button type="info" block style="margin-left: 30rpx;flex: 1;">编辑</van-button>
</view> -->
<navigator title="发票详细" canBack="{{true}}" bind:back="back" />
<view wx:if="{{detail.status === 2}}">
<view class="wrapper">
<view style="margin-top: 40rpx;"> 尊敬的客户,您好: </view>
<view style="margin-top: 20rpx;"> 已经为您开具订单{{detail.id}}的发票发票数量共计1张如下 </view>
<view style="margin-top: 20rpx;"> 发票类型:数电发票(电子发票),发票号码:{{detail.number}}您可以点击“发票XML文件下载”获取该发票XML文件或者点击“发票PDF文件下载”获取该发票PDF文件 </view>
<view style="margin-top: 20rpx;"> 同时您也可以到预留的邮箱中查看下载发票。 </view>
</view>
<view class="operate">
<van-button type="info" style="flex: 1;" block bind:click="download"> 下载 </van-button>
<van-button type="info" style="flex: 1;margin-left: 40rpx;" block bind:click="jumpToDetail"> 发票明细 </van-button>
</view>
</view>
<view wx:if="{{detail.status === 1}}">
<view class="wrapper">
<view style="margin-top: 40rpx;"> 尊敬的客户,您好: </view>
<view style="margin-top: 20rpx;"> 开票申请已提交,系统正在开票中,请您稍后再查看。 </view>
</view>
<view class="operate">
<van-button type="info" style="flex: 1;" block bind:click="jumpToDetail"> 发票明细 </van-button>
</view>
</view>