mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 00:29:19 +08:00
feat: 所有列表页表单支持选择变更自动搜索和输入框回车搜索
已更新以下页面: - 订单管理页 - 店铺概览页订单列表 - 推广费管理页 - 商品管理页 - 店铺管理页 - 月销量目标管理页 - 刷单记录管理页 - 订单状态配置页 - 推广费类型配置页 - 账号管理页 - 超级账号管理页 - 公司管理页 - 部门管理页 - 文件管理页 - 图片管理页 - 商品列表页(2个)
This commit is contained in:
@@ -263,7 +263,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入平台订单号',
|
||||
placeholder: '请输入平台订单号(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'platformOrderNo',
|
||||
label: '平台订单号',
|
||||
@@ -278,6 +279,7 @@ const formOptions = computed(() => ({
|
||||
filterOption: false,
|
||||
onSearch: handleShopSearch,
|
||||
onPopupScroll: handleShopPopupScroll,
|
||||
onChange: () => gridApi?.reload(),
|
||||
loading: shopLoading,
|
||||
dropdownMenuColumnStyle: { maxHeight: '300px', overflow: 'auto' },
|
||||
},
|
||||
@@ -290,6 +292,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '请选择状态',
|
||||
options: orderStatusOptions,
|
||||
allowClear: true,
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'statusId',
|
||||
label: '订单状态',
|
||||
@@ -300,6 +303,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '选择排序字段',
|
||||
options: sortFieldOptions,
|
||||
allowClear: true,
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'sortField',
|
||||
label: '排序字段',
|
||||
@@ -310,6 +314,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '选择排序方式',
|
||||
options: sortOrderOptions,
|
||||
allowClear: true,
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'sortOrder',
|
||||
label: '排序方式',
|
||||
|
||||
Reference in New Issue
Block a user