Commit 310e8454 authored by Spencer Chang's avatar Spencer Chang

[fix] 结果来源查询视图调整查以源合同信息为主,故修改传参数据

parent d442a026
......@@ -84,9 +84,9 @@
var req_status = record.get('req_status');
var param = record.data;
var req_status = record.get('req_status');
param['change_req_id'] = record.get('contract_id');
param['change_req_id'] = record.get('change_req_id');
param['source_contract_id'] = record.get('source_contract_id');//變更前源合同id
param['contract_id'] = record.get('contract_id');
param['contract_id'] = record.get('change_req_id');
param['req_status'] = req_status;
if (req_status == 'APPROVED' || req_status == 'APPROVING' || req_status == 'CANCEL' || req_status == 'REJECT' ) {
......
......@@ -58,27 +58,6 @@
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_modify_link', ds_id);
}
function open_change_detail(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
param['change_req_id'] = record.get('contract_id');
param['contract_id'] = record.get('contract_id');
param['function_usage'] = 'MODIFY';
param['maintain_type'] = 'UPDATE';
if (record.get('ccr_document_type') == 'CCHAG') {
param['function_code'] = 'CON732D';
param['url_title'] = '变更申请-报价信息变更 ';
} else if (record.get('ccr_document_type') == 'CGUTCHAG') {
param['function_code'] = 'CON732D_GUAR';
param['url_title'] = '变更申请-新增商业伙伴';
} else {
param['function_code'] = 'CON732D_BASIC';
param['url_title'] = '变更申请-常规信息调整 ';
}
param['document_type'] = record.get('ccr_document_type');
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_change_link', ds_id);
}
//工作流审批记录
function open_wfl_msg_detail(ds_id, record_id) {
......@@ -123,9 +102,9 @@
var req_status = record.get('req_status');
var param = record.data;
var req_status = record.get('req_status');
param['change_req_id'] = record.get('contract_id');
param['change_req_id'] = record.get('change_req_id');
param['source_contract_id'] = record.get('source_contract_id');//變更前源合同id
param['contract_id'] = record.get('contract_id');
param['contract_id'] = record.get('change_req_id');
if (record.get('ccr_document_type') == 'CUT_CHAG') {
param['function_code'] = 'CON733CF_Q';
param['url_title'] = '变更申请-合同回款账户变更查询';
......
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