Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
f7a579e2
Commit
f7a579e2
authored
Dec 01, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代理店销项发票查询
parent
4e3face0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
acr310_result_queryfields.js
...F/server-script/layoutconfig/acr310_result_queryfields.js
+27
-1
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/acr310_result_queryfields.js
View file @
f7a579e2
...
...
@@ -41,6 +41,32 @@ var override_queryfields = [
];
var
add_datafilters
=
[];
var
add_datafilters
=
[
{
name
:
'authority_flag'
,
expression
:
"(exists (SELECT 1
\n
"
+
" FROM hls_bp_master hm,
\n
"
+
" exp_org_unit u,
\n
"
+
" exp_org_position op,
\n
"
+
" exp_employee_assigns ea,
\n
"
+
" sys_user su
\n
"
+
" where hm.unit_id = u.unit_id
\n
"
+
" and u.unit_id = op.unit_id
\n
"
+
" and ea.position_id = op.position_id
\n
"
+
" and ea.employee_id = su.employee_id
\n
"
+
" and hm.bp_id = t1.bp_agent_id
\n
"
+
" and su.user_id = ${/session/@user_id}) or
\n
"
+
" exists(SELECT 1
\n
"
+
" FROM sys_role sr
\n
"
+
" WHERE sr.role_id =${/session/@role_id}
\n
"
+
" and sr.role_code in ('0017', 'HAND')) or exists (select 1
\n
"
+
" from exp_employees ee, exp_employee_types et,sys_user us
\n
"
+
" where ee.employee_id = us.employee_id
\n
"
+
" and ee.employee_type_id = et.employee_type_id
\n
"
+
" and et.employee_type_code = 'STAFF'
\n
"
+
" and us.user_id = ${/session/@user_id}))"
}
];
override
();
add_datafilter
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment