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
d7d8551c
Commit
d7d8551c
authored
Oct 19, 2022
by
lizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款明细界面调整
parent
0911af4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
csh_transaction_hand_receipt_update.lview
...ules/csh/CSH510/csh_transaction_hand_receipt_update.lview
+2
-2
No files found.
src/main/webapp/modules/csh/CSH510/csh_transaction_hand_receipt_update.lview
View file @
d7d8551c
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
function onUpdate_csh511_receipt(ds, record, name, value, oldvalue) {
function onUpdate_csh511_receipt(ds, record, name, value, oldvalue) {
if (name == 'bp_id') {
if (name == 'bp_id') {
if (value != oldvalue
&&
'${/parameter/@import_source}' != 'HSBC_ADD') {
if (value != oldvalue
&&
'${/parameter/@import_source}' != 'HSBC_ADD'
&&
'${/parameter/@import_source}' != 'EXCEL_ADD'
) {
record.set('bp_bank_account_id', '');
record.set('bp_bank_account_id', '');
record.set('bp_bank_account_code', '');
record.set('bp_bank_account_code', '');
record.set('bp_bank_account_name', '');
record.set('bp_bank_account_name', '');
...
@@ -843,7 +843,7 @@
...
@@ -843,7 +843,7 @@
Leaf.onReady(init);
Leaf.onReady(init);
function init() {
function init() {
if('${/parameter/@import_source}' == 'HSBC_ADD'){
if('${/parameter/@import_source}' == 'HSBC_ADD'
||'${/parameter/@import_source}' == 'EXCEL_ADD'
){
var record = $('csh_transaction_receipt_head_ds').getAt(0);
var record = $('csh_transaction_receipt_head_ds').getAt(0);
record.getField('transaction_date').setReadOnly(true);
record.getField('transaction_date').setReadOnly(true);
record.getField('transaction_amount').setReadOnly(true);
record.getField('transaction_amount').setReadOnly(true);
...
...
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