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折起
+ 平台特惠
+ 凭码取餐
- 立即点餐(堂食/外带)
+ 立即点餐