diff --git a/.env b/.env index e769c09..af3850a 100644 --- a/.env +++ b/.env @@ -4,10 +4,10 @@ VUE_APP_PREVIEW=true # VUE_APP_API_BASE_URL=http://127.0.0.1:5000 # VUE_APP_API_BASE_URL=http://60.209.125.238:25805 # 和川大简云正式 -# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api # VUE_APP_API_BASE_URL=http://localhost:5010 # 和川大简云测试 -VUE_APP_API_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_API_BASE_URL=http://60.209.125.238:35100 # 大简云 # VUE_APP_API_BASE_URL=http://47.104.222.4:5020 diff --git a/.env.development b/.env.development index e6224fa..a404dd8 100644 --- a/.env.development +++ b/.env.development @@ -7,11 +7,11 @@ VUE_APP_PREVIEW=true # process.env.VUE_APP_API_BASE_URL # 和川大简云正式 -# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api -# VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api # 和川大简云测试 -VUE_APP_API_BASE_URL=http://60.209.125.238:35100 -VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_API_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 # # 大简云 # VUE_APP_API_BASE_URL=http://47.104.222.4:5020 # VUE_APP_SOCKET_BASE_URL=http://47.104.222.4:5020 diff --git a/.env.preview b/.env.preview index d081c56..b2b613c 100644 --- a/.env.preview +++ b/.env.preview @@ -3,13 +3,13 @@ VUE_APP_PREVIEW=true # VUE_APP_API_BASE_URL=http://60.209.125.238:25805 # VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:25805 # 和川大简云正式 -# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api -# VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api +VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345/api # VUE_APP_API_BASE_URL=http://localhost:5010 # VUE_APP_SOCKET_BASE_URL=http://localhost:5010 # 和川大简云测试 -VUE_APP_API_BASE_URL=http://60.209.125.238:35100 -VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_API_BASE_URL=http://60.209.125.238:35100 +# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100 # 大简云 # VUE_APP_API_BASE_URL=http://47.104.222.4:5020 # VUE_APP_SOCKET_BASE_URL=http://47.104.222.4:5020 \ No newline at end of file diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index d7f7ca2..27d1897 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -1239,4 +1239,12 @@ export function ListAgentByCarrier(parameter) { method: 'get', params: parameter }) +} + +export function listYardBwCarrier(parameter) { + return axios({ + url: '/BookingCarrierRelation/ListYardByCarrier', + method: 'get', + params: parameter + }) } \ No newline at end of file diff --git a/src/store/getters.js b/src/store/getters.js index b09a5f8..cea0ce3 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -32,6 +32,7 @@ const getters = { saveNeedCar: state => state.booking.saveNeedCar, lineList: state => state.booking.lineList, agentFilter: state => state.booking.agentFilter, + yardFilter: state => state.booking.yardFilter, bookingInitData: state => state.booking.bookingInitData, sourceList: state => state.booking.sourceList, countryList: state => state.booking.countryList, diff --git a/src/store/modules/booking.js b/src/store/modules/booking.js index 1e6da42..9a3b8e9 100644 --- a/src/store/modules/booking.js +++ b/src/store/modules/booking.js @@ -21,6 +21,7 @@ const booking = { dpTreeList: [], copyPages: { number: 0, path: '' }, yardList: [], + yardFilter: {}, statusDIct: [], projectDict: [], saveNeedNumber: '', @@ -34,7 +35,7 @@ const booking = { lineList: [], sourceList: [], countryList: [], - agentFilter: [], + agentFilter: {}, saveNeedCar: '', bookingInitData: { customernameInitList: [], @@ -133,6 +134,9 @@ const booking = { }, SET_AgentFilter: (state, list) => { state.agentFilter = list + }, + SET_YardFilter: (state, list) => { + state.yardFilter = list } }, diff --git a/src/views/main/BookingLedger/detail/components/selectView.vue b/src/views/main/BookingLedger/detail/components/selectView.vue index cd7f7e3..d6c5d2a 100644 --- a/src/views/main/BookingLedger/detail/components/selectView.vue +++ b/src/views/main/BookingLedger/detail/components/selectView.vue @@ -19,14 +19,12 @@ @blur="getSelectBlur" @select="selectOption" @change="(value, option) => debounce(this.handleChange, 200, option)" - @search="debounce(handleSearch, 300, $event)" - > + @search="debounce(handleSearch, 300, $event)"> + :label="item[showLabel[0]]">