From 02a429af66cd83c20e27daba56d1481417577114 Mon Sep 17 00:00:00 2001
From: mrlee <470349233@qq.com>
Date: Mon, 31 Aug 2026 19:17:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/plugin/produce/config/installed.php | 2 +-
.../resource/template/web/pages/query/index.vue | 7 +++----
frontend/web/app/apps/produce/api/query.ts | 14 ++++----------
.../web/app/apps/produce/pages/query/index.vue | 7 +++----
4 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/backend/plugin/produce/config/installed.php b/backend/plugin/produce/config/installed.php
index 7bb33e2..7777ba3 100644
--- a/backend/plugin/produce/config/installed.php
+++ b/backend/plugin/produce/config/installed.php
@@ -1,4 +1,4 @@
'1.0.0',
- 'installed_at' => '2026-08-30 15:44:35',
+ 'installed_at' => '2026-08-31 17:20:32',
);
\ No newline at end of file
diff --git a/backend/plugin/produce/resource/template/web/pages/query/index.vue b/backend/plugin/produce/resource/template/web/pages/query/index.vue
index cbf483c..bf32d8e 100644
--- a/backend/plugin/produce/resource/template/web/pages/query/index.vue
+++ b/backend/plugin/produce/resource/template/web/pages/query/index.vue
@@ -22,7 +22,6 @@
-
{{ scope.row.record_type_name }}
@@ -40,8 +39,7 @@
- {{ scope.row.process_name || '未指定工序' }}
- 工位:{{ scope.row.step_name }}
+ {{ [scope.row.process_name, scope.row.step_name].filter(Boolean).join(' / ') || '—' }}
@@ -74,6 +72,7 @@
+
@@ -95,13 +94,13 @@
查询
-
{{ scope.row.record_type_name }}
{{ [scope.row.process_name, scope.row.step_name].filter(Boolean).join(' / ') || '—' }}
{{ [scope.row.status_name, scope.row.result_name].filter(Boolean).join(' · ') || '—' }}
{{ scope.row.operator || scope.row.user_code || '未记录' }}
+
diff --git a/frontend/web/app/apps/produce/api/query.ts b/frontend/web/app/apps/produce/api/query.ts
index 0c57c6f..58cb956 100644
--- a/frontend/web/app/apps/produce/api/query.ts
+++ b/frontend/web/app/apps/produce/api/query.ts
@@ -9,20 +9,14 @@ export interface ProduceQueryRecord {
order_no?: string
product_code?: string
process_name?: string
- step_name?: string
- status_name?: string
- result_name?: string
- operator?: string
- user_code?: string
- quantity?: number | null
- event_at?: number
- event_date?: string | null
- remark?: string
- // 异常提报和维修记录详情
exception_reason?: string
exception_content?: string
material_category?: string
fault_description?: string
+ quantity?: number | null
+ event_at?: number
+ event_date?: string | null
+ remark?: string
}
export interface ProduceQueryPage {
diff --git a/frontend/web/app/apps/produce/pages/query/index.vue b/frontend/web/app/apps/produce/pages/query/index.vue
index cbf483c..bf32d8e 100644
--- a/frontend/web/app/apps/produce/pages/query/index.vue
+++ b/frontend/web/app/apps/produce/pages/query/index.vue
@@ -22,7 +22,6 @@
-
{{ scope.row.record_type_name }}
@@ -40,8 +39,7 @@
- {{ scope.row.process_name || '未指定工序' }}
- 工位:{{ scope.row.step_name }}
+ {{ [scope.row.process_name, scope.row.step_name].filter(Boolean).join(' / ') || '—' }}
@@ -74,6 +72,7 @@
+
@@ -95,13 +94,13 @@
查询
-
{{ scope.row.record_type_name }}
{{ [scope.row.process_name, scope.row.step_name].filter(Boolean).join(' / ') || '—' }}
{{ [scope.row.status_name, scope.row.result_name].filter(Boolean).join(' · ') || '—' }}
{{ scope.row.operator || scope.row.user_code || '未记录' }}
+