fix(vehicle): 修复客户性质筛选条件清空问题

- 将客户性质筛选条件的默认选项由固定值更改为空数组
- 修正筛选下拉列表的加载行为,避免显示错误选项
- 确保字典数据正确刷新,提升筛选准确性
This commit is contained in:
2026-08-28 16:58:14 +08:00
parent 16af750030
commit 0a77fd2014
+1 -1
View File
@@ -2548,7 +2548,7 @@ export default {
this.loadDictOptions( this.loadDictOptions(
'nature_of_client', 'nature_of_client',
'customerNatureOptions', 'customerNatureOptions',
['有限公司', '个体工商户'], [],
options => { options => {
const customerNatureColumn = this.findColumn(this.option.column, 'customerNature'); const customerNatureColumn = this.findColumn(this.option.column, 'customerNature');
customerNatureColumn.dicData = [{ label: '全部', value: '' }, ...options]; customerNatureColumn.dicData = [{ label: '全部', value: '' }, ...options];