修改
This commit is contained in:
parent
c00453f273
commit
47a5797e61
@ -10,7 +10,9 @@
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
<view class="priceinfo">退款金额
|
||||
<view class="priceback">¥{{order.totalPrice}}
|
||||
<view class="priceback" v-if="order.orderType=='DIRECT_BUY'">¥{{order.totalPrice}}
|
||||
</view>
|
||||
<view class="priceback" v-if="order.orderType=='INTEGRAL_EXCHANGE'">{{order.integralExchangeSill}}
|
||||
</view>
|
||||
<!-- <view class="words">
|
||||
已修改,最多{{order.totalPrice}},含发货邮费 0.00
|
||||
|
||||
@ -314,6 +314,7 @@
|
||||
attributeDetailsId: '', //商品属性明细表id
|
||||
goodsAttributeId: '',
|
||||
goodsAttributeDetailsId: '',
|
||||
originalTotalPrice: null,
|
||||
},
|
||||
couponListtrue: [],
|
||||
couponListfalse: [],
|
||||
@ -394,10 +395,21 @@
|
||||
type: 'error'
|
||||
})
|
||||
} else {
|
||||
this.updata.goodsPrice = Number(this.updata.goodsPrice)
|
||||
this.buyshow = false
|
||||
this.updata.totalPrice = (this.updata.goodsPrice * this.updata
|
||||
.goodsCount).toFixed(
|
||||
2)
|
||||
this.updata.totalPrice = Number((this.updata.goodsPrice *
|
||||
this.updata.goodsCount).toFixed(
|
||||
2))
|
||||
this.updata.originalTotalPrice = this.updata.totalPrice
|
||||
if (this.couponId) {
|
||||
this.updata.couponId = this.couponId
|
||||
this.updata.couponTitle = this.coupon.couponTitle
|
||||
this.updata.discountPrice = Number(this.coupon.couponPrice)
|
||||
this.updata.couponConsumePrice = Number(this.coupon
|
||||
.couponConsumePrice)
|
||||
this.updata.totalPrice = Number((this.updata.originalTotalPrice -
|
||||
this.updata.discountPrice).toFixed(2))
|
||||
}
|
||||
addStationGoodsOrder(this.updata).then(res => {
|
||||
if (res.code == 500) {
|
||||
that.$refs.uToast.show({
|
||||
|
||||
@ -230,13 +230,13 @@
|
||||
.goodsStock{
|
||||
font-size: 24rpx;
|
||||
position: absolute;
|
||||
top: 75%;
|
||||
top: 55%;
|
||||
right: 10rpx;
|
||||
}
|
||||
.prices{
|
||||
position: absolute;
|
||||
top: 70%;
|
||||
left: 35%;
|
||||
left: 230rpx;
|
||||
.Paidinprice{
|
||||
margin-left: 10rpx;
|
||||
color: #fff;
|
||||
@ -254,7 +254,7 @@
|
||||
font-size: 36rpx;
|
||||
position: absolute;
|
||||
top: 3%;
|
||||
left: 35%;
|
||||
left: 230rpx;
|
||||
font-weight: 600;
|
||||
width: 58%;
|
||||
// height: 85rpx;
|
||||
@ -262,7 +262,7 @@
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-line-clamp:2;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
|
||||
@ -32,12 +32,9 @@
|
||||
<span class="box">×{{item.goodsCount}}</span>
|
||||
</view>
|
||||
<view class="refund">
|
||||
<span v-if="item.orderType=='DIRECT_BUY'">
|
||||
<span>
|
||||
实付款:
|
||||
</span>
|
||||
<span v-if="item.orderType=='INTEGRAL_EXCHANGE'">
|
||||
实付:
|
||||
</span>
|
||||
<text class="price" v-if="item.orderType=='DIRECT_BUY'">¥{{item.totalPrice}}</text>
|
||||
<text class="price"
|
||||
v-if="item.orderType=='INTEGRAL_EXCHANGE'">{{item.integralExchangeSill}}</text>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="title">
|
||||
{{integral}}
|
||||
{{list.integral}}
|
||||
</view>
|
||||
<view class="centertext">
|
||||
<!-- 20积分将于2022.01.01过期 -->
|
||||
@ -184,7 +184,9 @@
|
||||
buyshow: false, //兑换购买
|
||||
yaoqingshow: false,
|
||||
yaoqingimg: null,
|
||||
list: null,
|
||||
list: {
|
||||
integral: 0
|
||||
},
|
||||
inviteimg: null, //邀请二维码
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
@ -406,6 +408,7 @@
|
||||
upbuy() {
|
||||
integralGoodsOrder(this.updata).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.selectPatientSignInifo();
|
||||
this.$refs.uToast.show({
|
||||
title: '兑换商品成功',
|
||||
type: 'success'
|
||||
@ -483,12 +486,12 @@
|
||||
signIninfo() {
|
||||
signIn(this.patientId).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.selectPatientSignInifo();
|
||||
this.$refs.uToast.show({
|
||||
title: '今日签到成功',
|
||||
type: 'success',
|
||||
duration: '1000',
|
||||
})
|
||||
this.selectPatientSignInifo();
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@ -133,7 +133,6 @@
|
||||
border-radius: 20rpx;
|
||||
margin: 30rpx auto;
|
||||
position: relative;
|
||||
padding-bottom: 130rpx;
|
||||
|
||||
.name {
|
||||
width: 95%;
|
||||
@ -152,6 +151,8 @@
|
||||
}
|
||||
|
||||
.details {
|
||||
height: 380rpx;
|
||||
position: relative;
|
||||
.detailslist {
|
||||
display: flex;
|
||||
|
||||
@ -175,17 +176,18 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: 70%;
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
color: #969394;
|
||||
float: right;
|
||||
margin-right: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
margin-top: 40rpx;
|
||||
// margin-top: 40rpx;
|
||||
margin-top: 15rpx;
|
||||
|
||||
.box {
|
||||
color: #969394;
|
||||
@ -209,7 +211,6 @@
|
||||
right: 20rpx;
|
||||
bottom: 100rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -218,7 +219,7 @@
|
||||
position: absolute;
|
||||
left: 2.5%;
|
||||
bottom: 20rpx;
|
||||
|
||||
|
||||
.pay {
|
||||
font-size: 30rpx;
|
||||
color: #020000;
|
||||
@ -230,7 +231,6 @@
|
||||
color: #D43953;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,15 +20,20 @@
|
||||
<view class="model">
|
||||
<view class="top">
|
||||
<span>{{order.goodsName}}</span>
|
||||
<span>¥{{order.goodsPrice}}</span>
|
||||
<span v-if="order.orderType=='DIRECT_BUY'">¥{{order.goodsPrice}}</span>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<span class="box">型号:{{order.goodsAttributeName}}</span>
|
||||
<span class="box">X{{order.goodsCount}}</span>
|
||||
</view>
|
||||
<view class="bottom" v-if="order.discountPrice>0">
|
||||
<span class="box" style='width:40%'>优惠金额:</span>
|
||||
<span class="box">-¥{{order.discountPrice}}</span>
|
||||
</view>
|
||||
<view class="refund" @tap='gorefundType'
|
||||
v-if="order.orderStatus != 'WAIT_PAY'&& order.orderStatus!='CANCEL'&&order.orderStatus!='WAIT_REFUND'&&order.orderStatus!='REFUNDED'&&order.orderStatus!='RETURNED_GOODS'&&order.orderStatus!='WAIT_RETURNED_GOODS'">
|
||||
申请退款
|
||||
<text v-if="order.orderType=='INTEGRAL_EXCHANGE'">取消兑换</text>
|
||||
<text v-if="order.orderType=='DIRECT_BUY'">申请退款</text>
|
||||
</view>
|
||||
<view class="refund" v-if="order.orderStatus=='WAIT_REFUND'" @tap='goAftersalesdetails(order)'>
|
||||
退款中
|
||||
@ -47,9 +52,15 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="payinfo" style="bottom:90rpx">
|
||||
<text class="pay" style="color: #969394;">优惠金额</text>
|
||||
<text class="pay" style="float: right; color: #969394;">-¥{{order.discountPrice}}</text>
|
||||
</view> -->
|
||||
<view class="payinfo">
|
||||
<text class="pay">实付款</text>
|
||||
<text class="price">¥{{order.totalPrice}}</text>
|
||||
<text class="price" v-if="order.orderType=='DIRECT_BUY'">¥{{order.totalPrice}}</text>
|
||||
<text class="price"
|
||||
v-if="order.orderType=='INTEGRAL_EXCHANGE'">{{order.integralExchangeSill}}积分</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -26,6 +26,10 @@
|
||||
<span class="box">型号:{{order.goodsAttributeName}}</span>
|
||||
<span class="box">X{{order.goodsCount}}</span>
|
||||
</view>
|
||||
<view class="bottom" v-if="order.discountPrice>0">
|
||||
<span class="box" style='width:40%'>优惠金额:</span>
|
||||
<span class="box">-¥{{order.discountPrice}}</span>
|
||||
</view>
|
||||
<view class="refund" @tap='gorefundType'
|
||||
v-if="order.orderStatus != 'WAIT_PAY'&& order.orderStatus!='CANCEL'&&order.orderStatus!='WAIT_REFUND'&&order.orderStatus!='REFUNDED'&&order.orderStatus!='RETURNED_GOODS'&&order.orderStatus!='WAIT_RETURNED_GOODS'">
|
||||
申请退款
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||
border-radius: 20rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 60rpx;
|
||||
|
||||
.name {
|
||||
width: 95%;
|
||||
@ -27,6 +26,8 @@
|
||||
|
||||
.details {
|
||||
.detailslist {
|
||||
position: relative;
|
||||
height:340rpx;
|
||||
display: flex;
|
||||
|
||||
image {
|
||||
|
||||
@ -10,13 +10,18 @@
|
||||
<view class="model">
|
||||
<view class="top">
|
||||
<span>{{order.goodsName}}</span>
|
||||
<span>¥{{order.goodsPrice}}</span>
|
||||
<span v-if="order.orderType=='DIRECT_BUY'">¥{{order.goodsPrice}}</span>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<span>型号:{{order.goodsAttributeName}}</span>
|
||||
<span>X{{order.goodsCount}}</span>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="payinfo">
|
||||
<text class="pay">实付款</text>
|
||||
<text class="price" v-if="order.orderType=='DIRECT_BUY'">¥{{order.totalPrice}}</text>
|
||||
<text class="price"
|
||||
v-if="order.orderType=='INTEGRAL_EXCHANGE'">{{order.integralExchangeSill}}积分</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user