xuxueyang
2024-09-22 b11a3289fd5a0c0b41fd19a97534562b35bbb468
update
已修改5个文件
21 ■■■■ 文件已修改
pages/home/supplier-home.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order-detail.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/coupon/good-all.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/list.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/trade.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/supplier-home.vue
@@ -238,6 +238,7 @@
        },
        async onPullDownRefresh() {
            await this.$store.dispatch('getCurrentInfo')
            await getTj(true)
            uni.stopPullDownRefresh()
        },
        onLoad(options) {
@@ -245,7 +246,7 @@
            const urlcode = options.url && decodeURIComponent(options.url) || ''
        },
        onShow() {
            this.getTj()
            this.getTj(true)
        },
        created() {
            //公告
@@ -430,10 +431,10 @@
                    },
                })
            },
            getTj() {
            getTj(refresh=false) {
                // /api/supplier/delivery    
                if (this.currentInfo.id && this.currentInfo.id !== this.cacheUserId) {
                if (this.currentInfo.id && (this.currentInfo.id !== this.cacheUserId || refresh)) {
                    this.cacheUserId = this.currentInfo.id
                    let that = this
                    setTimeout(() => {
pages/order/order-detail.vue
@@ -613,8 +613,8 @@
        </view>
        <view class="info-container bg-white br-4 m-t-12" v-if="!showSales">
            <view class="form-item flex">
                <view class="label">订单金额:</view>
                <view class="value m-l-a m-r-0 text-right">+{{ dto.totalAmount || '0' }}</view>
                <view class="label">商品金额:</view>
                <view class="value m-l-a m-r-0 text-right">+{{ dto.flowerAmount || '0' }}</view>
            </view>
            <view class="form-item flex">
                <view class="label">运费:</view>
sub_pages/customer/coupon/good-all.vue
@@ -89,11 +89,11 @@
                                {{item.point||'0'}}积分
                            </view>
                            <view class="m-l-10 desc-gray">
                                库存:{{item.stock||'0'}}
                                库存:{{item.couponAmount||'0'}}
                            </view>
                            <view class="button m-l-a m-r-15" :class="[item.stock===0?'over':'']"
                            <view class="button m-l-a m-r-15" :class="[item.couponAmount===0?'over':'']"
                                @click="exchange('coupon',item)">
                                {{item.stock===0?'已售磬':'兑换'}}
                                {{item.couponAmount===0?'已售磬':'兑换'}}
                            </view>
                        </view>
                    </view>
sub_pages/customer/trade/list.vue
@@ -72,7 +72,7 @@
                <view class="m-l-12 info-container flex1">
                    <view @click.stop="toDetail(item)">
                        <view class="title">
                            {{item.name||'-'}}
                            <view style="max-width: 240rpx;">{{item.name||'-'}}</view>
                            
                            <view class="price component-price-new">
                                <span class="tip">会员价</span>¥<span class="p">{{item.priceMember||item.price}}</span>/扎
sub_pages/customer/trade/trade.vue
@@ -60,7 +60,7 @@
                        <view class="flex1">
                            <view class="cateen_infos list">
                                <view class="title flex">
                                    {{item.name}}
                                    <view style="max-width: 200rpx;text-align: left;">{{item.name}}</view>
                                    <view class="desc m-l-a m-r-0">在售 {{item.stock||'0'}} 扎</view>
                                </view>
                                <view class="price">