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
Hide 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,35 +382,58 @@
}
}
var
win =
new
Leaf.Window({
id:
'csh_write_off_window',
params:
{
transaction_id:
record.get('transaction_id'),
depositDisplayFlag:
depositDisplayFlag,
bank_slip_num:
record.get('bank_slip_num'),
company_id:
record.get('company_id'),
transaction_date:
Leaf.formatDate(record.get('transaction_date')),
internal_period_num:
record.get('internal_period_num'),
period_name:
record.get('period_name'),
bp_bank_account_num:
record.get('bp_bank_account_num'),
bp_bank_account_name:
record.get('bp_bank_account_name'),
bp_id:
record.get('bp_id'),
advanceDisplayFlag:
advanceDisplayFlag,
readOnly:
readOnly,
interfaceQueryFlag:
interfaceQueryFlag,
approval_flag:
approval_flag,
collection_classes:record.get('collection_classes'),
transaction_type:transaction_type||'RECEIPT',
winid:
'csh_write_off_window'
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')
},
url:
$('batch_detail_link').getUrl(),
title:
'明细',
fullScreen:
true
});
success:
function(res)
{
Leaf.Masker.unmask(Ext.getBody());
var
win =
new
Leaf.Window({
id:
'csh_write_off_window',
params:
{
transaction_id:
record.get('transaction_id'),
depositDisplayFlag:
depositDisplayFlag,
bank_slip_num:
record.get('bank_slip_num'),
company_id:
record.get('company_id'),
transaction_date:
Leaf.formatDate(record.get('transaction_date')),
internal_period_num:
record.get('internal_period_num'),
period_name:
record.get('period_name'),
bp_bank_account_num:
record.get('bp_bank_account_num'),
bp_bank_account_name:
record.get('bp_bank_account_name'),
bp_id:
record.get('bp_id'),
advanceDisplayFlag:
advanceDisplayFlag,
readOnly:
readOnly,
interfaceQueryFlag:
interfaceQueryFlag,
approval_flag:
approval_flag,
collection_classes:record.get('collection_classes'),
transaction_type:transaction_type||'RECEIPT',
winid:
'csh_write_off_window'
},
url:
$('batch_detail_link').getUrl(),
title:
'明细',
fullScreen:
true
});
win.on('close',
function
()
{
ds.query(ds.currentPage);
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