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

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

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

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

Loading…
Cancel
Save