diff --git a/src/api/eam/location.js b/src/api/eam/location.js new file mode 100644 index 0000000..c4e3fc9 --- /dev/null +++ b/src/api/eam/location.js @@ -0,0 +1,13 @@ +import http from '../http' +// 获取库位 +export function getLocation(number) { + return http.get('/eam/location/scanCodeByNumber?number='+number) +} +// 出库获取库位 +export function getOutLocation(data) { + return http.post('/eam/location/outScanCodeByNumber',data) +} +// 首页扫码获取详情 +export function pdaItemAndLocation(number) { + return http.get('/eam/location/pdaItemAndLocation?number='+number) +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index cac104e..ba5720e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -2101,6 +2101,13 @@ "navigationBarTitleText" : "" } }, + { + "path": "pages/eam/scanCode/scanCode", + "style": { + "navigationBarTitleText": "扫码", + "enablePullDownRefresh": true + } + } diff --git a/src/pages/eam/scanCode/scanCode.vue b/src/pages/eam/scanCode/scanCode.vue new file mode 100644 index 0000000..9d60c8e --- /dev/null +++ b/src/pages/eam/scanCode/scanCode.vue @@ -0,0 +1,191 @@ + + + + + \ No newline at end of file