diff --git a/src/api/task.js b/src/api/task.js index 3ed6d27..f6e19a7 100644 --- a/src/api/task.js +++ b/src/api/task.js @@ -64,6 +64,14 @@ const changeTaskStatus = (params) => { }) } +const getWorkByStandAndGoods = (params) => { + return request({ + url: '/task/getWorkByStandAndGoods', + method: 'post', + data: params + }) +} + export { sendGoodsInTask, sendGoodsOutTask, @@ -73,4 +81,5 @@ export { getTasks, finishPickingAndBack, changeTaskStatus, + getWorkByStandAndGoods } \ No newline at end of file diff --git a/src/assets/fdbk_log.png b/src/assets/fdbk_log.png index 61e13b4..81b7919 100644 Binary files a/src/assets/fdbk_log.png and b/src/assets/fdbk_log.png differ diff --git a/src/http/request.js b/src/http/request.js index b969fc4..3d42d7b 100644 --- a/src/http/request.js +++ b/src/http/request.js @@ -1,7 +1,7 @@ import axios from 'axios' const request = axios.create({ - baseURL: 'http://192.168.3.254:12315/wms', + baseURL: 'http://localhost:12315/wms', timeout: 5000 }) diff --git a/src/layout/prepareGoods.vue b/src/layout/prepareGoods.vue new file mode 100644 index 0000000..2bc6515 --- /dev/null +++ b/src/layout/prepareGoods.vue @@ -0,0 +1,409 @@ + + + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 9c7d36f..00c29d7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,6 +25,7 @@ const routes = [ { path: '/inventory', component: () => import('@/layout/inventory.vue') },// 盘点 { path: '/inventoryRecord', component: () => import('@/layout/inventoryRecord.vue') },// 盘点 { path: '/wmsLog', component: () => import('@/layout/wmsLog.vue') },// 日志 + { path: '/testPrepareGoods', component: () => import('@/layout/prepareGoods.vue') },// 日志 ] }, { diff --git a/src/store/index.js b/src/store/index.js index 4768b43..7c29021 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -10,7 +10,8 @@ export default createStore({ user: {}, menuList: [], token: '', - verifier: '' + verifier: '', + standId: '# 1' }, getters: { getUserName(state) { @@ -25,6 +26,9 @@ export default createStore({ getVerify(state) { return state.verifier }, + getStandId(state) { + return state.standId + } }, mutations: { /** diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 946c9b8..e0cfa7b 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,11 +1,11 @@