From 993cfb9054e8d2b82826ab7c4870bd5cc212604b Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 28 Nov 2025 10:03:20 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-28=20IPQC=E3=80=81FQC=E3=80=81OQC?= =?UTF-8?q?=E6=A3=80=E9=AA=8C=E5=8D=95=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/FQCResultEntry.vue | 613 ++++++++++++++++++----- src/views/modules/qc/IPQCResultEntry.vue | 591 +++++++++++++++++----- src/views/modules/qc/OQCResultEntry.vue | 579 ++++++++++++++++----- 3 files changed, 1424 insertions(+), 359 deletions(-) diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue index aa561d5..bbb7617 100644 --- a/src/views/modules/qc/FQCResultEntry.vue +++ b/src/views/modules/qc/FQCResultEntry.vue @@ -433,130 +433,219 @@ - - - - - - - - - - - - - - - - - - - 协同人员 - 协同人员 - - - - 责任人 - 责任人 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 项目导入 - - - - 模板导入 - - - - -
- - - - + +
+ + + - - 应用 - 保存 - 关闭 -
@@ -4908,4 +5005,260 @@ background: linear-gradient(135deg, #97a9f7 0%, #ac97df 100%); color: #ffffff; } + +/* ==================== 检验单对话框样式 ==================== */ +.fqc-inspection-dialog /deep/ .el-dialog__header { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + padding: 20px 24px; + border-radius: 8px 8px 0 0; +} + +.fqc-inspection-dialog /deep/ .el-dialog__title { + color: #ffffff; + font-size: 18px; + font-weight: 600; + letter-spacing: 0.5px; +} + +.fqc-inspection-dialog /deep/ .el-dialog__headerbtn .el-dialog__close { + color: #ffffff; + font-size: 20px; +} + +.fqc-inspection-dialog /deep/ .el-dialog__body { + padding: 0; + background: #f5f7fa; +} + +/* 单据信息卡片 */ +.inspection-info-card { + background: #ffffff; + padding: 0px 0px; +} + +.info-section { + margin-bottom: 0; + background: #f9fafb; + border-radius: 6px; + padding: 12px; + border: 1px solid #e8eaed; + transition: all 0.3s ease; +} + +.info-section:hover { + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); + border-color: #d0d4d9; +} + +.info-section:last-child { + margin-bottom: 0; +} + +.section-title { + display: flex; + align-items: center; + margin-bottom: 12px; + padding-bottom: 8px; + border-bottom: 2px solid #e8eaed; + font-size: 14px; + font-weight: 600; + color: #303133; +} + +.section-title i { + font-size: 18px; + margin-right: 8px; + color: #667eea; +} + +.info-row { + margin-bottom: 0 !important; +} + +.info-item { + margin-bottom: 0; +} + +.info-item label { + display: block; + margin-bottom: 6px; + font-size: 12px; + font-weight: 500; + color: #606266; +} + +.info-item label a { + color: #409eff; + text-decoration: none; + transition: color 0.3s; +} + +.info-item label a:hover { + color: #66b1ff; + text-decoration: underline; +} + +.info-item /deep/ .el-input--small .el-input__inner, +.info-item /deep/ .el-input-number--small .el-input__inner { + border-radius: 4px; + border: 1px solid #dcdfe6; + transition: all 0.3s; +} + +.info-item /deep/ .el-input--small .el-input__inner:focus, +.info-item /deep/ .el-input-number--small .el-input__inner:focus { + border-color: #667eea; + box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1); +} + +.info-item /deep/ .el-select { + width: 100%; +} + +/* 操作按钮区域 */ +.action-buttons { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px 12px; + background: #ffffff; + border-radius: 6px; + border: 1px solid #e8eaed; + margin-top: 10px; +} + +.left-actions, +.right-actions { + display: flex; + gap: 10px; +} + +.action-buttons .el-button { + border-radius: 6px; + font-weight: 500; + transition: all 0.3s ease; +} + +.action-buttons .el-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +/* 检验项目列表 */ +.inspection-table-wrapper { + background: #ffffff; + padding: 0px 0px; +} + +.table-header { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 10px; + margin-top: 10px; + border-bottom: 2px solid #e8eaed; +} + +.table-title { + font-size: 15px; + font-weight: 600; + color: #303133; + display: flex; + align-items: center; +} + +.table-title i { + font-size: 18px; + margin-right: 8px; + color: #667eea; +} + +.inspection-table { + border-radius: 8px; + overflow: hidden; +} + +.inspection-table /deep/ .el-table__header-wrapper th { + background: linear-gradient(135deg, #f5f7fa 0%, #e8eaed 100%); + color: #303133; + font-weight: 600; + font-size: 13px; + padding: 12px 0; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row { + transition: all 0.3s ease; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row:hover { + background: #f5f7fa; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row.el-table__row--striped { + background: #fafbfc; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row.el-table__row--striped:hover { + background: #f0f2f5; +} + +.inspection-table /deep/ .el-button--mini { + padding: 7px 10px; + border-radius: 4px; + font-size: 12px; +} + +/* 底部操作按钮 */ +.dialog-footer { + display: flex; + justify-content: center; + align-items: center; + gap: 12px; + padding: 12px 16px; + background: #ffffff; + border-top: 1px solid #e8eaed; +} + +.dialog-footer .el-button { + min-width: 100px; + border-radius: 6px; + font-weight: 500; + transition: all 0.3s ease; +} + +.dialog-footer .el-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +.dialog-footer .el-button--primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border: none; +} + +.dialog-footer .el-button--primary:hover { + background: linear-gradient(135deg, #7b8ff5 0%, #8a5bb3 100%); +} + +.dialog-footer .el-button--success { + background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); + border: none; +} + +.dialog-footer .el-button--success:hover { + background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%); +} + +.dialog-footer .el-button--primary:hover { + background: linear-gradient(135deg, #7b8ff5 0%, #8a5bb3 100%); +} + +.dialog-footer .el-button--success { + background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); + border: none; +} + +.dialog-footer .el-button--success:hover { + background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%); +} diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue index d19017b..1261618 100644 --- a/src/views/modules/qc/IPQCResultEntry.vue +++ b/src/views/modules/qc/IPQCResultEntry.vue @@ -469,84 +469,146 @@ - - - - - - - - - - - - - - - - - - - 协同人员 - 协同人员 - - - - 责任人 - 责任人 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
+
+
+ + 检验单信息 +
+ + + +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+
+ + + +
+ + +
+
+ +
+ + +
+
+ +
+ + + +
+
+ +
+ + +
+
+ +
+ + + +
+
+ +
+ + +
+
+
+
+ +
+
+ + 检验结论 +
+ + +
+ + - + - - - - - - - +
+
+ +
+ + + +
+
+ +
+ + - + - - - - - - - - - 项目导入 - - - - 模板导入 - - - - -
+
+ + +
+ + + +
+
+ +
+ + +
+
+ + 数据采集 + + + 文件清单 + + + 子明细导入 + +
+
+ + 项目导入 + + + 模板导入 + +
+
+
+ +
+
+ + + 检验项目明细 + +
+ stripe + style="width: 100%;" + class="inspection-table">
- - 应用 - 保存 - 关闭 - + + + @@ -4768,12 +4861,12 @@ } - + + + + + + diff --git a/src/views/modules/qc/OQCResultEntry.vue b/src/views/modules/qc/OQCResultEntry.vue index ee4f23b..e4adda9 100644 --- a/src/views/modules/qc/OQCResultEntry.vue +++ b/src/views/modules/qc/OQCResultEntry.vue @@ -338,128 +338,211 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 工作文件 - - - 明细导入 - - - - - - - - - - - - - - - - - - - 协同人员 - 协同人员 - - - - 责任人(供应商) - 责任人(供应商) - - - - - - - - - 项目导入 - - - - 模板导入 - - - - - - - - - - - - - - - - - - - - -
+ + +
+
+
+ + 检验单信息 +
+ + + +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+
+ + + +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + + +
+
+ +
+ + +
+
+ +
+ + + +
+
+
+
+ +
+
+ + 检验结论 +
+ + +
+ + + + + + + + + +
+
+ +
+ + + +
+
+ +
+ + + + + + + + + +
+
+ +
+ + + +
+
+
+
+ + +
+
+ + 工作文件 + + + 明细导入 + +
+
+ + 项目导入 + + + 模板导入 + +
+
+
+ +
+
+ + + 检验项目明细 + +
+ style="width: 100%;" + class="inspection-table">
- - 应用 - 保存 - 关闭 - + + +
@@ -4009,4 +4100,260 @@ background: linear-gradient(135deg, #97a9f7 0%, #ac97df 100%); color: #ffffff; } + +/* ==================== 检验单对话框样式 ==================== */ +.oqc-inspection-dialog /deep/ .el-dialog__header { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + padding: 20px 24px; + border-radius: 8px 8px 0 0; +} + +.oqc-inspection-dialog /deep/ .el-dialog__title { + color: #ffffff; + font-size: 18px; + font-weight: 600; + letter-spacing: 0.5px; +} + +.oqc-inspection-dialog /deep/ .el-dialog__headerbtn .el-dialog__close { + color: #ffffff; + font-size: 20px; +} + +.oqc-inspection-dialog /deep/ .el-dialog__body { + padding: 0; + background: #f5f7fa; +} + +/* 单据信息卡片 */ +.inspection-info-card { + background: #ffffff; + padding: 0px 0px; +} + +.info-section { + margin-bottom: 0; + background: #f9fafb; + border-radius: 6px; + padding: 12px; + border: 1px solid #e8eaed; + transition: all 0.3s ease; +} + +.info-section:hover { + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); + border-color: #d0d4d9; +} + +.info-section:last-child { + margin-bottom: 0; +} + +.section-title { + display: flex; + align-items: center; + margin-bottom: 12px; + padding-bottom: 8px; + border-bottom: 2px solid #e8eaed; + font-size: 14px; + font-weight: 600; + color: #303133; +} + +.section-title i { + font-size: 18px; + margin-right: 8px; + color: #667eea; +} + +.info-row { + margin-bottom: 0 !important; +} + +.info-item { + margin-bottom: 0; +} + +.info-item label { + display: block; + margin-bottom: 6px; + font-size: 12px; + font-weight: 500; + color: #606266; +} + +.info-item label a { + color: #409eff; + text-decoration: none; + transition: color 0.3s; +} + +.info-item label a:hover { + color: #66b1ff; + text-decoration: underline; +} + +.info-item /deep/ .el-input--small .el-input__inner, +.info-item /deep/ .el-input-number--small .el-input__inner { + border-radius: 4px; + border: 1px solid #dcdfe6; + transition: all 0.3s; +} + +.info-item /deep/ .el-input--small .el-input__inner:focus, +.info-item /deep/ .el-input-number--small .el-input__inner:focus { + border-color: #667eea; + box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1); +} + +.info-item /deep/ .el-select { + width: 100%; +} + +/* 操作按钮区域 */ +.action-buttons { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px 12px; + background: #ffffff; + border-radius: 6px; + border: 1px solid #e8eaed; + margin-top: 10px; +} + +.left-actions, +.right-actions { + display: flex; + gap: 10px; +} + +.action-buttons .el-button { + border-radius: 6px; + font-weight: 500; + transition: all 0.3s ease; +} + +.action-buttons .el-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +/* 检验项目列表 */ +.inspection-table-wrapper { + background: #ffffff; + padding: 0px 0px; +} + +.table-header { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 10px; + margin-top: 10px; + border-bottom: 2px solid #e8eaed; +} + +.table-title { + font-size: 15px; + font-weight: 600; + color: #303133; + display: flex; + align-items: center; +} + +.table-title i { + font-size: 18px; + margin-right: 8px; + color: #667eea; +} + +.inspection-table { + border-radius: 8px; + overflow: hidden; +} + +.inspection-table /deep/ .el-table__header-wrapper th { + background: linear-gradient(135deg, #f5f7fa 0%, #e8eaed 100%); + color: #303133; + font-weight: 600; + font-size: 13px; + padding: 12px 0; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row { + transition: all 0.3s ease; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row:hover { + background: #f5f7fa; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row.el-table__row--striped { + background: #fafbfc; +} + +.inspection-table /deep/ .el-table__body-wrapper .el-table__row.el-table__row--striped:hover { + background: #f0f2f5; +} + +.inspection-table /deep/ .el-button--mini { + padding: 7px 10px; + border-radius: 4px; + font-size: 12px; +} + +/* 底部操作按钮 */ +.dialog-footer { + display: flex; + justify-content: center; + align-items: center; + gap: 12px; + padding: 12px 16px; + background: #ffffff; + border-top: 1px solid #e8eaed; +} + +.dialog-footer .el-button { + min-width: 100px; + border-radius: 6px; + font-weight: 500; + transition: all 0.3s ease; +} + +.dialog-footer .el-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +.dialog-footer .el-button--primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border: none; +} + +.dialog-footer .el-button--primary:hover { + background: linear-gradient(135deg, #7b8ff5 0%, #8a5bb3 100%); +} + +.dialog-footer .el-button--success { + background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); + border: none; +} + +.dialog-footer .el-button--success:hover { + background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%); +} + +.dialog-footer .el-button--primary:hover { + background: linear-gradient(135deg, #7b8ff5 0%, #8a5bb3 100%); +} + +.dialog-footer .el-button--success { + background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); + border: none; +} + +.dialog-footer .el-button--success:hover { + background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%); +}