From 82c8d55ef3c38a9d24eca0e9866ff8bbc00089c7 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Tue, 7 Feb 2023 15:13:12 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B92.0=E6=89=AB=E7=A0=81?= =?UTF-8?q?=E9=A2=86=E5=88=B8=202.=E4=BC=98=E5=8C=96=E8=82=AF=E5=BE=B7?= =?UTF-8?q?=E5=9F=BA=20=E6=98=9F=E5=B7=B4=E5=85=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/externalCoupon/externalCoupon.vue | 2 +- pages/order/confirmation.vue | 19 ++++++++++++------- qianzhu-KFC/home/home.vue | 6 +++--- qianzhu-KFC/menu-list/menu-list.vue | 2 +- qianzhu-Starbucks/home/home.vue | 4 ++-- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/pages/goods/externalCoupon/externalCoupon.vue b/pages/goods/externalCoupon/externalCoupon.vue index 75b9bbf..767cf38 100644 --- a/pages/goods/externalCoupon/externalCoupon.vue +++ b/pages/goods/externalCoupon/externalCoupon.vue @@ -368,7 +368,7 @@ }) } else { uni.navigateTo({ - url: '../../order/confirmation?id=' + e + url: '../../order/confirmation?id=' + e+'&postPayType=2,' }) } diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index 7bd44cd..43eeadc 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -259,11 +259,15 @@ Integrastu: 1, //返积分状态 contactPepole: '', //联系人 contactPhone: '', //联系电话 - contactAddress: '' //联系地址 + contactAddress: '', //联系地址 + postPayType: '' //请求支付方式 }; }, onLoad(option) { this.couponId = option.id; + if (option.postPayType != undefined && option.postPayType) { + this.postPayType = option.postPayType; + } // #ifdef H5 this.identificationCode = app.globalData.staffCode; // #endif @@ -318,7 +322,8 @@ platformId: this.showType, "companyId": this.couponList.companyId, productType: 5, - productId: this.couponList.couponSource + productId: this.couponList.couponSource, + payType: this.postPayType } getThirdPartyByDetail(datas).then(res => { if (res.return_code == '000000') { @@ -356,12 +361,12 @@ }); }, //支付返利积分 - getRebateIntegral() { + getRebateIntegral() { let datas = { "companyId": this.couponList.companyId, "price": this.paytheprice, "type": 5, - } + } getRebateIntegral(datas).then(res => { if (res.return_code == '000000') { this.rebateIntegral = res.return_data; @@ -386,7 +391,7 @@ this.couponList = res.return_data; this.paytheprice = res.return_data.discountPrice; this.saveprice = res.return_data.discountPrice; - this.orderPrice = res.return_data.salesPrice; + this.orderPrice = res.return_data.salesPrice; this.getRebateIntegral(); this.getThirdPartyByDetail(); } @@ -587,7 +592,7 @@ }], "payGold": this.priceValue[1], "promoteCode": this.identificationCode, - memDiscountId: this.memDiscountId, + memDiscountId: this.memDiscountId, "companyId": app.globalData.companyId, "storeId": this.storeId, "postData": { @@ -757,7 +762,7 @@ }], "payGold": this.priceValue[1], "promoteCode": this.identificationCode, - "payPwd": this.PaymentPassword, + "payPwd": this.PaymentPassword, "companyId": app.globalData.companyId, memDiscountId: this.memDiscountId } diff --git a/qianzhu-KFC/home/home.vue b/qianzhu-KFC/home/home.vue index 17cbe47..3c4fd50 100644 --- a/qianzhu-KFC/home/home.vue +++ b/qianzhu-KFC/home/home.vue @@ -3,11 +3,11 @@ - KFC在线点餐 - 5折起 + 平台特惠 + 凭码取餐 - 立即点餐(堂食/外带) + 立即点餐