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 @@
+
+
+
+
+ *申领信息
+
+
+
+ {{ form.number}}
+
+
+ {{ form.applyNumber}}
+
+
+ {{ form.applyer}}
+
+
+ {{`${$time.formatDate(form.createTime)}`}}
+
+
+
+ *备件明细
+
+
+
+
+
+
+ 备件名称:{{item.sparePartsName}}
+
+
+
+
+
+ 备件编号:{{item.sparePartsCode}}
+
+
+
+
+ 流程状态:未出库
+
+
+ 流程状态:出库中
+
+
+ 流程状态:已出库
+
+
+
+
+ 库存数量:{{item.currentQty}}
+
+
+
+
+ 申请数量:{{item.applyQty}}
+
+
+
+
+ 已出库数量:{{item.outedQty}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+ {{item.number}}
+
+
+
+
+ 编号:{{item.number}}
+
+
+ 申请单号:{{item.applyNumber}}
+
+
+ 流程状态:
+
+
+
+
+
+
+
+
+
+ 申请人ID:{{item.applyer}}
+
+
+ 审核人:{{item.approver}}
+
+
+ 审核内容:{{item.approveContent}}
+
+
+ 审核时间:{{`${$time.formatDate(item.approveTime)}`}}
+
+
+ 申请时间:{{`${$time.formatDate(item.createTime)}`}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+ 详细信息
+
+
+
+
+
+
+
+ 库位名称:{{item.name}}
+
+
+
+ 库位编码:
+ {{item.code}}
+
+
+ 库位名称:
+ {{item.name}}
+
+
+ 库区编码:
+ {{item.areaCode}}
+
+
+ 库区名称:
+ {{item.areaName}}
+
+
+ 备件编码:
+ {{item.spareCode}}
+
+
+ 备件名称:
+ {{item.spareName}}
+
+
+ 库存:
+ {{item.spareQty}}
+
+
+ 备件单价:
+ {{item.singlePrice}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file