From 77304da7aaea6a44dcca76d9d26810891d447dde Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Fri, 25 Jul 2025 15:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=A7=94=E5=A4=96=E9=A2=86?= =?UTF-8?q?=E6=96=99=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/outsourcing-issue/DirectIssue.vue | 139 ++-- src/views/modules/outsourcing-issue/index.vue | 63 +- .../production-issue/productionIssuePda.vue | 637 ++++++++++-------- 3 files changed, 480 insertions(+), 359 deletions(-) diff --git a/src/views/modules/outsourcing-issue/DirectIssue.vue b/src/views/modules/outsourcing-issue/DirectIssue.vue index 0bd9409..af2694d 100644 --- a/src/views/modules/outsourcing-issue/DirectIssue.vue +++ b/src/views/modules/outsourcing-issue/DirectIssue.vue @@ -1,84 +1,83 @@ @@ -115,14 +113,14 @@ export default { background: white; border-radius: 8px; padding: 20px; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); cursor: pointer; transition: all 0.3s; text-align: center; } .function-card:hover { transform: translateY(-2px); - box-shadow: 0 4px 8px rgba(0,0,0,0.15); + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .function-icon { font-size: 48px; @@ -138,4 +136,33 @@ export default { font-size: 14px; color: #666; } + +/* 响应式设计 */ +@media (max-width: 768px) { + .production-issue-pda { + padding: 5px; + } + + .function-card { + padding: 15px; + } + + .function-icon { + font-size: 36px; + } + + .input-with-scan { + flex-direction: column; + } + + .material-item { + flex-direction: column; + align-items: flex-start; + gap: 10px; + } + + .material-status { + align-self: flex-end; + } +} \ No newline at end of file diff --git a/src/views/modules/production-issue/productionIssuePda.vue b/src/views/modules/production-issue/productionIssuePda.vue index 6ed77d4..0da80c6 100644 --- a/src/views/modules/production-issue/productionIssuePda.vue +++ b/src/views/modules/production-issue/productionIssuePda.vue @@ -2,13 +2,13 @@
-
上一页
+
上一页
{{ functionTitle }}
🏠首页
-
+
📦
直接发料
@@ -29,17 +29,14 @@
-
+
-
+
- +
@@ -47,17 +44,10 @@
-
-

工单物料 ({{ directIssueForm.workOrderNo }})

- -
-
-
+ @click="goToScanLabel(material)">
{{ material.partNo }}
{{ material.partDesc }}
@@ -74,85 +64,16 @@
- - -
-
-

扫描物料标签

-
- -
- -
- - -
-
- - -
-
- 物料编码: - {{ labelInfo.partNo }} -
-
- 物料描述: - {{ labelInfo.partDesc }} -
-
- 批次号: - {{ labelInfo.batchNo }} -
-
- 库位: - {{ labelInfo.locationId }} -
-
- 可用数量: - {{ labelInfo.availableQty }} -
-
- - -
-
- - -
- -
- - -
- - -
-
-
+
- +
@@ -184,11 +105,7 @@
- +
@@ -225,17 +142,13 @@
-
+
-
+
- +
@@ -243,103 +156,118 @@
-
-

申请单物料 ({{ requestIssueForm.notifyNo }})

- -
-
-
-
{{ material.partNo }}
-
{{ material.partDesc }}
-
工单: {{ material.workOrderNo }}
-
- 申请: {{ material.requestQty }} | - 已发: {{ material.issuedQty }} | - 剩余: {{ material.remainQty }} + + + + +
+
+ 物料编码: + {{ labelInfo.partNo }}
-
- 待发料 - 已完成 +
+ 批次号: + {{ labelInfo.batchNo }} +
+
+ 可用数量: + {{ labelInfo.availableQty }}
-
-
-
- -
-
-

扫描物料标签

-
+
+
+ + +
-
- -
- - -
-
+
+ +
+