From 91874fc927117dfeb9050791dd8f060e874d2fd6 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期四, 21 五月 2026 14:06:55 +0800
Subject: [PATCH] feat: 质检功能优化 - 支持快速合格判定 1. 将检验管理页面的"编辑"按钮改为"质检" 2. 点击"质检"时弹出对话框选择合格/不合格 3. 选择"合格"时自动填充当前时间和当前用户,直接提交 4. 选择"不合格"时进入详细填写页面,检测结果默认为"不合格"涉及文件:- 原材料检验、出厂检验、过程检验的index.vue和formDia.vue
---
src/views/reportAnalysis/dataDashboard/components/basic/center-top.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/views/reportAnalysis/dataDashboard/components/basic/center-top.vue b/src/views/reportAnalysis/dataDashboard/components/basic/center-top.vue
index 8a58783..d2cf18e 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/center-top.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/center-top.vue
@@ -136,7 +136,7 @@
const formatPercent = (val) => {
const num = Number(val) || 0
- return `${Math.abs(num).toFixed(2)}%`
+ return `${Math.abs(num).toFixed(3)}%`
}
const compareClass = (val) => (val >= 0 ? 'compare-up' : 'compare-down')
@@ -442,6 +442,7 @@
background-position: center;
background-repeat: no-repeat;
padding: 20px;
+ padding-top: 10px;
height: 186px;
}
--
Gitblit v1.9.3