11111111
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
</view>
|
||||
</loading-state>
|
||||
|
||||
<view v-if="data.payStatus=='4'&&data.invoiceStatus>'2'"
|
||||
<view
|
||||
style="position: absolute; bottom: 0px; display: flex;flex-direction: row;width: 100%;align-items: center;
|
||||
box-sizing: border-box; padding-left: 16px;padding-right: 16px;background: #fff; height: 8vh;border-top: 1px solid #EFEFEF;">
|
||||
|
||||
@@ -147,11 +147,11 @@
|
||||
<text style="font-size: 16px;color: #666; border: 1px #D3D3D3 solid; height: 5vh;line-height: 5vh;
|
||||
padding: 0px 20px;border-radius: 20px;" @click="makeInvoice(data.sid)" v-if="data.invoiceStatus=='0'">开具发票</text>
|
||||
<text style="font-size: 16px;color: #666; border: 1px #D3D3D3 solid; height: 5vh;line-height: 5vh;
|
||||
padding: 0px 20px;border-radius: 20px;" v-if="data.invoiceStatus=='1'">发票审核中</text>
|
||||
padding: 0px 20px;border-radius: 20px;" v-if="data.invoiceStatus=='1'">发票开具中</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="data.payStatus=='4'&&data.invoiceStatus=='3'"
|
||||
<!-- <view v-if="data.payStatus=='4'&&data.invoiceStatus=='3'"
|
||||
style="position: absolute; bottom: 0px; display: flex;flex-direction: row;width: 100%;align-items: center;
|
||||
box-sizing: border-box; padding-left: 16px;padding-right: 16px;background: #fff; height: 8vh;border-top: 1px solid #EFEFEF;">
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
<text style="font-size: 16px;color: #666; border: 1px #D3D3D3 solid; height: 5vh;line-height: 5vh;
|
||||
padding: 0px 20px;border-radius: 20px;" @click="makeInvoice(data.sid)">重新开票</text>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view v-if="data.payStatus=='2'"
|
||||
style="position: absolute; bottom: 0px; display: flex;flex-direction: row;width: 100%;align-items: center;
|
||||
@@ -279,7 +279,39 @@
|
||||
|
||||
})
|
||||
},
|
||||
makeInvoice(sid) {
|
||||
makeInvoice() {
|
||||
// let _this = this
|
||||
|
||||
// var params = {
|
||||
// outTradeNo: _this.data.outTradeNo,
|
||||
// totalTee: _this.data.totalTee,
|
||||
// // phone: getApp().globalData.mobile,
|
||||
// }
|
||||
|
||||
// console.log("makeInvoice", params);
|
||||
|
||||
// _this.$api.wxElectronicInvoice(params).then((resp) => {
|
||||
|
||||
// console.log("wxElectronicInvoice", resp);
|
||||
|
||||
// wx.navigateToMiniProgram({
|
||||
// appId: resp.appid,
|
||||
// path: resp.auth_url,
|
||||
// success(res) {
|
||||
// console.log('navigateToMiniProgram success:', res)
|
||||
// },
|
||||
// fail(error) {
|
||||
// console.log('navigateToMiniProgram fail:', error)
|
||||
// },
|
||||
// complete(res) {
|
||||
// console.log('navigateToMiniProgram complete:', res)
|
||||
// }
|
||||
// })
|
||||
|
||||
// }).catch(e => {
|
||||
|
||||
// })
|
||||
|
||||
|
||||
uni.navigateTo({
|
||||
url: "/pages/me/makeInvoice?sid=" + sid
|
||||
|
||||
Reference in New Issue
Block a user