doway-coms 1.6.0 → 1.6.2

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.
@@ -11,6 +11,7 @@ export default new Vuex.Store({
11
11
  state: {
12
12
  umsUrl:'',
13
13
  msgUrl:'',
14
+ wmsUrl:'',
14
15
  identityUrl:'',
15
16
  token: '',
16
17
  industryVersion:'',//行业版本
@@ -90,6 +91,9 @@ export default new Vuex.Store({
90
91
  extraInfo = {...extraInfo, ...userExtraInfo}
91
92
  //存在额外参数,就赋值
92
93
  if (Object.keys(extraInfo).length) {
94
+ if (Object.hasOwn(extraInfo,'api')){
95
+ extraInfo['api'] = state[extraInfo['url']] + extraInfo['api']
96
+ }
93
97
  tempField = XEUtils.assign(extraInfo, tempField)
94
98
  }
95
99
  if (tempField.controlType === controlType.select) {
@@ -138,6 +142,9 @@ export default new Vuex.Store({
138
142
  SET_UMS_URL:(state,url) => {
139
143
  state.umsUrl = url
140
144
  },
145
+ SET_WMS_URL:(state,url) => {
146
+ state.wmsUrl = url
147
+ },
141
148
  SET_CUST_PRICE_NOT_TAX_PRECISION:(state,custPriceNotTaxPrecision)=>{
142
149
  state.custPriceNotTaxPrecision = custPriceNotTaxPrecision
143
150
  },