zhuliu 5 months ago
parent
commit
9238aad6cd

+ 11 - 6
src/views/report/components/patentList/components/customFields/index.vue

@@ -669,14 +669,19 @@ export default {
           }
         }else{
           obj.value.search = value
-          var obj2 = row.options.find(item1=>{
-            return item1.id == value
-          })
-          if(obj2){
-            obj.value.show = obj2.name
+          if(name){
+            obj.value.show = name
           }else{
-            obj.value.show = value
+            var obj2 = row.options.find(item1=>{
+              return item1.id == value
+            })
+            if(obj2){
+              obj.value.show = obj2.name
+            }else{
+              obj.value.show = value
+            }
           }
+          
         }