From 2c7bb17c8337f237b8e9ac02d404a6ec90123bae Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 14 八月 2025 14:53:57 +0800
Subject: [PATCH] 过程检验功能添加

---
 src/views/qualityManagement/rawMaterialInspection/index.vue |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/views/qualityManagement/rawMaterialInspection/index.vue b/src/views/qualityManagement/rawMaterialInspection/index.vue
index 804fed2..21cf85f 100644
--- a/src/views/qualityManagement/rawMaterialInspection/index.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -160,7 +160,7 @@
     label: "鎿嶄綔",
     align: "center",
     fixed: "right",
-    width: 250,
+    width: 280,
     operation: [
       {
         name: "缂栬緫",
@@ -168,9 +168,9 @@
         clickFun: (row) => {
           openForm("edit", row);
         },
-        disabled: (row) => {
-          return row.inspectState;
-        }
+				disabled: (row) => {
+					return row.inspectState == 1;
+				}
       },
       {
         name: "闄勪欢",
@@ -185,6 +185,9 @@
         clickFun: (row) => {
           submit(row.id);
         },
+				disabled: (row) => {
+					return row.inspectState == 1;
+				}
       },
       {
         name: "鍒嗛厤妫�楠屽憳",
@@ -269,12 +272,6 @@
 const openForm = (type, row) => {
   nextTick(() => {
     formDia.value?.openDialog(type, row)
-  })
-};
-// 鎵撳紑鏂板妫�楠屽脊妗�
-const openInspectionForm = (type, row) => {
-  nextTick(() => {
-    inspectionFormDia.value?.openDialog(type, row)
   })
 };
 // 鎵撳紑闄勪欢寮规
@@ -368,7 +365,7 @@
 
     const link = document.createElement('a')
     link.href = downloadUrl
-    link.download = '妫�楠屾姤鍛�.docx'
+    link.download = '鍘熸潗鏂欐楠屾姤鍛�.docx'
     document.body.appendChild(link)
     link.click()
 

--
Gitblit v1.9.3