diff --git a/pages/zw/jb-lower-mater.vue b/pages/zw/jb-lower-mater.vue index 656328e..e1d0041 100644 --- a/pages/zw/jb-lower-mater.vue +++ b/pages/zw/jb-lower-mater.vue @@ -209,6 +209,7 @@ return } this.showDialog = true + this._structListByWorkId() }, // 库位选择事件 onStructChange(e) { @@ -256,6 +257,10 @@ let res = await structListByWorkId(this.pkId) if (res.code === '200') { this.structList = res.data + this.structList.map(el => { + this.$set(el, 'text', el.struct_name) + this.$set(el, 'value', el.struct_code) + }) } }, async _regionList () { diff --git a/vuex/modules/user.js b/vuex/modules/user.js index 58943b1..d64cf7c 100644 --- a/vuex/modules/user.js +++ b/vuex/modules/user.js @@ -1,6 +1,6 @@ import * as types from '../types' -const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.10.71:8099' : 'http://192.168.10.71:8099' +const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.30.4.233:8010' : 'http://10.30.4.233:8010' const acsUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.18.250:8012' : 'http://192.168.18.250:8012' const printUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.162:8010' : 'http://192.168.81.162:8010' const state = {