diff --git a/api/cloud-site.js b/api/cloud-site.js index 12e6e73..e1f1818 100644 --- a/api/cloud-site.js +++ b/api/cloud-site.js @@ -53,8 +53,8 @@ export default { // 获取带参数的油站二维码 getDesignatedSiteQrCode(data) { return request({ - url: `/${service_name}/${group_name}/getSiteQrCode`, - method: 'get', + url: `/${service_name}/${group_name}/updateSiteQrCode`, + method: 'post', data: data }) }, diff --git a/components/OrderOil.vue b/components/OrderOil.vue index c781a89..229938a 100644 --- a/components/OrderOil.vue +++ b/components/OrderOil.vue @@ -2,10 +2,10 @@ - {{'oilSiteName'}} + {{oilSite.oilSiteName}} - 1.32km | 紫云路与金寨南路交口向西200... + {{oilSite.address}} @@ -13,8 +13,8 @@ 油号选择: - - + + @@ -22,8 +22,8 @@ 0#柴油 - 星油价格:¥6.41/L - 市场价:¥6.5/L + 星油价格:¥{{selected.xkPrice?selected.xkPrice:selected.lvPrice|numberFilter}}/L + 市场价:¥{{selected.standardPrice|numberFilter}}/L @@ -32,7 +32,7 @@ - + @@ -40,27 +40,112 @@ 加油升数 - - 约¥0.00 + + 约¥{{money.total}} - 星卡优惠金额-¥0.00 + 星卡优惠金额-¥{{money.discount}} - 实际支付金额¥0.00 + 实际支付金额¥{{money.realPay}} - +