//绑定基本信息
var baseInfo = {
titile: BC_DRSTask_InstanceBase.getFieldValue("DRSTask_InstanceTitle"),
creater: BC_DRSTask_InstanceBase.getFieldValue("AccountOID"),
createdDate: BC_DRSTask_InstanceBase.getFieldValue("SYS_Created"),
createdOrg: BC_DRSTask_InstanceBase.getFieldValue("OrgName"),
createdLongOrg: BC_DRSTask_InstanceBase.getFieldValue("OrgName") + "/" + BC_DRSTask_InstanceBase.getFieldValue("DepName"),
createdDept: BC_DRSTask_InstanceBase.getFieldValue("DepName"),
auditor: BC_DRSTask_InstanceBase.getFieldValue("auditor"),
auditDate: BC_DRSTask_InstanceBase.getFieldValue("auditorDate"),
approver: BC_DRSTask_InstanceBase.getFieldValue("approver"),
approvDate: BC_DRSTask_InstanceBase.getFieldValue("approverDate")
};
var source = new GC.Spread.Sheets.Bindings.CellBindingSource(baseInfo);
_sheet.setDataSource(source);
_sheet.clearPendingChanges(); //清除脏数据
通过单元格绑定数据,为何不能保存到ssjson文件中
|
|