fixed 修改细节
This commit is contained in:
parent
562cfad803
commit
34a8f40953
@ -127,6 +127,7 @@ export async function genSettleDetail(params) {
|
||||
storeName: "",
|
||||
goodsCount: 0,
|
||||
deliveryFee: 0,
|
||||
storeTotalPayAmount: 0,
|
||||
storeTotalAmount: 0,
|
||||
storeTotalDiscountAmount: 0,
|
||||
storeTotalCouponAmount: 0,
|
||||
@ -172,7 +173,8 @@ export async function genSettleDetail(params) {
|
||||
});
|
||||
}
|
||||
storeGoods.storeTotalCouponAmount = storeTotalCouponAmount;
|
||||
storeGoods.storeTotalAmount += item.quantity * item.price + storeGoods.deliveryFee - storeTotalCouponAmount;
|
||||
storeGoods.storeTotalAmount += item.quantity * item.price;
|
||||
storeGoods.storeTotalPayAmount += item.quantity * item.price + storeGoods.deliveryFee - storeTotalCouponAmount;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -42,13 +42,13 @@
|
||||
/>
|
||||
</view>
|
||||
|
||||
<view class="anonymous-box">
|
||||
<!-- <view class="anonymous-box">
|
||||
<t-checkbox bind:change="onAnonymousChange" checked="{{isAnonymous}}" color="#FA4126" />
|
||||
<view class="name">匿名评价</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="comment-card convey-card">
|
||||
<!-- <view class="comment-card convey-card">
|
||||
<view class="convey-comment-title">物流服务评价</view>
|
||||
<view class="rate-container">
|
||||
<text class="rate-title">物流评价</text>
|
||||
@ -77,7 +77,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="submit-button-container">
|
||||
<t-button
|
||||
content="提交"
|
||||
|
@ -5,13 +5,13 @@
|
||||
<view class="select-coupons">
|
||||
<view class="title">选择优惠券</view>
|
||||
<block wx:if="{{couponsList && couponsList.length > 0}}">
|
||||
<view class="info">
|
||||
<!-- <view class="info">
|
||||
<block wx:if="{{!selectedNum}}">你有{{couponsList.length}}张可用优惠券</block>
|
||||
<block wx:else>
|
||||
已选中{{selectedNum}}张推荐优惠券, 共抵扣
|
||||
<wr-price fill="{{false}}" price="{{reduce || 0}}" />
|
||||
</block>
|
||||
</view>
|
||||
</view> -->
|
||||
<scroll-view class="coupons-list" scroll-y="true">
|
||||
<view class="coupons-wrap">
|
||||
<block wx:for="{{couponsList}}" wx:key="index" wx:for-item="coupon">
|
||||
|
@ -435,7 +435,8 @@ Page({
|
||||
invoiceData,
|
||||
storeInfoList,
|
||||
submitCouponList,
|
||||
resSubmitCouponList
|
||||
resSubmitCouponList,
|
||||
noteInfo
|
||||
} = this.data;
|
||||
const {
|
||||
goodsRequestList
|
||||
|
@ -87,7 +87,7 @@
|
||||
<text class="order-num">共{{stores.goodsCount}}件</text>
|
||||
<text>小计</text>
|
||||
<!-- <price priceUnit="yuan" class="total-price" price="{{settleDetailData.totalPayAmount}}" fill="{{false}}" decimalSmaller /> -->
|
||||
<price priceUnit="yuan" class="total-price" price="{{stores.storeTotalAmount}}" fill="{{false}}" decimalSmaller />
|
||||
<price priceUnit="yuan" class="total-price" price="{{stores.storeTotalPayAmount}}" fill="{{false}}" decimalSmaller />
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
@ -7,13 +7,14 @@ import {
|
||||
import Toast from 'tdesign-miniprogram/toast/index';
|
||||
|
||||
const menuData = [
|
||||
[{
|
||||
title: '申请开店',
|
||||
tit: '',
|
||||
url: '',
|
||||
status: 0,
|
||||
type: 'apply-shop',
|
||||
},
|
||||
[
|
||||
// {
|
||||
// title: '申请开店',
|
||||
// tit: '',
|
||||
// url: '',
|
||||
// status: 0,
|
||||
// type: 'apply-shop',
|
||||
// },
|
||||
{
|
||||
title: '收货地址',
|
||||
tit: '',
|
||||
|
Loading…
Reference in New Issue
Block a user