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

File diff suppressed because it is too large Load Diff