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
992653c5
Commit
992653c5
authored
Nov 11, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]报价详情页面修改
parent
dacba608
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+6
-4
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+6
-2
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
992653c5
...
@@ -435,15 +435,17 @@
...
@@ -435,15 +435,17 @@
//更新时调用
//更新时调用
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 ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.set('bank_branch_name',null);
record.set('bank_branch_name_n',null);
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(
tru
e);
record.getField('bank_branch_name').setRequired(
fals
e);
record.getField('bank_branch_name_n').setRequired(
true)
record.getField('bank_branch_name_n').setRequired(
false);
}else{
}else{
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name').setRequired(
fals
e);
record.getField('bank_branch_name').setRequired(
tru
e);
record.getField('bank_branch_name_n').setRequired(
false)
record.getField('bank_branch_name_n').setRequired(
true);
}
}
};
};
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
992653c5
...
@@ -477,13 +477,17 @@ function prj501n_contract_number_renderer(id, name, query_only){
...
@@ -477,13 +477,17 @@ 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 ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.set('bank_branch_name',null);
record.set('bank_branch_name_n',null);
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setRequired(false)
record.getField('bank_branch_name_n').setRequired(false)
;
}else{
}else{
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
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