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 1/2] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=20PDA=20?=
=?UTF-8?q?=E6=89=AB=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
From d9c1f0b5bf337c9c73fe4afe69ea8d85f2adbfc3 Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Thu, 20 Jun 2024 11:33:19 +0800
Subject: [PATCH 2/2] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=20PDA=20?=
=?UTF-8?q?=E9=A2=86=E7=94=A8=E5=87=BA=E5=BA=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/eam/location.js | 11 +
src/pages.json | 14 ++
src/pages/eam/outLocation/detail.vue | 355 +++++++++++++++++++++++++++
src/pages/eam/outLocation/index.vue | 190 ++++++++++++++
4 files changed, 570 insertions(+)
create mode 100644 src/pages/eam/outLocation/detail.vue
create mode 100644 src/pages/eam/outLocation/index.vue
diff --git a/src/api/eam/location.js b/src/api/eam/location.js
index c4e3fc9..7a9b78d 100644
--- a/src/api/eam/location.js
+++ b/src/api/eam/location.js
@@ -10,4 +10,15 @@ export function getOutLocation(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 ba5720e..3ef8064 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -2107,6 +2107,20 @@
"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