diff --git a/src/api/location.js b/src/api/location.js
index 8423535..1a7e8eb 100644
--- a/src/api/location.js
+++ b/src/api/location.js
@@ -7,4 +7,8 @@ export function getLocation(number) {
// 出库获取库位
export function getOutLocation(params) {
return http.get('/eam/location/outScanCodeByNumber',{params})
+}
+// 首页扫码获取详情
+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 7b4649b..f97c59b 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -45,6 +45,13 @@
"navigationBarBackgroundColor": "#409eff",
"navigationBarTextStyle": "white"
}
+ }, {
+ "path": "pages/scanCode/scanCode",
+ "style": {
+ "navigationBarTitleText": "扫码详情",
+ "navigationBarBackgroundColor": "#409eff",
+ "navigationBarTextStyle": "white"
+ }
}],
"globalStyle": {
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 838fadf..c0ba226 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -38,8 +38,8 @@
扫码
-
-
+
+
扫码
@@ -142,6 +142,7 @@
.index-content {
background-color: white;
min-height: 100vh;
+ padding-bottom: 20rpx;
}
.bg {
diff --git a/src/pages/scanCode/scanCode.vue b/src/pages/scanCode/scanCode.vue
new file mode 100644
index 0000000..ac5608b
--- /dev/null
+++ b/src/pages/scanCode/scanCode.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+ 详细信息
+
+
+
+
+
+
+
+ 库位名称:{{item.name}}
+
+
+
+ 库位编码:
+ {{item.locationNumber}}
+
+
+ 库位名称:
+ {{item.name}}
+
+
+ 库区编码:
+ {{item.areaNumber}}
+
+
+ 库区名称:
+ {{item.areaName}}
+
+
+
+ 库位类型:
+ {{item.isInAccount == 'TRUE'?'帐内库' :'帐外库'}}
+
+
+ 设备编码:
+ {{item.itemNumber}}
+
+
+ 设备名称:
+ {{item.itemName}}
+
+
+ 库存:
+ {{item.qty}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/images/icon8.png b/src/static/images/icon8.png
new file mode 100644
index 0000000..8c0dba3
Binary files /dev/null and b/src/static/images/icon8.png differ