From 299b4948b7a2bef5b4053167a754631fbd8fe272 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E6=96=87=E6=B6=9B?= <1909118034@qq.com>
Date: Thu, 27 Mar 2025 23:43:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93(home)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/ticket.ts | 17 +-
pages.json | 2 +-
pagesA/my_order/detail.vue | 12 +-
pagesA/warehousing/index.vue | 465 ++++++++++++++++++---------------
unocss/a-hua-unocss/index.scss | 63 +++++
5 files changed, 334 insertions(+), 225 deletions(-)
diff --git a/api/ticket.ts b/api/ticket.ts
index 3350381..fe4ac37 100644
--- a/api/ticket.ts
+++ b/api/ticket.ts
@@ -12,12 +12,11 @@ export const myTicketList = (data : any = {}) => get('v1/ticket/my/list', data);
export const myTicketInfo = (data : any = {}) => get('v1/ticket/my/info', data);
-
-
-
-
-
-
-
-
-
+// 获取码信息
+export const scanCodeGet = (data : any = {}) => get('v1/scan/code/get', data);
+// 入库接口
+export const orderStorageAct = (data : any) => post('v1/order/storage/act', data);
+// 获取码信息
+export const orderStorageVerify = (data : any) => post('v1/order/storage/verify', data);
+// 入库&核销记录
+export const orderRecord = (data : any = {}) => get('v1/order/record', data);
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 2aebcf0..448115b 100644
--- a/pages.json
+++ b/pages.json
@@ -172,7 +172,7 @@
"current": 0, // 当前激活的条件,默认为 0
"list": [{
"name": "", // 条件名称
- "path": "pagesA/my_order/list", // 要打开的页面路径
+ "path": "pagesA/warehousing/index", // 要打开的页面路径
"query": "" // 可选的页面参数
}]
}
diff --git a/pagesA/my_order/detail.vue b/pagesA/my_order/detail.vue
index 60e4306..5a21e66 100644
--- a/pagesA/my_order/detail.vue
+++ b/pagesA/my_order/detail.vue
@@ -123,7 +123,7 @@
class="scene-image"
:src="item"
mode="aspectFill">
-
+
@@ -150,7 +150,7 @@
2025-03-13 11:25:18
工单已接单
-
+
@@ -178,8 +178,8 @@
import { onLoad, onShow } from '@dcloudio/uni-app'
import { useNavigation } from '@/hooks/useNavigation'
import {myTicketInfo} from '@/api/ticket'
- import { useToast } from '@/uni_modules/wot-design-uni'
-
+ import { useToast } from '@/uni_modules/wot-design-uni'
+
const Toast = useToast()
const loading = ref(false)
const bntloading = ref(false)
@@ -303,7 +303,7 @@
-webkit-backdrop-filter: blur(10px);
z-index: 998;
}
-
+
/* 卡片通用样式 */
.ticket-card, .info-card {
width: 92%;
@@ -623,7 +623,7 @@
}
}
}
-
+
::v-deep .wd-button {
width: auto !important;
height: 80rpx !important;
diff --git a/pagesA/warehousing/index.vue b/pagesA/warehousing/index.vue
index 4aa829b..f6db67b 100644
--- a/pagesA/warehousing/index.vue
+++ b/pagesA/warehousing/index.vue
@@ -41,7 +41,7 @@
-
+
连续入库
@@ -56,7 +56,8 @@
-
+
@@ -66,7 +67,7 @@
-
+
请输入订单号
@@ -104,10 +105,9 @@
-
-
- 暂无入库记录
+
+
+
@@ -120,76 +120,121 @@
custom-style="height: auto; max-height: 80vh;">