mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:09:19 +08:00
feat: 所有列表页表单支持选择变更自动搜索和输入框回车搜索
已更新以下页面: - 订单管理页 - 店铺概览页订单列表 - 推广费管理页 - 商品管理页 - 店铺管理页 - 月销量目标管理页 - 刷单记录管理页 - 订单状态配置页 - 推广费类型配置页 - 账号管理页 - 超级账号管理页 - 公司管理页 - 部门管理页 - 文件管理页 - 图片管理页 - 商品列表页(2个)
This commit is contained in:
+4
-2
@@ -144,7 +144,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入商品名称',
|
||||
placeholder: '请输入商品名称(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'name',
|
||||
label: '商品名称',
|
||||
@@ -152,7 +153,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入商品编码',
|
||||
placeholder: '请输入商品编码(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'productCode',
|
||||
label: '商品编码',
|
||||
|
||||
+4
-2
@@ -144,7 +144,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入商品名称',
|
||||
placeholder: '请输入商品名称(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'name',
|
||||
label: '商品名称',
|
||||
@@ -152,7 +153,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入商品编码',
|
||||
placeholder: '请输入商品编码(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'productCode',
|
||||
label: '商品编码',
|
||||
|
||||
@@ -162,7 +162,8 @@ const formOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入店铺名称',
|
||||
placeholder: '请输入店铺名称(回车搜索)',
|
||||
onPressEnter: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'name',
|
||||
label: '店铺名称',
|
||||
@@ -173,6 +174,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '请选择平台',
|
||||
options: platformOptions,
|
||||
allowClear: true,
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'platform',
|
||||
label: '平台',
|
||||
|
||||
@@ -167,8 +167,9 @@ const formOptions = computed(() => ({
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
placeholder: '请选择店铺',
|
||||
options: shopOptions.value,
|
||||
options: shopOptions,
|
||||
allowClear: true,
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'shopId',
|
||||
label: '店铺',
|
||||
@@ -179,6 +180,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '开始月份',
|
||||
picker: 'month',
|
||||
style: { width: '100%' },
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'startTargetMonth',
|
||||
label: '目标月份',
|
||||
@@ -189,6 +191,7 @@ const formOptions = computed(() => ({
|
||||
placeholder: '结束月份',
|
||||
picker: 'month',
|
||||
style: { width: '100%' },
|
||||
onChange: () => gridApi?.reload(),
|
||||
},
|
||||
fieldName: 'endTargetMonth',
|
||||
label: '至',
|
||||
|
||||
@@ -559,7 +559,8 @@ const orderFormOptions = computed(() => ({
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入平台订单号',
|
||||
placeholder: '请输入平台订单号(回车搜索)',
|
||||
onPressEnter: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'platformOrderNo',
|
||||
label: '订单号',
|
||||
@@ -568,8 +569,9 @@ const orderFormOptions = computed(() => ({
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
placeholder: '请选择订单状态',
|
||||
options: orderStatusOptions.value,
|
||||
options: orderStatusOptions,
|
||||
allowClear: true,
|
||||
onChange: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'statusId',
|
||||
label: '订单状态',
|
||||
@@ -580,6 +582,7 @@ const orderFormOptions = computed(() => ({
|
||||
placeholder: '最小金额',
|
||||
min: 0,
|
||||
style: { width: '100%' },
|
||||
onPressEnter: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'minReceivedAmount',
|
||||
label: '实收金额(起)',
|
||||
@@ -590,6 +593,7 @@ const orderFormOptions = computed(() => ({
|
||||
placeholder: '最大金额',
|
||||
min: 0,
|
||||
style: { width: '100%' },
|
||||
onPressEnter: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'maxReceivedAmount',
|
||||
label: '实收金额(止)',
|
||||
@@ -603,6 +607,7 @@ const orderFormOptions = computed(() => ({
|
||||
{ label: '未确认', value: 0 },
|
||||
],
|
||||
allowClear: true,
|
||||
onChange: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'confirm',
|
||||
label: '确认状态',
|
||||
@@ -613,6 +618,7 @@ const orderFormOptions = computed(() => ({
|
||||
placeholder: '选择排序字段',
|
||||
options: orderSortFieldOptions,
|
||||
allowClear: true,
|
||||
onChange: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'sortField',
|
||||
label: '排序字段',
|
||||
@@ -623,6 +629,7 @@ const orderFormOptions = computed(() => ({
|
||||
placeholder: '选择排序方式',
|
||||
options: orderSortOrderOptions,
|
||||
allowClear: true,
|
||||
onChange: () => orderGridApi?.reload(),
|
||||
},
|
||||
fieldName: 'sortOrder',
|
||||
label: '排序方式',
|
||||
|
||||
Reference in New Issue
Block a user