优化计费列表展示逻辑,新增 prc_income_bill 过滤条件

This commit is contained in:
wuweihua
2026-11-18 13:22:09 +08:00
parent ccfb05bf50
commit 8df728f2d7
20 changed files with 385 additions and 99 deletions
+6 -2
View File
@@ -5,6 +5,7 @@
:columns="columns"
:search-columns="searchColumns"
:query="queryList"
:default-params="defaultParams"
row-key="priceSetId"
>
<template #toolbar>
@@ -117,19 +118,22 @@ const editPerm = usePriceSetPerm('edit')
const auditPerm = usePriceSetPerm('audit')
const tableRef = ref()
const isFirstActivate = ref(true)
/** 默认只看待启用、生效(排除已停用) */
const defaultParams = { statuses: ['D', 'E'] }
const searchColumns = computed(() => [
{
label: '状态',
prop: 'status',
prop: 'statuses',
component: 'select',
options: [
{ label: '待启用', value: 'D' },
{ label: '生效', value: 'E' },
{ label: '已停用', value: 'S' }
],
props: { multiple: true, collapseTags: true, clearable: true },
placeholder: '全部状态',
width: '140px'
width: '200px'
},
{ label: '关键字', prop: 'keyword', component: 'input', placeholder: mod.labels.keywordPlaceholder, width: '200px' },
{ label: '客户', prop: 'customerId', placeholder: '客户名称 / 代码', width: '240px' }