fix(财务): 修复天易币订单查询表单和接口参数问题
为手机号字段添加默认空值,避免未填写时传undefined 在查询接口中添加source和type参数的默认空值处理
This commit is contained in:
@@ -55,6 +55,7 @@ const formOptions: VbenFormProps = {
|
|||||||
},
|
},
|
||||||
fieldName: 'tel',
|
fieldName: 'tel',
|
||||||
label: '手机号',
|
label: '手机号',
|
||||||
|
defaultValue: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
@@ -159,6 +160,8 @@ const gridOptions: VxeTableGridOptions<RowType> = {
|
|||||||
return await tianyibiApi.getPointOrdersList({
|
return await tianyibiApi.getPointOrdersList({
|
||||||
page: page.currentPage,
|
page: page.currentPage,
|
||||||
limit: page.pageSize,
|
limit: page.pageSize,
|
||||||
|
source: params.source || '',
|
||||||
|
type: params.type || '',
|
||||||
...params,
|
...params,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user