修改好店支付,完善支付时物业公积金的逻辑
This commit is contained in:
parent
5f6e76ea71
commit
d4c774522e
@ -144,10 +144,11 @@ export default {
|
||||
},
|
||||
onLoad(options) {
|
||||
const params = {
|
||||
id: uni.getStorageSync("merchantInfo").id
|
||||
id: Number(uni.getStorageSync("merchantInfo").id)
|
||||
}
|
||||
request(apiArr.getMerchantInfo, "POST", params).then(res => {
|
||||
this.info = res
|
||||
uni.setStorageSync('merchantInfo', res)
|
||||
|
||||
// 确保onLoad执行完后再执行这两个方法
|
||||
this.page_num = 1
|
||||
|
||||
@ -304,6 +304,7 @@ export default {
|
||||
success: (payRes) => {
|
||||
const params = {
|
||||
id: this.OrderMsg.id,
|
||||
back_wygjj: this.homeMoney,
|
||||
}
|
||||
request(apiArr.tradeQuery, "POST", params).then(res => {
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user