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
69dad480
Commit
69dad480
authored
Nov 12, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 报价详情支付预定日修改
parent
9f10c9dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+15
-12
No files found.
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
69dad480
...
@@ -478,18 +478,21 @@ function prj501n_contract_number_renderer(id, name, query_only){
...
@@ -478,18 +478,21 @@ function prj501n_contract_number_renderer(id, name, query_only){
};
};
//更新时调用
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
if(name=='pay_method'){
record.set('bank_branch_name',null);
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.set('bank_branch_name_n',null);
record.set('bank_branch_name',null);
record.getField('bank_branch_name').setReadOnly(true);
record.set('bank_branch_name_n',null);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name_n').setRequired(false);
record.getField('bank_branch_name').setRequired(false);
}else{
record.getField('bank_branch_name_n').setRequired(false);
record.getField('bank_branch_name').setReadOnly(false);
} else {
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name').setRequired(true);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name_n').setRequired(true);
record.getField('bank_branch_name').setRequired(true);
record.getField('bank_branch_name_n').setRequired(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