From 3d4355d8791c7e990377c7a2abc5ce238e752e91 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 一月 2026 17:36:05 +0800
Subject: [PATCH] 进销存-升级 1.销售台账页面代码重构 2.发货台账页面联调 3.采购台账代码重构,采购模版添加修改和删除,逻辑完善 4.采购审批页面逻辑修改完善 5.采购台账、销售台账导入和下载模版修改
---
src/store/modules/app.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index fc34125..71414be 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -1,6 +1,5 @@
import Cookies from 'js-cookie'
-
const useAppStore = defineStore(
'app',
{
@@ -16,7 +15,7 @@
actions: {
toggleSideBar(withoutAnimation) {
if (this.sidebar.hide) {
- return false;
+ return false
}
this.sidebar.opened = !this.sidebar.opened
this.sidebar.withoutAnimation = withoutAnimation
@@ -26,7 +25,7 @@
Cookies.set('sidebarStatus', 0)
}
},
- closeSideBar(withoutAnimation) {
+ closeSideBar({ withoutAnimation }) {
Cookies.set('sidebarStatus', 0)
this.sidebar.opened = false
this.sidebar.withoutAnimation = withoutAnimation
@@ -35,7 +34,7 @@
this.device = device
},
setSize(size) {
- this.size = size;
+ this.size = size
Cookies.set('size', size)
},
toggleSideBarHide(status) {
--
Gitblit v1.9.3