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
561588c5
Commit
561588c5
authored
Jul 06, 2023
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保证金入账核销日期调整
parent
2cfa72b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
csh_transaction_deposit_entry_write_off.lwm
...US_DEPOSIT100/csh_transaction_deposit_entry_write_off.lwm
+5
-0
csh_transaction_deposit_entry_detail.lview
...CUS_DEPOSIT100/csh_transaction_deposit_entry_detail.lview
+7
-1
No files found.
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT100/csh_transaction_deposit_entry_write_off.lwm
View file @
561588c5
...
@@ -30,5 +30,10 @@
...
@@ -30,5 +30,10 @@
end;
end;
]]>
</bm:update-sql>
]]>
</bm:update-sql>
</bm:operation>
</bm:operation>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select hlcm_cux_deposit_pkg.deposit_extend_month(p_transaction_id =>
${@transaction_id}) check_flag from dual
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:operations>
</bm:model>
</bm:model>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT100/csh_transaction_deposit_entry_detail.lview
View file @
561588c5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<a:model-query
fetchAll=
"true"
model=
"csh.CSH511.fnd_financial_option"
rootPath=
"fnd_financial_option_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH511.fnd_financial_option"
rootPath=
"fnd_financial_option_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH511.csh_transaction_default_exchange_rate_type"
<a:model-query
fetchAll=
"true"
model=
"csh.CSH511.csh_transaction_default_exchange_rate_type"
rootPath=
"default_exchange_rate_type_path"
/>
rootPath=
"default_exchange_rate_type_path"
/>
<a:model-query
model=
"cus_deposit/CUS_DEPOSIT100.csh_transaction_deposit_entry_write_off"
rootPath=
"deposit_extend_month"
/>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"hn2050_upload_win_link"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"hn2050_upload_win_link"
url=
"${/request/@context_path}/uploadFile.lview"
/>
...
@@ -34,7 +35,7 @@
...
@@ -34,7 +35,7 @@
$('${/parameter/@winId}').close();
$('${/parameter/@winId}').close();
}
}
function cshdeposit100_receipt_submit() {
function cshdeposit100_receipt_submit() {
if ($('deposit_ertry_detail_result_ds').validate()) {
if ($('deposit_ertry_detail_result_ds').validate()) {
var head_record = $('csh_transaction_receipt_head_ds').getAt(0);
var head_record = $('csh_transaction_receipt_head_ds').getAt(0);
var deposit_records = $('deposit_ertry_detail_result_ds').getAll();
var deposit_records = $('deposit_ertry_detail_result_ds').getAll();
var param = {};
var param = {};
...
@@ -51,7 +52,12 @@
...
@@ -51,7 +52,12 @@
var deposit_record;
var deposit_record;
deposit_record = deposit_records[i];
deposit_record = deposit_records[i];
deposit_record.set('_status', 'insert');
deposit_record.set('_status', 'insert');
//收款日期跨月则取系统当前时间,否则取收款日期 18083 2023/6/27
if ('${/model/deposit_extend_month/record/@check_flag}' =='Y'){
deposit_record.set('write_off_date',new Date().format('yyyy/mm/dd'));
}else{
deposit_record.set('write_off_date', head_record.get('transaction_date'));
deposit_record.set('write_off_date', head_record.get('transaction_date'));
}
deposit_record.set('transaction_id', '${/parameter/@transaction_id}');
deposit_record.set('transaction_id', '${/parameter/@transaction_id}');
deposit_record.set('bp_id_agent_level1', '${/parameter/@bp_id}');
deposit_record.set('bp_id_agent_level1', '${/parameter/@bp_id}');
saveData.push(deposit_record.data);
saveData.push(deposit_record.data);
...
...
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