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
59efb623
Commit
59efb623
authored
Sep 02, 2021
by
王炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【I7392】-保证金退款记录打印
parent
089d40ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
4 deletions
+34
-4
csh_transaction_return_print.lwm
...B-INF/classes/csh/CSH501/csh_transaction_return_print.lwm
+10
-1
csh_transaction_return_wfl.lview
...s_deposit/CUS_DEPOSIT106/csh_transaction_return_wfl.lview
+24
-3
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_transaction_return_print.lwm
View file @
59efb623
...
@@ -18,6 +18,15 @@
...
@@ -18,6 +18,15 @@
end;
end;
]]>
</bm:update-sql>
]]>
</bm:update-sql>
</bm:operation>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
begin
csh_transaction_return_pkg.check_sbo_num(
p_document_id =>
${@document_id},
p_user_id =>${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:operations>
</bm:model>
</bm:model>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT106/csh_transaction_return_wfl.lview
View file @
59efb623
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
<a:link
id=
"cus_deposit1060_download_win_link"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"cus_deposit1060_download_win_link"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"csh_deposit_return_history_print_link_id"
<a:link
id=
"csh_deposit_return_history_print_link_id"
url=
"${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106/csh_deposit_return_history_print.lsc"
/>
url=
"${/request/@context_path}/modules/cus_deposit/CUS_DEPOSIT106/csh_deposit_return_history_print.lsc"
/>
<a:link
id=
"check_csh_transaction_sbo_id"
model=
"csh.CSH501.csh_transaction_return_print"
modelaction=
"execute"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
function upload_attachment_win() {
function upload_attachment_win() {
var record = $('csh_transaction_return_wfl_ds').getCurrentRecord();
var record = $('csh_transaction_return_wfl_ds').getCurrentRecord();
...
@@ -37,9 +39,28 @@
...
@@ -37,9 +39,28 @@
function csh515_return_print() {
function csh515_return_print() {
var record = $('csh_transaction_return_wfl_ds').getCurrentRecord();
var record = $('csh_transaction_return_wfl_ds').getCurrentRecord();
var return_id = record.get('return_id');
var return_id = record.get('return_id');
var file_name = "保证金退款-" + record.get('bp_agent_name') + "-" + record.get('return_amount') + "元";
Leaf.Masker.mask(Ext.getBody(), '检验sbo编号中...');
var url_l = $('csh_deposit_return_history_print_link_id').getUrl() + '?document_id=' + return_id + '&file_name=' + encodeURI(file_name) + '&document_table=CSH_DEPOSIT_TRANSACTION_RETURN&batch_flag=Y&source_type=common';
Leaf.request({
window.open(href = url_l, target = "_self");
url: $('check_csh_transaction_sbo_id').getUrl(),
para: {
document_id: return_id
},
success: function (res) {
Leaf.Masker.unmask(Ext.getBody());
var file_name = "保证金退款-" + record.get('bp_agent_name') + "-" + record.get('return_amount') + "元";
var url_l = $('csh_deposit_return_history_print_link_id').getUrl() + '?document_id=' + return_id + '&file_name=' + encodeURI(file_name) + '&document_table=CSH_DEPOSIT_TRANSACTION_RETURN&batch_flag=Y&source_type=common';
window.open(href = url_l, target = "_self");
},
failure: function () {
Leaf.Masker.unmask(Ext.getBody());
},
error: function () {
Leaf.Masker.unmask(Ext.getBody());
},
scope: this
});
}
}
function attach_renderer(value, record, name) {
function attach_renderer(value, record, name) {
...
...
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