Aurora.request({
url: '${/request/@context_path}/autocrud/hr.lbr.hr_lbr_contract/execute',
para: {
begin_date: begin_date,
contract_length_unit: contract_length_unit,
contract_length: contract_length
},
success: function(rst) {
var end_date = rst.result.end_date;
record.set('end_date', Aurora.dateFormat.parseDate(end_date, 'yyyy-mm-dd'));
},
scope: this,
sync: true
});
url: '${/request/@context_path}/autocrud/hr.lbr.hr_lbr_contract/execute',
para: {
begin_date: begin_date,
contract_length_unit: contract_length_unit,
contract_length: contract_length
},
success: function(rst) {
var end_date = rst.result.end_date;
record.set('end_date', Aurora.dateFormat.parseDate(end_date, 'yyyy-mm-dd'));
},
scope: this,
sync: true
});