跳到主要内容
版本:v6.5.0

SAP 日历选择

命令说明

从日历中选择一个日期,目标必须为SAP日历组件

命令原型

SAP.SelectDatesInCalendar(objUiElement, calendarDict)

命令参数

参数必选类型默认值说明
objUiElementTruedecorator@ui""元素特征字符串
calendarDictTruedictionary{}对指定的日历组件设置日期,支持日期、周、范围3种模式

返回结果

运行实例

/*********************************SAP 日历选择************************************
命令原型:
SAP.SelectDatesInCalendar(objUiElement, calendarDict)
入参:
objUiElement--目标。注:元素特征字符串
calendarDict--设置日期。注:对指定的日历组件设置日期,支持日期、周、范围3种模式
出参:

注意事项:

********************************************************************************/
SAP.SelectDatesInCalendar(@ui"", {})