diff --git a/src/api/eam/location.js b/src/api/eam/location.js new file mode 100644 index 0000000..7a9b78d --- /dev/null +++ b/src/api/eam/location.js @@ -0,0 +1,24 @@ +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) +} + + +// 获取领用出库主表分页列表 +export function getOutLocationPage(params) { + return http.get('/eam/spare-parts-out-location-main/page',{params}) +} + +// 获取领用出库子表分页列表 +export function getOutLocationDetailPage(params) { + return http.get('/eam/spare-parts-out-location-detail/page',{params}) +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index c5f1921..f467016 100644 --- a/src/pages.json +++ b/src/pages.json @@ -2101,6 +2101,27 @@ "navigationBarTitleText" : "" } }, + { + "path": "pages/eam/scanCode/scanCode", + "style": { + "navigationBarTitleText": "扫码", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/eam/outLocation/index", + "style": { + "navigationBarTitleText": "领用出库", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/eam/outLocation/detail", + "style": { + "navigationBarTitleText": "详情", + "enablePullDownRefresh": true + } + } diff --git a/src/pages/eam/outLocation/detail.vue b/src/pages/eam/outLocation/detail.vue new file mode 100644 index 0000000..fcc3c8f --- /dev/null +++ b/src/pages/eam/outLocation/detail.vue @@ -0,0 +1,355 @@ + + + + + \ No newline at end of file diff --git a/src/pages/eam/outLocation/index.vue b/src/pages/eam/outLocation/index.vue new file mode 100644 index 0000000..7836ff5 --- /dev/null +++ b/src/pages/eam/outLocation/index.vue @@ -0,0 +1,190 @@ + + + + + \ No newline at end of file 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