|
@@ -685,11 +685,10 @@ const agreementRulesList = () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const showCostVoList = (list, item) => {
|
|
const showCostVoList = (list, item) => {
|
|
|
- console.log("🚀 ~ showCostVoList ~ list,item:", list, item)
|
|
|
|
|
let showList = list
|
|
let showList = list
|
|
|
if (item.searchInput) {
|
|
if (item.searchInput) {
|
|
|
showList = showList.filter(v => {
|
|
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) {
|
|
if (item.date) {
|