Commit c0ef4fc0 authored by 18083's avatar 18083

付款首页数据权限-去掉资管费付款数据

parent f250f4de
...@@ -25,6 +25,18 @@ var add_datafilters = [ ...@@ -25,6 +25,18 @@ var add_datafilters = [
name : 'approval_status', name : 'approval_status',
expression : "(t1.approval_status in ('NEW','RETURN','REJECT'))" expression : "(t1.approval_status in ('NEW','RETURN','REJECT'))"
} ]; },
{
name : '',
expression : "exists(select 1\n" +
" from csh_payment_req_ln l,con_contract cc,con_contract_cashflow cf\n" +
" where l.payment_req_id = t1.payment_req_id\n" +
" and l.ref_doc_category = 'CONTRACT'\n" +
" and l.ref_doc_id = cc.contract_id\n" +
" and l.ref_doc_line_id = cf.cashflow_id\n" +
" and cf.cf_item in ('0'))"
}
];
add_datafilter(); add_datafilter();
override(); override();
...@@ -25,6 +25,18 @@ var add_datafilters = [ ...@@ -25,6 +25,18 @@ var add_datafilters = [
name : 'approval_status', name : 'approval_status',
expression : "(t1.approval_status NOT in ('NEW','RETURN','REJECT','CANCEL'))" expression : "(t1.approval_status NOT in ('NEW','RETURN','REJECT','CANCEL'))"
} ]; },
{
name : '',
expression : "exists(select 1\n" +
" from csh_payment_req_ln l,con_contract cc,con_contract_cashflow cf\n" +
" where l.payment_req_id = t1.payment_req_id\n" +
" and l.ref_doc_category = 'CONTRACT'\n" +
" and l.ref_doc_id = cc.contract_id\n" +
" and l.ref_doc_line_id = cf.cashflow_id\n" +
" and cf.cf_item in ('0'))"
}
];
add_datafilter(); add_datafilter();
override(); override();
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