1.合并代码 修复问题确认订单页面

yj-dev
杨杰 2 years ago
parent 00bfc75650
commit e40827dd2d
  1. 27
      pages/goods/refuel-confirm/refuel-confirm.vue
  2. 33
      pages/order/confirmation.vue

@ -81,7 +81,8 @@
<view class="width100 backcorfff mart10">
<view class="width96 alijusstart height50 font14 fcor666">
<view class="width40 fcor333 fontwig6 font16">邀请码</view>
<input class="width60 fotrt font15" style="padding-right: 6%;" v-model="identificationCode" placeholder="请输入邀请码" />
<input class="width60 fotrt font15" style="padding-right: 6%;" v-model="identificationCode"
placeholder="请输入邀请码" />
</view>
</view>
@ -175,14 +176,14 @@
<view class="line1" v-if="item == 3"></view>
<view class="heightl60 paddleft10 fcor666 width100 backcorfff" v-if="item == 3" @tap="paytype='3'">
<view class="width60 flleft fontwig6">
<view class="width60 flleft font14">
汇联通工会卡<text class="font14 fcor666 margle">余额: {{tongCardPrice}}</text>
</view>
<view class="flright width30 fotct" v-if="isUse">
<radio :checked="paytype=='3'" @click="changeRiado()" color="#0083f5" />
</view>
</view>
</view> -->
</view>
<view class="line1" v-if="oilUserCardlist"></view>
<view class="heightl60 paddleft10 fcor666 width100 backcorfff" v-if="oilUserCardlist"
@ -215,8 +216,7 @@
<!-- </view> -->
<picker mode="selector" style="width: 20%;" :range="UserCard" range-key="carLicensePlate"
@change="bindUserCard">
<view class="date text1"
style="color: white;position: absolute;margin-top: -2px;min-width: 100px;">
<view class="date text1" style="color: white;position: absolute;margin-top: -2px;min-width: 100px;">
11111{{cardNoNumber}}</view>
</picker>
<image class="flright" style="width: 15px;height: 15px;" src="../../../static/img/downj.png">
@ -224,8 +224,6 @@
</view>
</view>
</view>
<view class="width100 mart15 fcor333 font16 fontwig6 paddleft10">重要说明</view>
<view class="width95 paddleft10 font14 fcor999 mart5">1.<text
class="fcor089 fontwig6">请先加油后下单</text>,即您到站后,与工作人员确认油号,枪号后再付款</view>
@ -241,7 +239,6 @@
</view>
<wybPopup ref="popup" type="bottom" width="500" :scrollY="true" radius="6" :showCloseIcon="true">
<view class="fotct font18 fontwig6 fcor333 mart10 height30">优惠券选择</view>
<view class="width92 height110 tccs mart10 alijus" v-for="(items, index) in OrderPreList" :key="index"
@ -256,11 +253,9 @@
</view>
<view class="width20 fotrt">
<view>
<radio
v-if="items.discountCondition && orderPrice >= items.discountCondition"
<radio v-if="items.discountCondition && orderPrice >= items.discountCondition"
color="#c72a20" :checked="items.id == memDiscountId" />
<radio
v-if="items.discountCondition && orderPrice < items.discountCondition"
<radio v-if="items.discountCondition && orderPrice < items.discountCondition"
color="#c72a20" disabled="true" :checked="items.id == memDiscountId" />
<radio v-if="!items.discountCondition" color="#c72a20"
@ -289,8 +284,7 @@
cancel,
oilPriceDiscountCompute,
getRebateIntegral,
getThirdPartyByDetail
getRebateIntegral,
getThirdPartyByDetail,
getUserCardList,
fleetOilCardPay,
getCardListByCardNo
@ -335,7 +329,6 @@
Integrastu: 1, //
paytypeList: [], //
identificationCode: '', //
Integrastu: 1, //
oilUserCardlist: '', //
oilUserno: '', //
contactName: '', //
@ -911,8 +904,8 @@
})
return;
}
if (this.orderNo) {
this.wechatPay();
// if (this.orderNo) {
// this.wechatPay();
// if (this.orderNo) {
// this.orderToPay();
// return;

@ -93,10 +93,10 @@
¥{{priceValue[1] / 100}}
</view>
</view>
<view class="width94 line1 mart5 marb5"></view>
<!-- <view class="width94 line1 mart5 marb5"></view> -->
<view class="height40 width100 backcorfff">
<view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;">
<!-- <view class="width40 flleft fcor666 font15 fontwig6 text1 alijusstart" style="padding-left: 2%;">
<image src="../../static/img/rebate.png" mode="widthFix" style="width: 25px;"></image>
<text>下单返积分</text>
<view class="height50 width100 backcorfff" @tap="paytype='weixin'"
@ -110,7 +110,8 @@
</view>
</view>
<view class="width94 line1 mart5 marb5" v-if="couponList.payType == 1 || couponList.payType==3"></view>
<view class="width94 line1 mart5 marb5" v-if="couponList.payType == 1 || couponList.payType==3">
</view>
<view class="height50 width100 backcorfff"
v-if="couponList.payType == 1 || couponList.payType == 2 || couponList.payType==3"
@tap="paytype='jinbi'">
@ -134,10 +135,10 @@
<view class="height50 width100 backcorfff">
<view class="width100 flleft fcor333 fontwig6 font16" style="padding-left: 4%;">
支付方式
支付方式 -->
<!-- : <text class="jfrecharge" @click="jumpdeposits"
v-if="couponList.payType == 1 || couponList.payType == 2 || couponList.payType==3">积分充值</text> -->
</view>
<!-- </view>
</view>
<view class="width94 line1 mart5 marb5"
v-if="couponList.payType == 1 || couponList.payType == 2 || couponList.payType==3"></view>
@ -150,7 +151,7 @@
<radio :checked="paytype=='gonghuika'" @click="changeRiado()" color="#0083f5" />
</view>
</view>
</view>
</view> -->
@ -158,7 +159,14 @@
<view class="height50 width100 backcorfff">
<view class="width80p flleft fcor333 fontwig6 font14" style="padding-left: 4%;">
<text style="color: #0083F5;">条约协议</text>点击立即支付即代表同意
<!-- <view class="width94 line1 mart5 marb5"></view> -->
<view class="width94 line1 mart5 marb5"></view> -->
<view class="height50 width100 backcorfff">
<view class="width100 flleft fcor333 fontwig6 font16" style="padding-left: 4%;">
支付方式
<!-- : <text class="jfrecharge" @click="jumpdeposits"
v-if="couponList.payType == 1 || couponList.payType == 2 || couponList.payType==3">积分充值</text> -->
</view>
</view>
<view class="width100" v-for="(item,index) in paytypeList" :key="index">
<view class="width94 line1 mart5 marb5" v-if="item == 2"></view>
<view class="height50 width100 backcorfff" @tap="paytype='2'" v-if="item == 2">
@ -182,7 +190,7 @@
</view>
</view>
</view>
</view>
<view class="width100 height60"></view>
<view class="footer">
<view class="settlement">
@ -200,7 +208,6 @@
</view>
</view>
<wybPopup ref="popup" type="bottom" width="500" scrollY="true" radius="6" :showCloseIcon="true">
<view class="fotct font18 fontwig6 fcor333 mart10 height30">优惠券选择</view>
<view class="width92 height110 tccs mart10" v-for="(items, index) in UserNormalDiscountList" :key="items"
@ -277,8 +284,7 @@
isUse: true, //
rechargeDes: '', //
rebateIntegral: '', //
Integrastu: 1 //
identificationCode: '', //
Integrastu: 1, //
contactPepole: '', //
contactPhone: '', //
contactAddress: '' //
@ -610,9 +616,8 @@
}],
"payGold": this.priceValue[1],
"promoteCode": this.identificationCode,
memDiscountId: this.memDiscountId
"storeId": this.storeId
}],
memDiscountId: this.memDiscountId,
"storeId": this.storeId,
"postData": {
"address": this.contactAddress,
"user": this.contactPepole,

Loading…
Cancel
Save