From 10775e2b00cee12fb4b405e18a507c629990051a Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期一, 04 八月 2025 17:26:15 +0800
Subject: [PATCH] 新增切换库位与切换货物状态功能
---
项目代码/WCS/WIDESEAWCS_Client/src/store/index.js | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
index e72d129..caba606 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/store/index.js"
@@ -14,6 +14,7 @@
permission: [],
isLoading: false,//2020.06.03澧炲姞璺敱鍒囨崲鏃跺姞杞芥彁绀�
userInfo: null,
+ homedata: {}
// wcsState: true//wcs鏈嶅姟鐘舵��
},
mutations: {
@@ -38,6 +39,16 @@
},
updateLoadingState(state, flag) {
state.isLoading = flag
+ },
+
+
+
+ uphomedata(state, data) {
+ // console.log('123',data);
+
+ state.homedata = data;
+ // console.log('12state.homedata3',state.homedata);
+
}
}, getters: {
getPermission: (state) => (path) => { //璋冪敤鏂瑰紡 store.getters.getPermission('sys_User')
@@ -85,6 +96,12 @@
},
onLoading(context, flag) {
context.commit("updateLoadingState", flag);
+ },
+
+
+
+ sethomedata(context, data) {
+ context.commit("uphomedata", data);
}
}
})
--
Gitblit v1.9.3