祁鹏飞 пре 1 месец
родитељ
комит
0bee34d4c9
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/views/quoteConfig/agreement/agreementDetails.vue

+ 1 - 2
src/views/quoteConfig/agreement/agreementDetails.vue

@@ -685,11 +685,10 @@ const agreementRulesList = () => {
 }
 
 const showCostVoList = (list, item) => {
-  console.log("🚀 ~ showCostVoList ~ list,item:", list, item)
   let showList = list
   if (item.searchInput) {
     showList = showList.filter(v => {
-      return item.searchInput.every(k => v.costDescribe.includes(k) || v.costRules.includes(k))
+      return item.searchInput.every(k => v.costDescribe?.includes(k) || v.costRules?.includes(k))
     })
   }
   if (item.date) {