1。上线2.0 修改问题 解决问题

master
杨杰 2 years ago
parent e81e8cbfb7
commit 9ee48ca779
  1. 5
      high-unionPay/Utils/Api.js
  2. 2
      high-unionPay/pages/goods/refuel-details/refuel-details.vue
  3. 2
      high-unionPay/pages/unionPay/recharge/recharge.vue
  4. 16
      high-unionPay/pages/unionPay/unionComfirmation/unionComfirmation.vue

@ -349,6 +349,11 @@ export const listByStoreCode = params => {
return POST('GET', `${base}/highThirdParty/listByStoreCode`, params).then(res => res.data); return POST('GET', `${base}/highThirdParty/listByStoreCode`, params).then(res => res.data);
} }
//肯德基订单详情
export const getThirdOrderByOrderNo = params => {
return POST('GET', `${base}/highThirdParty/getThirdOrderByOrderNo`, params).then(res => res.data);
}
//肯德基银联支付 //肯德基银联支付
export const qianzhuorderToUnionPay = params => { export const qianzhuorderToUnionPay = params => {
return POST('POST', `${base}/thirdOrder/orderToUnionPay`, params).then(res => res.data); return POST('POST', `${base}/thirdOrder/orderToUnionPay`, params).then(res => res.data);

@ -544,7 +544,7 @@
"gasimg": this.storeList.gasLogoSmall, "gasimg": this.storeList.gasLogoSmall,
"gasname": this.storeList.gasName, "gasname": this.storeList.gasName,
"gasaddress": this.storeList.gasAddress, "gasaddress": this.storeList.gasAddress,
"childOrderList": [{ "highChildOrderList": [{
"goodsType": 3, "goodsType": 3,
"goodsId": this.counId, "goodsId": this.counId,
"saleCount": 1, "saleCount": 1,

@ -49,7 +49,7 @@
getCmsContent(params).then(res => { getCmsContent(params).then(res => {
if (res.return_code == '000000' && res.return_data != '') { if (res.return_code == '000000' && res.return_data != '') {
//广 //广
this.imgadres1 = res.return_data[0].imgData; this.imgadres1 = res.return_data.childCategory[0].imgData;
this.showPopup(); this.showPopup();
} }
}); });

@ -594,20 +594,20 @@
uni.hideLoading(); uni.hideLoading();
return; return;
} }
if (this.payPrice == 0) { if (this.payPrice == 0) {
let params = { let params = {
"childOrderList": [{ "childOrderList": [{
"goodsId": that.objectId, "goodsId": this.objectId,
"goodsType": 6, "goodsType": 6,
"rechargeContent": that.rechargeContent, "rechargeContent": this.rechargeContent,
"saleCount": 1 "saleCount": 1
}], }],
"payGold": that.priceValue[1], "payGold": this.priceValue[1],
"companyId": app.globalData.companyId, "companyId": app.globalData.companyId,
"memDiscountId": that.memDiscountId, "memDiscountId": this.memDiscountId,
"payPwd": "" "payPwd": this.PaymentPassword
} }
create(params).then(res => { create(params).then(res => {
uni.hideLoading(); uni.hideLoading();
if (res.return_code == '000000') { if (res.return_code == '000000') {
this.orderId = res.return_data.orderNo; this.orderId = res.return_data.orderNo;
@ -630,7 +630,7 @@
}); });
}) })
return; return;
} }
let params = { let params = {
"orderNo": this.orderId, "orderNo": this.orderId,
"cardNo": this.user.hltCardNo.cardNo, "cardNo": this.user.hltCardNo.cardNo,

Loading…
Cancel
Save