fix(vehicle): 修复客户性质筛选条件清空问题
- 将客户性质筛选条件的默认选项由固定值更改为空数组 - 修正筛选下拉列表的加载行为,避免显示错误选项 - 确保字典数据正确刷新,提升筛选准确性
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user