feat:优化了订单、诊所搜索组件、药品这些交互
This commit is contained in:
@@ -7,24 +7,15 @@ export const formOptions: VbenFormProps = {
|
||||
collapsed: false,
|
||||
schema: [
|
||||
{
|
||||
// 诊所名称搜索字段
|
||||
component: 'VbenInput',
|
||||
// 诊所多选:仅搜 type=0,名称/首拼合一
|
||||
component: 'StoreMultiSearch',
|
||||
componentProps: {
|
||||
placeholder: '输入名称',
|
||||
placeholder: '输入名称或拼音首拼',
|
||||
storeType: 0,
|
||||
},
|
||||
defaultValue: '',
|
||||
fieldName: 'name',
|
||||
label: '诊所名称',
|
||||
},
|
||||
{
|
||||
// 诊所首字母搜索字段
|
||||
component: 'VbenInput',
|
||||
componentProps: {
|
||||
placeholder: '输入名称',
|
||||
},
|
||||
defaultValue: '',
|
||||
fieldName: 'shouzimu',
|
||||
label: '诊所首字母',
|
||||
defaultValue: [],
|
||||
fieldName: 'store_ids',
|
||||
label: '诊所',
|
||||
},
|
||||
{
|
||||
// 联系人手机号搜索字段
|
||||
@@ -36,16 +27,6 @@ export const formOptions: VbenFormProps = {
|
||||
fieldName: 'mobile',
|
||||
label: '联系人手机号',
|
||||
},
|
||||
// 注意:已移除类型筛选字段,因为诊所管理页面固定显示type=0的数据
|
||||
// {
|
||||
// component: 'RangePicker',
|
||||
// componentProps: {
|
||||
// format: 'YYYY-MM-DD', // 确保格式与你需要的一致
|
||||
// },
|
||||
// // defaultValue: [dayjs().startOf('month'), dayjs()],
|
||||
// fieldName: 'search_time',
|
||||
// label: '时间范围',
|
||||
// },
|
||||
],
|
||||
// 控制表单是否显示折叠按钮
|
||||
showCollapseButton: true,
|
||||
|
||||
Reference in New Issue
Block a user