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
6191c185
Commit
6191c185
authored
Sep 27, 2022
by
lizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇丰收款只读
parent
a4e0aa93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
csh_transaction_hand_receipt_update.lview
...ules/csh/CSH510/csh_transaction_hand_receipt_update.lview
+16
-1
csh_transaction_receipt_maintain.lview
...modules/csh/CSH510/csh_transaction_receipt_maintain.lview
+1
-1
No files found.
src/main/webapp/modules/csh/CSH510/csh_transaction_hand_receipt_update.lview
View file @
6191c185
...
...
@@ -128,7 +128,7 @@
function onUpdate_csh511_receipt(ds, record, name, value, oldvalue) {
if (name == 'bp_id') {
if (value != oldvalue) {
if (value != oldvalue
&&
'${/parameter/@import_source}' != 'HSBC_ADD'
) {
record.set('bp_bank_account_id', '');
record.set('bp_bank_account_code', '');
record.set('bp_bank_account_name', '');
...
...
@@ -839,5 +839,20 @@
</a:screenBody>
<script
type=
"text/javascript"
>
<![CDATA[
Leaf.onReady(init);
function init() {
if('${/parameter/@import_source}' == 'HSBC_ADD'){
var record = $('csh_transaction_receipt_head_ds').getAt(0);
record.getField('transaction_date').setReadOnly(true);
record.getField('transaction_amount').setReadOnly(true);
record.getField('bank_slip_num').setReadOnly(true);
record.getField('ref_v05').setReadOnly(true);
record.getField('bank_account_name').setReadOnly(true);
record.getField('bp_bank_account_name').setReadOnly(true);
}
}
]]>
</script>
</a:view>
</a:screen>
src/main/webapp/modules/csh/CSH510/csh_transaction_receipt_maintain.lview
View file @
6191c185
...
...
@@ -253,7 +253,7 @@
return value;
}*/
if(record.get('confirmed_flag')=='NEW' || record.get('confirmed_flag') == 'CT_REJECTED'){
url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'
&update_flag=true';
url = $('csh_transaction_receipt_maintain_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'
&
update_flag=true'
+'
&
import_source='+ record.get('import_source')
;
}else{
url = $('csh_transaction_receipt_maintain_readonly_link').getUrl() + '?transaction_id=' + record.get('transaction_id')+'
&update_flag=false';
}
...
...
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