|
@@ -145,11 +145,14 @@ Page({ |
|
@@ -145,11 +145,14 @@ Page({ |
|
145
|
Object.keys(e.detail).forEach(key=>{
|
145
|
Object.keys(e.detail).forEach(key=>{
|
|
146
|
invoice[key.toLowerCase()]=e.detail[key]
|
146
|
invoice[key.toLowerCase()]=e.detail[key]
|
|
147
|
})
|
147
|
})
|
|
148
|
- App.Customer.SetInvoice(invoice).then(res=>{
|
148
|
+ setTimeout(()=>{
|
|
|
|
149
|
+ util.toast('发票已提交','none')
|
|
149
|
setTimeout(()=>{
|
150
|
setTimeout(()=>{
|
|
150
|
- util.toast('发票已提交','none')
|
151
|
+ App.Customer.SetInvoice(invoice).then(res=>{
|
|
|
|
152
|
+ this.GetCheckout()
|
|
|
|
153
|
+ })
|
|
151
|
},300)
|
154
|
},300)
|
|
152
|
- })
|
155
|
+ },300)
|
|
153
|
},
|
156
|
},
|
|
154
|
GetBalance(){//获得余额
|
157
|
GetBalance(){//获得余额
|
|
155
|
App.User.GetBalance().then(res=>{
|
158
|
App.User.GetBalance().then(res=>{
|