结算新增优惠金额

This commit is contained in:
gyq
2026-03-30 10:21:48 +08:00
parent c9cd3a80d9
commit 23b8db63b8
5 changed files with 91 additions and 22 deletions

View File

@@ -55,7 +55,13 @@
</div>
<div class="shop_list" :class="{ img: shopListType == 'img' }" v-loading="loading">
<!-- <swiper class="swiper_box" direction="vertical" @slideChange="onSlideChange"> -->
<swiper ref="swiperRef" :loop="false" class="swiper_box" direction="vertical">
<swiper ref="swiperRef" :loop="false" class="swiper_box" direction="vertical" :modules="[Mousewheel]"
:simulate-touch="true" :allow-touch-move="true" :mousewheel="{
enabled: true,
forceToAxis: true,
releaseOnEdges: true,
invert: false,
}">
<swiper-slide class="slide_item" v-for="(goods, index) in goodsStore.goodsList" :key="index">
<div class="item_wrap" v-for="item in goods" :key="item.id" @click="showSkuHandle(item)">
<div class="item">
@@ -294,6 +300,8 @@ import { staffPermission } from '@/api/user.js'
import { clearNoNum } from '@/utils/index.js'
import { productOnOff, markIsSoldOut } from '@/api/product_new.js'
import { Mousewheel } from 'swiper/modules'
const swiperRef = ref(null)
const store = useUser()

View File

@@ -204,7 +204,7 @@ function confirmHandle() {
goodsStore.operateCart({
table_code: table_code,
new_table_code: new_table_code,
cart_ids: cart_ids
cart_id: cart_ids
}, 'rottable')
}