This commit is contained in:
weipengfei 2024-03-02 18:18:51 +08:00
parent 472e8931f2
commit 4eb5580ff1
2 changed files with 881 additions and 837 deletions

View File

@ -157,16 +157,15 @@
addCart(this.cartForm).then(res => {
// ID
that.checkForm.cart_id.push(res.data.cart_id);
that.$util.Tips({
title: "操作成功!"
}, () => {
orderCheck(that.checkForm).then(res => {
uni.navigateTo({
url: "/pages/payment/settlement?cartId=" + this.checkForm
.cart_id + "&money=" + this.cartForm.total_amount +
"&merName=" + this.merchantInfo.merchant.mer_name
})
});
orderCheck(that.checkForm).then(res1 => {
uni.navigateTo({
url: "/pages/payment/settlement?cartId=" + this.checkForm
.cart_id + "&money=" + this.cartForm.total_amount +
"&merName=" + this.merchantInfo.merchant.mer_name,
success: (res) => {
res.eventChannel.emit('datas', res1.data.platformConsumption);
}
})
});
}).catch((err) => {
this.$util.Tips({

File diff suppressed because it is too large Load Diff