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 @@