SAP 日历选择
命令说明
从日历中选择一个日期,目标必须为SAP日历组件
命令原型
SAP.SelectDatesInCalendar(objUiElement, calendarDict)
命令参数
参数 | 必选 | 类型 | 默认值 | 说明 |
---|---|---|---|---|
objUiElement | True | decorator | @ui"" | 元素特征字符串 |
calendarDict | True | dictionary | {} | 对指定的日历组件设置日期,支持日期、周、范围3种模式 |
返回结果
运行实例
/*********************************SAP 日历选择************************************
命令原型:
SAP.SelectDatesInCalendar(objUiElement, calendarDict)
入参:
objUiElement--目标。注:元素特征字符串
calendarDict--设置日期。注:对指定的日历组件设置日期,支持日期、周、范围3种模式
出参:
无
注意事项:
无
********************************************************************************/
SAP.SelectDatesInCalendar(@ui"", {})