Explorar el Código

费用管理筛选完善

祁鹏飞 hace 1 mes
padre
commit
0bee34d4c9
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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) {