diff --git a/common/style/layout.styl b/common/style/layout.styl index 7e5bc48..af0d223 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -526,4 +526,7 @@ uni-button[disabled]:not([type]), uni-button[disabled][type=default] { } .del-icon { right 32px +} +.mini-btn { + margin-right: 0; } \ No newline at end of file diff --git a/pages.json b/pages.json index e697dba..bd8cf31 100644 --- a/pages.json +++ b/pages.json @@ -298,6 +298,14 @@ } } + ,{ + "path" : "pages/entry/bill-to-store", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/entry/bill-to-store.vue b/pages/entry/bill-to-store.vue new file mode 100644 index 0000000..e43cb0c --- /dev/null +++ b/pages/entry/bill-to-store.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/pages/home/home.vue b/pages/home/home.vue index e5aaeab..8c650fd 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/mater-group-to-store'}, {title: '合格证入库', path: '/pages/entry/qualified-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/qualified-to-store'}, {title: '单据入库', path: '/pages/entry/bill-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: '/pages/outbound/bill-list'}, {title: '库存出库', path: '/pages/outbound/stock-out-store'}]}, {title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]}, {title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]}, diff --git a/utils/getData2.js b/utils/getData2.js index 981d02d..1c56185 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -28,13 +28,6 @@ export const storList = () => request({ url:'api/pda/common/storList', data: {} }) -// export const storList = () => { -// let res = { -// code: '200', -// content: [{value: 'FicStockId', label: '虚拟库编码'}, {value: 'FStockId', label: '料箱编码'}, {value: 'FStockPallet', label: '托盘库编码'}] -// } -// return res -// } export const groupMaterList = (page, size, search) => request({ url:'api/groupMater/maters', data: {page: page, size: size, search: search} @@ -253,4 +246,11 @@ export const getPointStatus = (scode) => request({ export const bindOrUnbind = (scode, bcode, mode) => request({ url:'api/point/bindOrUnbind', data: {site_code: scode, shelf_code: bcode, mode: mode} +}) +/** + * 单据入库 + */ +export const getBillNoInfo = (id) => request({ + url:'api/pda/inStorage/getBillNoInfo/' + id, + method: 'GET' }) \ No newline at end of file diff --git a/utils/mork2.js b/utils/mork2.js index 36cfd85..f38986b 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -263,4 +263,41 @@ export const queryTargetPoint = () => { msg: '查询成功!' } return res +} +export const storList = () => { + let res = { + code: '200', + content: [{value: 'FicStockId', label: '虚拟库编码'}, {value: 'FStockId', label: '料箱编码'}, {value: 'FStockPallet', label: '托盘库编码'}] + } + return res +} +export const getBillNoInfo = (id) => { + let res = [ + { + code: '订单号1', + material_code: '1', + material_name: 'material_name', + material_spec: 'material_spec', + unit_name: 'unit_name', + qty: '100', + stockOrgId: 'StockOrgId', + ownerId_id: 'OwnerId_Id', + single_weight: '500', + pcsn: 'pcsn', + vehicle_code: 'T001' + }, + { + code: '订单号2', + material_code: '2', + material_name: 'material_name', + material_spec: 'material_spec', + unit_name: 'unit_name', + qty: '100', + stockOrgId: 'StockOrgId', + ownerId_id: 'OwnerId_Id', + single_weight: '500', + pcsn: 'pcsn' + } + ] + return res } \ No newline at end of file