// === EIP4 P4 脚本迁移产出 === // template_id : 3234a379-5951-4728-a89c-980aa027eee1 // template_name: 施工技术交底(五建定制) // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 //def pojo = GetServicesFunction.loadPOJO(item["PM_PUB_CLARIFICATION_ID"],"PM_PUB_CLARIFICATION",false); //if(pojo != null){ // def isXmb = pojo.get_Value("ISXMB"); // def cProjectId = GetDefaultValueFunction.getCurrentProjectId(); // def projectId = pojo.get_Value("PROJECTID"); // // if(cProjectId == null){ // if(isXmb == 1){ // enableButton("修改",false); // enableButton("删除",false); // enableButton("交底至项目",false); // } // } else { // if(isXmb == 0){ // enableButton("修改",false); // enableButton("删除",false); // enableButton("交底至项目",false); // } else { // if(projectId != cProjectId){ // enableButton("修改",false); // enableButton("删除",false); // enableButton("交底至项目",false); // } // } // } //}