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
8b62e0ce
Commit
8b62e0ce
authored
Oct 25, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]租金催收详情按钮完善
parent
18c06bcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
17 deletions
+30
-17
con_contract_rent_detail.lview
...webapp/modules/cont/CON620/con_contract_rent_detail.lview
+30
-17
No files found.
src/main/webapp/modules/cont/CON620/con_contract_rent_detail.lview
View file @
8b62e0ce
...
@@ -5,16 +5,20 @@
...
@@ -5,16 +5,20 @@
$Revision: 1.0
$Revision: 1.0
$Purpose: 租赁物查看
$Purpose: 租赁物查看
-->
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
<a:init-procedure>
<s:server-script
import=
"contract_print_path.js"
>
<![CDATA[
<s:server-script
import=
"contract_print_path.js"
>
<![CDATA[
$ctx.parameter.file_path = con_print_path['con_print_path'];
$ctx.parameter.file_path = con_print_path['con_print_path'];
$ctx.parameter.tomcat_source = con_print_path['tomcat_source'];
$ctx.parameter.tomcat_source = con_print_path['tomcat_source'];
]]>
</s:server-script>
]]>
</s:server-script>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_uploadFile_id"
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<link
href=
"${/request/@context_path}/css/lightbox.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"${/request/@context_path}/css/lightbox.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"${/request/@context_path}/javascripts/lightbox.js"
type=
"text/javascript"
/>
<script
src=
"${/request/@context_path}/javascripts/lightbox.js"
type=
"text/javascript"
/>
<a:link
id=
"contract_accounting_wait_link_id"
model=
"cont.CON505N.contract_accounting_wait"
<a:link
id=
"contract_accounting_wait_link_id"
model=
"cont.CON505N.contract_accounting_wait"
...
@@ -29,7 +33,7 @@
...
@@ -29,7 +33,7 @@
Ext.ux.Lightbox.register('a[ref=img]', true);
Ext.ux.Lightbox.register('a[ref=img]', true);
//保存submitsuccess调用
//保存submitsuccess调用
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function
(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var con_accounting_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_accounting_manage');
var con_accounting_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_accounting_manage');
var accounting_record = $(con_accounting_ds_id).getCurrentRecord();
var accounting_record = $(con_accounting_ds_id).getCurrentRecord();
...
@@ -43,20 +47,29 @@
...
@@ -43,20 +47,29 @@
var url=$('con_create_content_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
var url=$('con_create_content_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code;
window.open(url, '_self');
window.open(url, '_self');
};
};
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function () {
var contract_id = '${/parameter/@document_id}';
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
var templet_code = 'CON_LEASE';
window.open($('con_create_content_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code, "_self");
};
};
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {};
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function () {
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function() {};
var contract_id = '${/parameter/@document_id}';
var templet_code = 'CON_LEASE_CONFIRM';
window.open($('con_create_content_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code, "_self");
};
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
var contract_id = '${/parameter/@document_id}';
var templet_code = 'LEASE_RETURN';
window.open($('con_create_content_print_link').getUrl() + '?contract_id=' + contract_id + '&templet_code=' + templet_code, "_self");
};
function view_pdf(attachment_id) {
function view_pdf(attachment_id) {
Leaf.request({
Leaf.request({
url: '${/request/@context_path}/autocrud/fnd.fnd_atm_attachment/query',
url: '${/request/@context_path}/autocrud/fnd.fnd_atm_attachment/query',
para: {
para: {
attachment_id: attachment_id
attachment_id: attachment_id
},
},
success: function(res) {
success: function
(res) {
var path = res.result.record.file_path;
var path = res.result.record.file_path;
path = path.substr(path.indexOf('hls_attachment'));
path = path.substr(path.indexOf('hls_attachment'));
...
@@ -86,7 +99,7 @@
...
@@ -86,7 +99,7 @@
height: 400
height: 400
});
});
win.on('close', function() {
win.on('close', function
() {
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_id', record.get('con_accounting_id'));
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_id', record.get('con_accounting_id'));
// $('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_attch_id', record.get('con_accounting_attch_id'));
// $('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_attch_id', record.get('con_accounting_attch_id'));
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').query();
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').query();
...
@@ -98,7 +111,7 @@
...
@@ -98,7 +111,7 @@
};
};
//超链接渲染
//超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) {
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function
(value, record, name, config_record) {
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') {
if (name == 'attachment') {
...
@@ -114,7 +127,7 @@
...
@@ -114,7 +127,7 @@
var link = '${/request/@context_path}/atm_download.lsc?attachment_id=';
var link = '${/request/@context_path}/atm_download.lsc?attachment_id=';
var str = value.split(';;');
var str = value.split(';;');
var url = '';
var url = '';
for (var i = 0;
i
< str.length
;
i++)
{
for (var i = 0;
i
< str.length
;
i++)
{
var
temp =
str[i].split('--');
var
temp =
str[i].split('--');
if
(!Leaf.isEmpty(temp[0]))
{
if
(!Leaf.isEmpty(temp[0]))
{
var
file_name =
temp[0].toUpperCase();
var
file_name =
temp[0].toUpperCase();
...
...
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