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
b1816f59
Commit
b1816f59
authored
Dec 31, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]增加报价单打印功能
parent
588c69ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
prj_project_modify_entrance.lview
...app/modules/prj/PRJ501N/prj_project_modify_entrance.lview
+24
-1
No files found.
src/main/webapp/modules/prj/PRJ501N/prj_project_modify_entrance.lview
View file @
b1816f59
...
...
@@ -7,6 +7,9 @@
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
<a:model-query
model=
"cont.CON620.get_sys_role"
rootPath=
"role_info"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"prj_project_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
...
...
@@ -156,7 +159,27 @@
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project');
var project_id = $(ds_id).getSelected()[0].get('project_id');
var templet_code = 'PROJECT_QUOTATION';
//根据是否是代理店打印不同的文本
var templet_code='';
// if("${/model/role_info/record/@role_code}"!="0018"
&&
"${/model/role_info/record/@role_code}"!="0019") {
// templet_code='PROJECT_QUOTATION_N';
// }
templet_code = 'PROJECT_QUOTATION';
var url=$('prj_quotation_print_link').getUrl() + '?project_id=' + project_id + '
&
templet_code=' + templet_code;
window.open(url, '_self');
};
//参考报价单打印
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project');
var project_id = $(ds_id).getSelected()[0].get('project_id');
//根据是否是代理店打印不同的文本
var templet_code='';
// if("${/model/role_info/record/@role_code}"!="0018"
&&
"${/model/role_info/record/@role_code}"!="0019") {
// templet_code='PROJECT_QUOTATION_N';
// }
templet_code = 'PROJECT_QUOTATION_N';
var url=$('prj_quotation_print_link').getUrl() + '?project_id=' + project_id + '
&
templet_code=' + templet_code;
window.open(url, '_self');
};
...
...
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