From 56158a98729ba25b04f7c80d88aafa59cc41a504 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 29 三月 2026 22:40:10 +0800
Subject: [PATCH] feat(质量维护): 优化检测项目字段并移除内控值和默认值
---
src/views/qualityManagement/rawMaterialInspection/index.vue | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/src/views/qualityManagement/rawMaterialInspection/index.vue b/src/views/qualityManagement/rawMaterialInspection/index.vue
index 2686371..9751a86 100644
--- a/src/views/qualityManagement/rawMaterialInspection/index.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -167,7 +167,7 @@
label: "鎿嶄綔",
align: "center",
fixed: "right",
- width: 280,
+ width: 340,
operation: [
{
name: "缂栬緫",
@@ -179,6 +179,20 @@
// 宸叉彁浜ゅ垯绂佺敤
if (row.inspectState == 1) return true;
// 濡傛灉妫�楠屽憳鏈夊�硷紝鍙湁褰撳墠鐧诲綍鐢ㄦ埛鑳界紪杈�
+ if (row.checkName) {
+ return row.checkName !== userStore.nickName;
+ }
+ return false;
+ }
+ },
+ {
+ name: "濉啓妫�楠岃褰�",
+ type: "text",
+ clickFun: (row) => {
+ openInspectionForm("edit", row);
+ },
+ disabled: (row) => {
+ if (row.inspectState == 1) return true;
if (row.checkName) {
return row.checkName !== userStore.nickName;
}
@@ -294,6 +308,12 @@
formDia.value?.openDialog(type, row)
})
};
+// 鎵撳紑鏂板妫�楠屽脊妗�
+const openInspectionForm = (type, row) => {
+ nextTick(() => {
+ inspectionFormDia.value?.openDialog(type, row)
+ })
+};
// 鎵撳紑闄勪欢寮规
const openFilesFormDia = (type, row) => {
nextTick(() => {
--
Gitblit v1.9.3