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
2f19097c
Commit
2f19097c
authored
Jun 20, 2023
by
xy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[建机]虚拟代理店-付款申请调整
parent
03162d19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
csh_payment_req.lview
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
+21
-5
No files found.
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
View file @
2f19097c
...
...
@@ -173,6 +173,19 @@
}, 5);
}
}
//add by 18938 承租人金额为0时 承租人账户信息为可输
if(is_constru_unit == 'Y'){
if(name == 'amount_tenant'){
if(record.get('amount_tenant') == 0){
record.getField('tenant_bank_account_number').setRequired(false);
record.getField('tenant_bank_account_number_n').setRequired(false);
}else{
record.getField('tenant_bank_account_number').setRequired(true);
record.getField('tenant_bank_account_number_n').setRequired(true);
}
}
}
//end
}
};
...
...
@@ -244,13 +257,14 @@
//买断机
应付承租人金额为必填项
应付我司金额为只读项且默认为0
records[i].getField('amount_tenant').setRequired(true);
records[i].getField('amount_agent').setReadOnly(true);
records[i].getField('tenant_bank_account_number').setRequired(true);
records[i].getField('tenant_bank_account_number_n').setRequired(true);
}else{
//非买断机
应付承租人金额为只读项,默认为0,承租人账号为非必填
应付我司金额为只读项且默认为0
委托付款金额为必填项(界面已配置)
records[i].getField('amount_tenant').setReadOnly(true);
records[i].getField('amount_agent').setReadOnly(true);
}
if(records[i].get('amount_tenant')
>
0){
records[i].getField('tenant_bank_account_number').setRequired(true);
records[i].getField('tenant_bank_account_number_n').setRequired(true);
}
}
}
...
...
@@ -331,13 +345,15 @@
//买断机
应付承租人金额为必填项
应付我司金额为只读项且默认为0
承租人账号必填
records[i].getField('amount_tenant').setRequired(true);
records[i].getField('amount_agent').setReadOnly(true);
records[i].getField('tenant_bank_account_number').setRequired(true);
records[i].getField('tenant_bank_account_number_n').setRequired(true);
}else{
//非买断机
应付承租人金额为只读项,默认为0,承租人账号为非必填
应付我司金额为只读项且默认为0
委托付款金额为必填项(界面已配置)
records[i].getField('amount_tenant').setReadOnly(true);
records[i].getField('amount_agent').setReadOnly(true);
}
if(records[i].get('amount_tenant')
>
0){
records[i].getField('tenant_bank_account_number').setRequired(true);
records[i].getField('tenant_bank_account_number_n').setRequired(true);
}
}
}
}else{
...
...
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