完善小程序
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
<view class="val">
|
||||
<view></view>
|
||||
<view style="font-size: 28rpx;">¥</view>
|
||||
<view>{{listinfo.packFee}}</view>
|
||||
<view>{{listinfo.packFeess}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -295,7 +295,17 @@
|
||||
},
|
||||
|
||||
listinfo: {
|
||||
type: Object
|
||||
type: Object,
|
||||
default: {
|
||||
combinedArray: {},
|
||||
Productroll: 0,
|
||||
coupondiscountAmount: 0,
|
||||
couponInfoList: '',
|
||||
pointsDiscountAmount: 0,
|
||||
packFeess: 0,
|
||||
totalPrices: 0,
|
||||
Seatcharge: 0
|
||||
}
|
||||
|
||||
},
|
||||
orderVIP: {
|
||||
@@ -359,6 +369,7 @@
|
||||
})
|
||||
break;
|
||||
case 'points':
|
||||
IntegralInputclose()
|
||||
if (calcUsablePointsData.usable == 0) {
|
||||
uni.showToast({
|
||||
title: calcUsablePointsData.unusableReason,
|
||||
@@ -384,7 +395,7 @@
|
||||
calcUsablePointsData.integral = integral
|
||||
props.listinfo.pointsDiscountAmount = await APImemberPointscalcDeductionAmount({
|
||||
points: integral,
|
||||
userId: props.orderVIP.id,
|
||||
shopUserId: props.orderVIP.id,
|
||||
orderAmount: props.listinfo.totalCost
|
||||
})
|
||||
emits('clickPointsamount', props.listinfo.pointsDiscountAmount);
|
||||
|
||||
Reference in New Issue
Block a user