t_Methods:{
//计算保证金比率;
handleGuaranteeRate(){
let modal=oThis.$refs.baseTemplateRef.comp.$refs["SignBill_ref"].model;
let sign_money=modal.sign_money;
let guarantee_money=modal.guarantee_money;
if(sign_money && guarantee_money){
let guarantee_rate=guarantee_money/sign_money;
oThis.$refs.baseTemplateRef.comp.$refs["SignBill_ref"].model.guarantee_rate=guarantee_rate;
}
},
//计算保证金金额;
handleGuaranteeMoney(){
let modal=oThis.$refs.baseTemplateRef.comp.$refs["SignBill_ref"].model;
let sign_money=modal.sign_money;
let guarantee_rate=modal.guarantee_rate;
if(sign_money && guarantee_rate){
let guarantee_money=sign_money*guarantee_rate;
oThis.$refs.baseTemplateRef.comp.$refs["SignBill_ref"].model.guarantee_money=guarantee_money;
}
},
//输入出资金额,清空保证金;
handleGuarantee(){
let modal=oThis.$refs.baseTemplateRef.comp.$refs["SignBill_ref"].model;
modal.guarantee_money="";
modal.guarantee_rate=0;
}
},