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
ebc4a54e
Commit
ebc4a54e
authored
Apr 10, 2023
by
lizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款核销自动匹配
parent
adae9911
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
26 deletions
+64
-26
auto_assign_write_off.lwm
...app/WEB-INF/classes/csh/CSH531N/auto_assign_write_off.lwm
+15
-0
csh_bank_transfer_processing.lview
...pp/modules/csh/CSH531N/csh_bank_transfer_processing.lview
+49
-26
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH531N/auto_assign_write_off.lwm
0 → 100644
View file @
ebc4a54e
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
begin
-- Call the procedure
csh_transaction_interface_pkg.auto_assign_write_off(p_transaction_id =>
${/parameter/@transaction_id},
p_company_id =>${/session/@company_id},
p_user_id =>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/csh/CSH531N/csh_bank_transfer_processing.lview
View file @
ebc4a54e
...
...
@@ -382,6 +382,15 @@
}
}
Leaf.Masker.mask(Ext.getBody(),
'${l:HLS.EXECUTING}');
Leaf.request({
url:
'${/request/@context_path}/autocrud/csh.CSH531N.auto_assign_write_off/execute',
para:
{
transaction_id:
record.get('transaction_id')
},
success:
function(res)
{
Leaf.Masker.unmask(Ext.getBody());
var
win =
new
Leaf.Window({
id:
'csh_write_off_window',
params:
{
...
...
@@ -408,9 +417,23 @@
fullScreen:
true
});
win.on('close',
function
()
{
ds.query(ds.currentPage);
});
},
failure:
function()
{
Leaf.Masker.unmask(Ext.getBody());
},
error:
function()
{
Leaf.Masker.unmask(Ext.getBody());
},
scope:
this
});
}
function
csh531n_detail_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