From 9e0426e8e28dd530663cdbe80f258d1622cc9e7d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 21 三月 2025 13:35:02 +0800
Subject: [PATCH] 原材料变更为原辅料,新增基础配置包材

---
 src/views/structural/capabilityAndLaboratory/capability/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 3fbef5c..56b44a6 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -155,13 +155,13 @@
         { label: '璇曢獙瀹�', prop: 'sonLaboratory' },
         { label: '瑕佹眰鎻忚堪', prop: 'askTell' },
         { label: '瑕佹眰鍊�', prop: 'ask' },
+        { label: '璇曢獙鏉′欢', prop: 'radiusList' },
         { label: '璁¢噺鍗曚綅', prop: 'unit' },
         { label: '宸ユ椂(H)', prop: 'manHour' },
         { label: '棰勮鏃堕棿(H)', prop: 'manDay' },
         { label: '宸ユ椂鍒嗙粍', prop: 'manHourGroup' },
         { label: '鍒涘缓鏃堕棿', prop: 'createTime' },
         { label: '淇敼鏃堕棿', prop: 'updateTime' },
-        { label: '鏉′欢', prop: 'radiusList' },
         {
           dataType: 'action',
           fixed: 'right',
@@ -290,7 +290,7 @@
                 this.bindWokshop1(row);
               },
               disabled: (row) => {
-                return row.objectType != '鍘熸潗鏂�'
+                return row.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗'
               }
             },
           ]
@@ -348,7 +348,7 @@
                 this.bindWokshop(row);
               },
               showHide: (row) => {
-                if (this.currentObj.objectType != '鍘熸潗鏂�') {
+                if (this.currentObj.objectType != '鍘熻緟鏂�' && row.objectType != '鍖呮潗') {
                   return false
                 } else {
                   return true
@@ -514,6 +514,11 @@
       }
     },
     refresh() {
+      this.itemParameterForm = {
+        inspectionItem: null,
+        inspectionItemSubclass: null,
+        sample: null
+      }
       this.resetForm('itemParameterForm')
       this.page.current = 1
       this.refreshTable()
@@ -581,7 +586,7 @@
     // 浜у搧缁存姢
     upProduct(row) {
       this.currentObj = row;
-      if (this.currentObj.objectType == '鍘熸潗鏂�') {
+      if (this.currentObj.objectType == '鍘熻緟鏂�') {
         if (this.productColumn.length < 4) {
           this.productColumn.splice(2, 0, { label: '杞﹂棿鍚嶇О', prop: 'workShopName' })
         }

--
Gitblit v1.9.3