From bea1a535437f8d4ce5a12918a8b52e76568a4ca8 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Wed, 31 Jul 2024 18:03:57 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8E=A5=E6=94=B6=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E8=B0=83=E8=AF=95=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sgzb-ui/src/api/dataPush/index.js | 15 +-
.../warehouseManage/pushAndAccept/index.vue | 404 +++++++++++-------
.../pushAndAccept/pushAndAcceptDetail.vue | 90 ++--
sgzb-ui/vue.config.js | 4 +-
4 files changed, 311 insertions(+), 202 deletions(-)
diff --git a/sgzb-ui/src/api/dataPush/index.js b/sgzb-ui/src/api/dataPush/index.js
index 3eda1ef0..4c7db1d4 100644
--- a/sgzb-ui/src/api/dataPush/index.js
+++ b/sgzb-ui/src/api/dataPush/index.js
@@ -3,4 +3,17 @@ import request from '@/utils/request'
// 推送设备
export const pushNotificationsApi = (data) => {
return request.post('/base/machine/pushNotifications', data)
-}
\ No newline at end of file
+}
+// 接收设备
+export const receiveNotificationsApi = (params) => {
+ return request.get('/base/receive/getDataReceive', {
+ params
+ })
+}
+// 接收设备详情
+export const receiveNotificationsDetailsApi = (params) => {
+ return request.get('/base/receive/getDataReceiveDetails', {
+ params
+ })
+}
+
diff --git a/sgzb-ui/src/views/warehouseManage/pushAndAccept/index.vue b/sgzb-ui/src/views/warehouseManage/pushAndAccept/index.vue
index 31a1b21d..bc6e2829 100644
--- a/sgzb-ui/src/views/warehouseManage/pushAndAccept/index.vue
+++ b/sgzb-ui/src/views/warehouseManage/pushAndAccept/index.vue
@@ -1,178 +1,250 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 未接收
+ 已接收
+
+
+
+
+ 接收
+ 明细
+
+
+
+
+
-
-
- 搜索
- 重置
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 未接收
- 已接收
-
-
-
-
- 接收
- 明细
-
-
-
-
-
-
+
diff --git a/sgzb-ui/src/views/warehouseManage/pushAndAccept/pushAndAcceptDetail.vue b/sgzb-ui/src/views/warehouseManage/pushAndAccept/pushAndAcceptDetail.vue
index 559808c7..3c279913 100644
--- a/sgzb-ui/src/views/warehouseManage/pushAndAccept/pushAndAcceptDetail.vue
+++ b/sgzb-ui/src/views/warehouseManage/pushAndAccept/pushAndAcceptDetail.vue
@@ -98,7 +98,7 @@
type="selection"
width="55"
align="center"
- :selectable="(row) => row.status == '1'"
+ :selectable="(row) => row.status == 0"
/>
+ >
+
+ 是
+ 否
+
+
- {{ scope.row.machinistName }}
+ {{ scope.row.maUserName }}
无
-
+
- 未接收
- 已接收
@@ -307,6 +323,7 @@