|
楼主 |
发表于 2019-7-22 11:17:01
|
显示全部楼层
seniority.grid2_REVRESULTSRender = function(event){
var fid = event.rowId;
var html = "<input type='radio' value='N' name='"+fid+"' "+ifChecked("N",event.value)+" onclick=\"saveRadio('"+fid+"',N)\">不通过</input>"
+"<input type='radio' value='Y' name='"+fid+"' "+ifChecked("Y",event.value)+" onclick=\"saveRadio('"+fid+"',Y)\">通过</input>";
return html;
};
function ifChecked(value,colValue){
if(value==colValue)
return "checked";
else
return "";
}
function saveRadio(rowID,value){
justep.xbl("BIDSETSCOITEM").setValue("REVRESULTS", value, rowID);
}
我这么写怎么报错啊?哪里出问题了
Uncaught Reference Y is not defined
at (http://localhost:8080/x5/UI/ProjectManager/PurMgr/process/ygcgOnlinePb/seniority.w?$requestFlag=C88805F277400001EEBC13A11B301099&bsessionid=0B2F71DD7498F98ACAB864E53DB03BD0&language=zh_CN&process=/ProjectManager/PurMgr/process/ygcgOnlinePb/ygcgOnlinePbProcess&activity=mainActivity:1)
15
|
|