Commit f77a56a0 authored by 18083's avatar 18083

新增法人担保经办人电子签约

parent 9b1d55fe
...@@ -157,9 +157,14 @@ ...@@ -157,9 +157,14 @@
id_no:signer_record_data.id_card_no_leg id_no:signer_record_data.id_card_no_leg
}); });
var ele_org_signer_data = ele_org_signer_map.getChildren(); var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name; var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no; var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile; var mobile = ele_org_signer_data[0].mobile;
//法人
var legalName = signer_record_data.legal_person;
var legalIdNo = signer_record_data.id_card_no_leg;
if (agentIdNo == legalIdNo) {
userInfoList.push({ userInfoList.push({
"idNo": signer_record_data.id_no, "idNo": signer_record_data.id_no,
"name": signer_record_data.bp_name, "name": signer_record_data.bp_name,
...@@ -171,8 +176,21 @@ ...@@ -171,8 +176,21 @@
"agentType": "1", "agentType": "1",
"signerCategory":signer_record_data.signer_category "signerCategory":signer_record_data.signer_category
}); });
} else if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'|| signer_record_data.signer_category == 'MAN_FACTURER_SEAL'|| signer_record_data.signer_category == 'SUPPLIER_SEAL'|| signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') { } else {
var signer_category; userInfoList.push({
"idNo": signer_record_data.id_no,
"name": signer_record_data.bp_name,
"agentIdNo": agentIdNo,
"agentName": agentName,
"mobile": mobile,
"legalName": agentName,
"legalIdNo": agentIdNo,
"agentType": "2",
"signerCategory":signer_record_data.signer_category
});
}
} else if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL'|| signer_record_data.signer_category == 'SUPPLIER_SEAL'|| signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
var signer_category;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){ if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
signer_category = 'AGENCY_STORE_SIGN'; signer_category = 'AGENCY_STORE_SIGN';
}else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') { }else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
...@@ -182,7 +200,7 @@ ...@@ -182,7 +200,7 @@
}else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') { }else if (signer_record_data.signer_category == 'LEASE_SUPPLIER_SEAL') {
signer_category = 'LEASE_SUPPLIER_SIGN'; signer_category = 'LEASE_SUPPLIER_SIGN';
} }
var ele_org_signer_map = ele_signer_bm.queryAsMap({ var ele_org_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id, contract_id: $ctx.parameter.contract_id,
signer_category: signer_category signer_category: signer_category
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment