Commit 84460582 authored by panhong18943's avatar panhong18943

博雷顿电子合同新增厂商签约

parent bd016526
...@@ -153,10 +153,16 @@ ...@@ -153,10 +153,16 @@
var userInfoList = []; var userInfoList = [];
for (var k = 0 ; k < ele_signer_data.length;k++){ for (var k = 0 ; k < ele_signer_data.length;k++){
var signer_record_data = ele_signer_data[k]; var signer_record_data = ele_signer_data[k];
if(signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){ if(signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL'){
var signer_category;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
signer_category = 'AGENCY_STORE_SIGN';
}else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
signer_category = 'MAN_FACTURER_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:'AGENCY_STORE_SIGN' signer_category:signer_category
}); });
var ele_org_signer_data = ele_org_signer_map.getChildren(); var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人 //经办人
......
...@@ -171,10 +171,16 @@ ...@@ -171,10 +171,16 @@
"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') { } else if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL' || signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
var signer_category;
if (signer_record_data.signer_category == 'AGENCY_STORE_SEAL'){
signer_category = 'AGENCY_STORE_SIGN';
}else if (signer_record_data.signer_category == 'MAN_FACTURER_SEAL') {
signer_category = 'MAN_FACTURER_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: 'AGENCY_STORE_SIGN' signer_category: signer_category
}); });
var ele_org_signer_data = ele_org_signer_map.getChildren(); var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人 //经办人
......
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