介绍:
动态表单数据模型编程接口
方法 | 说明 |
---|---|
getDataEntityType | 获取运行时表单实体元数据对象,又称为主实体模型 |
getProperty | 获取运行时字段元数据对象,又称为实体的属性对象 |
createNewData | 根据表单主实体模型,创建表单新的数据包,字段填写好默认值 |
getDataEntity | 获取表单数据包 |
updateCache | 提交当前表单数据包到缓存 |
getValue | 获取字段值 |
setValue | 设置字段值 |
setItemValueByNumber | 根据基础资料的编码。设置基础资料字段值 |
setItemValueByID | 根据基础资料的内码。设置基础资料字段值 |
getContextVariable | 获取上下文变量 |
putContextVariable | 添加上下文变量 |
removeContextVariable | 删除上下文变量 |
addDataModelListener | 订阅模型相关事件 |
addDataModelChangeListener | 订阅模型改变事件 |
createNewEntryRow | 创建分录行 |
batchCreateNewEntryRow | 批量创建分录行 |