diff --git a/pages.json b/pages.json index b62b37d..0b64441 100644 --- a/pages.json +++ b/pages.json @@ -180,6 +180,16 @@ } } + ,{ + "path" : "pages/entry/mater-group-to-store", + "style" : + { + "navigationStyle": "custom", + "enablePullDownRefresh": true, + "onReachBottomDistance": 50 + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/entry/mater-group-to-store.vue b/pages/entry/mater-group-to-store.vue new file mode 100644 index 0000000..a1e2da1 --- /dev/null +++ b/pages/entry/mater-group-to-store.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/pages/home/home.vue b/pages/home/home.vue index d2a7f25..c443655 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -41,7 +41,7 @@ return { userName: '', menuList: [ - {title: '入库管理', path: 'RF01', sonTree: [{title: '组盘入库', path: '/pages/entry/group-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]}, + {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, {title: '组盘入库', path: '/pages/entry/group-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]}, {title: '出库管理', path: 'RF02', sonTree: [{title: '托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}]}, {title: '在库管理', path: 'RF03', sonTree: [{title: '库存信息', path: '/pages/in/store-info'}]}, {title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]}, diff --git a/utils/getData2.js b/utils/getData2.js index f67e8c6..3885f68 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -21,6 +21,17 @@ export const handLogin = (user, password) => request({ } }) +/** + * 物料组盘入库 + */ +export const groupMaterList = (page, size, search) => request({ + url:'api/groupMater/maters', + data: {page: page, size: size, search: search} +}) +export const groupMaterIn = (code, item) => request({ + url:'api/groupMater/in', + data: {stor_code: code, item: item} +}) /** * 组盘入库 */ diff --git a/utils/mork2.js b/utils/mork2.js index 2f19024..3e5484b 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -57,4 +57,42 @@ export const pmFormData = (code) => { msg: '查询成功' } return res +} + +export const groupMaterList = () => { + let res = { + totalElements: '2', + content: [ + { + material_id: '1', + material_name: null, + material_code: '100', + material_spec: null, + single_weight: null, + qty: '0.000', + assign_qty: '0.000', + unit_id: null, + pcsn: null, + vehicle_code: null, + vehicle_id: null + }, + { + material_id: '2', + material_name: null, + material_code: '200', + material_spec: null, + single_weight: null, + qty: '0.000', + assign_qty: '0.000', + unit_id: null, + pcsn: null, + vehicle_code: null, + vehicle_id: null + } + ], + data: null, + code: '200', + msg: '查询成功' + } + return res } \ No newline at end of file