From ddb554c491d808dd7e819cc00959ef1a6a236f7e Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Fri, 30 Dec 2022 09:38:57 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E5=AE=9E=E7=89=A9=E5=95=86?= =?UTF-8?q?=E5=93=81=202.=E6=96=B0=E5=A2=9E=E8=BD=A6=E9=98=9F=E6=B2=B9?= =?UTF-8?q?=E5=8D=A1=E6=94=AF=E4=BB=98=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/refuel-confirm/refuel-confirm.vue | 2 +- pages/order/confirmation.vue | 29 +- pages/user/order_details/order_details.vue | 356 ++++++++++-------- .../coupon-packge-details.vue | 2 +- subPages/lottery/lottery.vue | 6 +- 5 files changed, 225 insertions(+), 170 deletions(-) diff --git a/pages/goods/refuel-confirm/refuel-confirm.vue b/pages/goods/refuel-confirm/refuel-confirm.vue index 27894f4..ebb1c92 100644 --- a/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/pages/goods/refuel-confirm/refuel-confirm.vue @@ -369,7 +369,7 @@ type: 3 } getUserCardList(datas).then(res => { - if (res.return_code == '000000') { + if (res.return_code == '000000' && res.return_data !='') { this.oilUserCardlist = res.return_data; this.oilUserno = res.return_data[0].cardNo; this.contactName = res.return_data[0].contactName; diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index 61dbb4c..506154f 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -95,6 +95,23 @@ + + + + 联系人 + + + + 联系电话 + + + + 联系地址 + + + + + @@ -244,7 +261,10 @@ coupondiscountid: '', orderDetails: '', //订单详情 payGold: '', //积分数 - identificationCode: '' //渠道商 + identificationCode: '', //渠道商 + contactPepole: '', //联系人 + contactPhone: '', //联系电话 + contactAddress: '' //联系地址 }; }, onLoad(option) { @@ -458,7 +478,12 @@ "goodsId": this.couponId, "saleCount": 1, "storeId": this.storeId - }] + }], + "postData": { + "address": this.contactAddress, + "user": this.contactPepole, + "phone": this.contactPhone + } } addOrder(goods).then(res => { uni.hideLoading(); diff --git a/pages/user/order_details/order_details.vue b/pages/user/order_details/order_details.vue index bb691f8..dcf699e 100644 --- a/pages/user/order_details/order_details.vue +++ b/pages/user/order_details/order_details.vue @@ -14,9 +14,11 @@ - + - + {{rec.goodsName}} @@ -73,9 +75,9 @@ 混合 - - - 油卡 + + + 油卡 @@ -97,9 +99,9 @@ 银联支付 - - - 嗨森逛油卡 + + + 嗨森逛油卡 @@ -110,8 +112,7 @@ ¥{{recinfo.totalPrice}} - + {{(recinfo.totalPrice * 10 * 10).toFixed(0)}} @@ -123,8 +124,7 @@ ¥{{recinfo.payPrice}} - + {{(recinfo.payPrice* 10 * 10).toFixed(0)}} @@ -136,8 +136,7 @@ ¥{{recinfo.payRealPrice}} - + {{(recinfo.payRealPrice * 10 * 10).toFixed(0)}} @@ -149,18 +148,17 @@ ¥{{recinfo.deductionPrice}} - + {{(recinfo.deductionPrice * 10 * 10).toFixed(0)}} - - - - 积分抵扣 : - - - ¥{{(recinfo.payGold / 100).toFixed(2)}} - + + + + 积分抵扣 : + + + ¥{{(recinfo.payGold / 100).toFixed(2)}} + @@ -193,112 +191,135 @@ {{recinfo.refusalRefundContent}} - - - - 完成时间 : - - - {{recinfo.finishTime | formatDate('-')}} - - - - - 预约订单详情 - - - - 预约状态 : - - - 预约中 - - - 预约成功 - - - 预约完成 - - - 预约失败 - - - 预约取消 - - + - 预约订单号 : + 联系人 : - {{preByOrderInfo.preOrderNo}} + {{materialData.user}} - + - 预约门店 : + 联系电话 : - {{preByOrderInfo.opUserName}} + {{materialData.phone}} - + - 到店地点 : + 联系地址 : - {{preByOrderInfo.reachAddress}} - - - - - 到店时间 : - - - {{preByOrderInfo.reachTime | formatDate('-')}} - - - - - 预约失败说明 : + {{materialData.address}} - - {{preByOrderInfo.statusFailDesc}} - - - - - 预约取消说明 : - - - {{preByOrderInfo.statusCancelDesc}} - - - - - 预约备注 : - - - {{preByOrderInfo.preUserRemark}} - - - - - - - - 预约完成 - - - + + + + 完成时间 : + + + {{recinfo.finishTime | formatDate('-')}} + + + + + 预约订单详情 + + + + 预约状态 : + + + 预约中 + + + 预约成功 + + + 预约完成 + + + 预约失败 + + + 预约取消 + + + + + 预约订单号 : + + + {{preByOrderInfo.preOrderNo}} + + + + + 预约门店 : + + + {{preByOrderInfo.opUserName}} + + + + + 到店地点 : + + + {{preByOrderInfo.reachAddress}} + + + + + 到店时间 : + + + {{preByOrderInfo.reachTime | formatDate('-')}} + + + + + 预约失败说明 : + + + {{preByOrderInfo.statusFailDesc}} + + + + + 预约取消说明 : + + + {{preByOrderInfo.statusCancelDesc}} + + + + + 预约备注 : + + + {{preByOrderInfo.preUserRemark}} + + + + + + + + 预约完成 + + + 合计: ¥{{recinfo.payPrice}} - + {{recinfo.payPrice*100}} @@ -312,8 +333,8 @@