From 9e9f0b4d6efce74c3276a4ceaea27b42de98721c Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Wed, 19 Jun 2024 15:07:18 +0800
Subject: [PATCH] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=20PDA=20=E6=89=AB?=
=?UTF-8?q?=E7=A0=81=20=E5=89=8D=E5=90=8E=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/eam/location.js | 13 ++
src/pages.json | 7 +
src/pages/eam/scanCode/scanCode.vue | 191 ++++++++++++++++++++++++++++
3 files changed, 211 insertions(+)
create mode 100644 src/api/eam/location.js
create mode 100644 src/pages/eam/scanCode/scanCode.vue
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 @@
+
+
+
+
+
+
+
+
+ 详细信息
+
+
+
+
+
+
+
+ 库位名称:{{item.name}}
+
+
+
+ 库位编码:
+ {{item.code}}
+
+
+ 库位名称:
+ {{item.name}}
+
+
+ 库区编码:
+ {{item.areaCode}}
+
+
+ 库区名称:
+ {{item.areaName}}
+
+
+ 备件编码:
+ {{item.spareCode}}
+
+
+ 备件名称:
+ {{item.spareName}}
+
+
+ 库存:
+ {{item.spareQty}}
+
+
+ 备件单价:
+ {{item.singlePrice}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file