Commit e529bc9b authored by lijingjing's avatar lijingjing

[fix] 商业伙伴超链接修改

parent 3e392a34
...@@ -2,7 +2,12 @@ var add_datafilters = [ ...@@ -2,7 +2,12 @@ var add_datafilters = [
{ {
name:'contract_status', name:'contract_status',
expression:"t1.contract_status in ('SIGNING','SIGN','INCEPTING','INCEPT','INCEPT_RETURN')" expression:"t1.contract_status in ('INCEPTING','INCEPT','INCEPT_RETURN','NEW')"
},
{
name:'sign_contract_status',
expression:"t1.sign_contract_status in ('SIGNING','SIGN')"
}, },
{ {
name : 'authority', name : 'authority',
......
...@@ -5,8 +5,8 @@ var add_datafilters = [ ...@@ -5,8 +5,8 @@ var add_datafilters = [
expression: "t1.document_type = 'CARCON'" expression: "t1.document_type = 'CARCON'"
}, },
{ {
name: 'contract_status', name: 'sign_contract_status',
expression: "t1.contract_status in ('NEW','SIGNING','SIGNING','SIGN_RETURN')" expression: "t1.sign_contract_status in ('NEW','SIGNING','SIGN','SIGN_RETURN')"
}, },
{ {
name : 'authority', name : 'authority',
......
...@@ -65,7 +65,7 @@ var override_queryfields = [ ...@@ -65,7 +65,7 @@ var override_queryfields = [
//}, //},
{ {
name:'project_status', name:'project_status',
queryexpression : "(t1.project_status in ('NEW','PRE_APPROVING','APPROVED_RETURN')" queryexpression : "t1.project_status in ('NEW','PRE_APPROVING','APPROVED_RETURN')"
} }
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
function open_contract_win(ds_id, record_id) { function open_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;
if(record.get('contract_status')=='NEW' || record.get('contract_status')=='SIGN_RETURN'){ if(record.get('sign_contract_status')=='NEW' || record.get('sign_contract_status')=='SIGN_RETURN'){
param['function_code'] = 'CON301MM'; param['function_code'] = 'CON301MM';
param['function_usage'] = 'MODIFY'; param['function_usage'] = 'MODIFY';
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
function open_contract_win(ds_id, record_id) { function open_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;
if(record.get('contract_status')=='SIGNING' || record.get('contract_status')=='INCEPT_RETURN'||record.get('contract_status')=='SIGN'){ if(record.get('contract_status')=='NEW' || record.get('contract_status')=='INCEPT_RETURN'){
param['function_code'] = 'CON3200N'; param['function_code'] = 'CON3200N';
param['function_usage'] = 'MODIFY'; param['function_usage'] = 'MODIFY';
} }
......
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