// === EIP4 P4 脚本迁移产出 === // template_id : a4b91039-b91c-4955-a228-8877402380f4 // template_name: CA锁借用管理 // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 //只有审批通过的CA锁才可以归还 def ordersStatus = GetServicesFunction.getEnumerateItemValue("WFSTATUS",item['STATUS']); if(ordersStatus == 3 && item["RETURNSTATUS"] == "否"){ enableButton("归还",true); }else{ enableButton("归还",false); }