From 0e05b3ea5ac50edcba3c0edb27ee79601381eac4 Mon Sep 17 00:00:00 2001
From: duan <1004387497@qq.com>
Date: Wed, 23 Oct 2024 15:11:27 +0800
Subject: [PATCH] =?UTF-8?q?=E8=80=97=E6=9D=90=E8=A7=A3=E5=86=B3=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
commons/utils/hasPermission.js | 4 +-
.../JeepayNavigation/JeepayNavigation.vue | 7 +-
pageConsumables/addConsumables.vue | 25 +-
pageConsumables/addType.vue | 8 +-
pageConsumables/bg.png | Bin 0 -> 9189 bytes
pageConsumables/editConsumables.vue | 8 +-
pageConsumables/index.vue | 80 ++--
pageConsumables/inventoryCheck.vue | 9 +-
pageConsumables/outbound.vue | 8 +-
pageConsumables/viewrecords.vue | 10 +-
pageConsumables/warehouseEntry.vue | 23 +-
pageUser/index/components/user.vue | 20 +-
pageUser/index/index.vue | 57 ++-
pages/index/components/Stats.vue | 400 ++++++++++--------
14 files changed, 413 insertions(+), 246 deletions(-)
create mode 100644 pageConsumables/bg.png
diff --git a/commons/utils/hasPermission.js b/commons/utils/hasPermission.js
index 39e9476..960feaa 100644
--- a/commons/utils/hasPermission.js
+++ b/commons/utils/hasPermission.js
@@ -59,8 +59,8 @@ const $PermissionObj = {
key: 'yun_xu_guan_li_hui_yuan_xin_xi'
},
{
- text: 'yun_xu_xiu_gai_hui_yuan_yu_e',
- key: '允许修改会员余额'
+ key: 'yun_xu_xiu_gai_hui_yuan_yu_e',
+ text: '允许修改会员余额'
}
],
stock:[
diff --git a/components/JeepayNavigation/JeepayNavigation.vue b/components/JeepayNavigation/JeepayNavigation.vue
index 8bb47ae..1b3647a 100644
--- a/components/JeepayNavigation/JeepayNavigation.vue
+++ b/components/JeepayNavigation/JeepayNavigation.vue
@@ -62,9 +62,10 @@ const props = defineProps({
// 点击事件
async function clickFunc(nav) {
-let res =await hasPermission('允许查看经营数据')
-console.log(res,'调试11111')
-if(!res) return
+ if(nav.pageUrl=="PAGES_SALES_SUMMARY"){
+ let res =await hasPermission('允许查看经营数据')
+ if(!res) return
+ }
// 包含回调事件
if (nav.clickFunc) {
return nav.clickFunc(nav)
diff --git a/pageConsumables/addConsumables.vue b/pageConsumables/addConsumables.vue
index d160f63..a1ae66a 100644
--- a/pageConsumables/addConsumables.vue
+++ b/pageConsumables/addConsumables.vue
@@ -25,7 +25,7 @@
耗材价格