feat:优化了订单、诊所搜索组件、药品这些交互

This commit is contained in:
李琦
2026-07-23 09:24:06 +08:00
parent ee4490a91c
commit 700db76f16
73 changed files with 1321 additions and 433 deletions

View File

@@ -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,