// === EIP4 P4 脚本迁移产出 === // template_id : ac956c1e-410c-4e18-8499-85becbe4fbe6 // template_name: 分包合同变更登记 // seq : 3 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 def id = getFieldValue("CONTRACTID"); def pojo = GetServicesFunction.loadPOJO(id, "VIEW_PM_CONTRACT", true); def data = pojo?.toMap(); def money = 0.0; if (data?.get('CONTRACTMONEY') != null){ money += data?.get('CONTRACTMONEY'); bindField('CCP', data?.get('CONTRACTMONEY')); } if (getFieldValue('CHANGEMONEY') != null){ money -= getFieldValue('CHANGEMONEY'); bindField('YJE', money); }