Commit db3a5adb authored by Spencer Chang's avatar Spencer Chang

[fix] 变更前/变更后按钮合同id传值

parent 777ab8ef
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
function open_before_contract_win(ds_id, record_id) { function open_before_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
var param = record.data; var param = record.data;
param['contract_id'] = record.get('history_contract_id'); param['contract_id'] = record.get('source_contract_id');
param['function_code'] = 'CON301'; param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY'; param['function_usage'] = 'QUERY';
param['download'] = 'Y'; param['download'] = 'Y';
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
function open_after_contract_win(ds_id, record_id) { function open_after_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id); var record = $(ds_id).findById(record_id);
var param = record.data; var param = record.data;
param['contract_id'] = record.get('change_req_id');
param['function_code'] = 'CON301'; param['function_code'] = 'CON301';
param['function_usage'] = 'QUERY'; param['function_usage'] = 'QUERY';
param['download'] = 'Y'; param['download'] = 'Y';
......
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