You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.3 KiB

2 years ago
// 示例配置 primarySearchOptionExample
export const ItemBasic = [
// type == input
{ type: "input", label: "物品编码", prop: "code", action:"Like"},
2 years ago
// type == select 枚举options(filters/status.js)
{ type: "select", label: "状态", prop: "status", options: "itemStatus"},
// type == select 自定义options(使用userOptions参数)
// { type: "select", label: "制造件", prop: 'canMake', userOptions: [
// { "label": "是", id:'1', "value": true, },
// { "label": "不是", id:'2',"value": false,}]
// },
// //type == date
// { type: "date", label: "日期", prop: "date",},
// // type == time
// { type: "time", label: "时间", prop: "time",},
// // type == dateTime
// { type: "dateTime", label: "日期时间", prop: "dateTime",},
// // type == dateTimelimit 选择范围:当前天及以后
// { type: "dateTimelimit", label: "当前天及以后", prop: "dateTimelimit",},
// 其他参数(以上方式通用):
// 1、 value 添加默认值(默认为空),如:value:"111",默认值只为回显数据,不做查询处理
// 如需要查询默认值,请在获取界面数据的paging()中配置
// 2、 noClearable 去掉清除按钮(默认显示清除按钮)
]