修改bug
parent
13a3e48d18
commit
b67426d3e5
|
|
@ -11,7 +11,7 @@
|
|||
日期
|
||||
</view>
|
||||
|
||||
<view class="w-400rpx text-center leading-60rpx flex-none">
|
||||
<view class="w-400rpx text-center leading-60rpx flex-none" :class="[isMore?'w-400rpx':'w-568rpx']">
|
||||
<view class="h-60rpx td">总账</view>
|
||||
<template v-if="checkPermission(['admin'])">
|
||||
<view class="h-60rpx grid grid-cols-3">
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
</view>
|
||||
|
||||
<!-- 总账 -->
|
||||
<view class="w-400rpx flex flex-none">
|
||||
<view class="w-400rpx flex flex-none" :class="[isMore?'w-400rpx':'w-568rpx']">
|
||||
<template v-if="checkPermission(['admin'])">
|
||||
<view class="flex-1 td h-60rpx flex-center">{{
|
||||
item.ledger.sales
|
||||
|
|
@ -133,6 +133,10 @@ const isLotteryStore = computed(
|
|||
() => userStore.userInfo?.store?.is_lottery_store
|
||||
)
|
||||
|
||||
const isMore = computed(()=>{
|
||||
return checkPermission(['admin']) || isLotteryStore
|
||||
})
|
||||
|
||||
const props = defineProps({
|
||||
list: {
|
||||
type: Array,
|
||||
|
|
|
|||
Loading…
Reference in New Issue