doway-coms 1.1.93 → 1.1.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/utils/store.js +5 -0
package/package.json
CHANGED
package/packages/utils/store.js
CHANGED
|
@@ -12,6 +12,7 @@ export default new Vuex.Store({
|
|
|
12
12
|
msgUrl:'',
|
|
13
13
|
token: '',
|
|
14
14
|
industryVersion:'',//行业版本
|
|
15
|
+
isGenerateMatCode:'',//是否生成物料编码
|
|
15
16
|
webAppCode: '',
|
|
16
17
|
moduleViewInfo: {},
|
|
17
18
|
controlSize: 'small',
|
|
@@ -36,6 +37,9 @@ export default new Vuex.Store({
|
|
|
36
37
|
SET_INDUSTRY_VERSION:(state,industryVersion)=>{
|
|
37
38
|
state.industryVersion = industryVersion
|
|
38
39
|
},
|
|
40
|
+
SET_IS_GENERATE_MAT_CODE:(state,isGenerateMatCode)=>{
|
|
41
|
+
state.isGenerateMatCode = isGenerateMatCode
|
|
42
|
+
},
|
|
39
43
|
SET_WEB_APP_CODE: (state, webAppCode) => {
|
|
40
44
|
state.webAppCode = webAppCode
|
|
41
45
|
},
|
|
@@ -112,6 +116,7 @@ export default new Vuex.Store({
|
|
|
112
116
|
modules:{},
|
|
113
117
|
getters: {
|
|
114
118
|
industryVersion:state=>state.industryVersion,
|
|
119
|
+
isGenerateMatCode:state=>state.isGenerateMatCode,
|
|
115
120
|
umsUrl:state=>state.umsUrl,
|
|
116
121
|
msgUrl:state=>state.msgUrl,
|
|
117
122
|
token: state => state.token,
|