diff --git a/api/wms.js b/api/wms.js new file mode 100644 index 0000000..519a5fe --- /dev/null +++ b/api/wms.js @@ -0,0 +1,32 @@ +import http from '@/http/api.js' + +// 查询人员 +const getRoleUser = (code) => { + return http.request({ + url: `/blade-system/user/list-all-by-role-alias?roleAlias=warehouse_keeper`, + method: 'GET' + }) +} +// 扫描物料号查询数据 +const getScanSubmit = (params) => { + return http.request({ + url: `/blade-wms/combox/config/getStockByStorehouseAndGoods`, + method: 'get', + params + }) +} +// 新增 + const addIssue = data => { + return http.request({ + url: '/blade-wms/stOtherOutRecord/submit', + method: 'post', + data + }); +}; + + +export default { + getRoleUser, + getScanSubmit, + addIssue +} \ No newline at end of file diff --git a/pages.json b/pages.json index 72918a4..4c95a03 100644 --- a/pages.json +++ b/pages.json @@ -290,6 +290,12 @@ "style": { "navigationBarTitleText": "绑定维护" } + }, + { + "path": "pages/wms/otherOut", + "style": { + "navigationBarTitleText": "其他出库" + } } ], "globalStyle": { diff --git a/pages/index/menu.js b/pages/index/menu.js index 7bcdfd8..8f2f477 100644 --- a/pages/index/menu.js +++ b/pages/index/menu.js @@ -235,18 +235,6 @@ const menus = { { title: '安环管理', children: [ - // { - // key: "spotCheck", - // title: "安全点检", - // url: "../safe/spotCheck", - // bgColor: '', - // limit: 'RB2315', - // icon: { - // size: 20, - // color: '#00b7ee', - // type: '' - // } - // }, { key: "inspection", title: "安全巡检", @@ -373,6 +361,23 @@ const menus = { } } ] + }, + { + title: '仓库管理', + children: [ + { + key: "otherOut", + title: "其他出库", + url: "../wms/otherOut", + bgColor: '', + limit: 'RB2316', + icon: { + size: 20, + color: '#00b7ee', + type: '' + } + }, + ] } ], diff --git a/pages/wms/otherOut.vue b/pages/wms/otherOut.vue new file mode 100644 index 0000000..075cb0f --- /dev/null +++ b/pages/wms/otherOut.vue @@ -0,0 +1,845 @@ + + + + \ No newline at end of file diff --git a/static/images/menus/bindingMaintenance.png b/static/images/menus/bindingMaintenance.png index e1b9c5b..f3c7391 100644 Binary files a/static/images/menus/bindingMaintenance.png and b/static/images/menus/bindingMaintenance.png differ diff --git a/static/images/menus/otherOut.png b/static/images/menus/otherOut.png new file mode 100644 index 0000000..af25ef2 Binary files /dev/null and b/static/images/menus/otherOut.png differ