// === EIP4 P4 脚本迁移产出 === // template_id : 8350f440-bf6b-4d3f-b4e4-3769a8353d61 // template_name: 中标登记-五建定制 // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 //enableButton("修改",false); //enableButton("删除",false); //def register = GetServicesFunction.loadPOJO(item['PM_BIDOPENINGRESULTREGISTER_ID'],'PM_BIDOPENINGRESULTREGISTER',false) //if(register != null){ // def proj = GetServicesFunction.loadPOJO(register.get_Value("PM_PROJECTID"),'PM_PROJECT',false) // if(proj != null && (proj.get_Value("PROJECTSTAGE")==-1 || proj.get_Value("PROJECTSTAGE") == 8)){ // if(item['STATUS'] == "未提交" || item['STATUS'] == "重新提交" ){ // enableButton("修改",true); // enableButton("删除",true); // } // } //} //if(item['ISSUCCESSFUL'] != "否"){//是否中标 // enableButton("查看未中标信息",false);//查看未中标信息按钮不可用 //}