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/assets/styles/element-ui.scss | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss
index 82712af..8c741af 100644
--- a/src/assets/styles/element-ui.scss
+++ b/src/assets/styles/element-ui.scss
@@ -56,17 +56,19 @@
padding: 0 !important;
}
.el-dialog__header {
- background: #F5F6F7;
+ background: #f5f6f7;
padding: 12px 16px;
border-radius: 8px 8px 0 0;
}
.el-dialog__title {
font-weight: 400;
font-size: 16px;
- color: #2E3033;
+ color: #2e3033;
}
.el-dialog__body {
padding: 16px 40px 0 40px;
+ max-height: 74vh;
+ overflow-y: auto;
}
.el-dialog__footer {
text-align: center;
@@ -77,14 +79,14 @@
border-radius: 8px;
}
.el-message-box__header {
- background: #F5F6F7;
+ background: #f5f6f7;
padding: 12px 16px;
border-radius: 8px 8px 0 0;
}
.el-message-box__title {
font-weight: 400;
font-size: 16px;
- color: #2E3033;
+ color: #2e3033;
}
.el-message-box__content {
padding: 16px 40px 0 40px;
@@ -103,6 +105,12 @@
margin-right: 12px;
}
}
+.el-table__expanded-cell {
+ padding: 0 !important;
+ .el-table__header-wrapper {
+ background-color: #f5f8ff !important;
+ }
+}
// refine element ui upload
.upload-container {
@@ -119,7 +127,7 @@
// dropdown
.el-dropdown-menu {
a {
- display: block
+ display: block;
}
}
@@ -141,6 +149,6 @@
display: none;
}
-.el-dropdown .el-dropdown-link{
+.el-dropdown .el-dropdown-link {
color: var(--el-color-primary) !important;
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3