|
build version : 5.3.6.5569
build time : 2016.10.21 19:17:28
代码如下:
var TabGridSet = this.comp("TabGridSet");
var grdiID = TabGridSet.getCurrentRowID();
var userID = this.getContext().getCurrentPersonID();
var userName = this.getContext().getCurrentPersonName();
var orgID = this.getContext().getCurrentOrgID ();
TabGridSet.setValue("fParentID", functionID);
TabGridSet.setValue("fIsSystemTemp", 1);
var fUsedType = TabGridSet.getValue("fUsedType");
if(fUsedType=='person'){
TabGridSet.setValue("fOpeatorID", userID);
}else{
TabGridSet.setValue("fOpeatorID", orgID);
}
TabGridSet.setValue("tabCreatorId",userID);
TabGridSet.setValue("tabCreatorName",userName);
TabGridSet.setValue("tabIsDelete",0);
TabGridSet.saveData();
红色一行,setValue ,一直存不到数据库中,是int 类型的,
其他的setValue都是成功的,保存到数据库了,
其中,蓝色一行,setValue 也是int 类型的。
|
|