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
0013ee01
Commit
0013ee01
authored
Dec 02, 2021
by
王炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价评分改造
parent
d58b5aea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
38 deletions
+50
-38
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+30
-24
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+20
-14
No files found.
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
0013ee01
...
...
@@ -384,9 +384,9 @@
}
if (bp_tenant_detail_r && ds.id == prj_project_ds_id) {
for (var key in bp_tenant_detail_r.data) {
if (key != 'bp_detail_id' && key != 'score_name' && key != 'bp_age' && key != 'project_id'
&& key != 'third_party_credibility' && key != 'third_party_credibility_n'
) {
if (key != 'bp_detail_id' && key != 'score_name' && key != 'bp_age' && key != 'project_id'
&& key != 'contract_id' && key != 'third_party_credibility' && key != 'third_party_credibility_n'&& key != 'third_guar_score'
) {
if(!bp_tenant_detail_r.get(key)){
Leaf.showInfoMessage("提示","承租人评分信息区域的所有字段,除\"第三方
信用度
\"外,其他都为必输字段,请填写!");
Leaf.showInfoMessage("提示","承租人评分信息区域的所有字段,除\"第三方
担保附件分数
\"外,其他都为必输字段,请填写!");
bp_rate_flag = false;
break;
}else{
...
...
@@ -701,8 +701,8 @@
}
if(!Ext.isEmpty(description)
&&
description =
=
'AGENT'){
if(!Ext.isEmpty(bp_code)){
if(bp_code
!==
'
D00000029'
&&
bp_code
!==
'D00000031'
&&
bp_code
!==
'D00000026'
&&
bp_code
!==
'D00000030
'){
if(
bp_code =
='
X00010005'
||
bp_code =
='J00010006
'){
if(bp_code
!==
'
C00010180'
&&
bp_code
!==
'C00010175'
&&
bp_code
!==
'C00010176'
&&
bp_code
!==
'C00010187
'){
if(
bp_code =
='
D00010001
'){
record.set('credit_line','TENANT');
record.set('credit_line_n','承租人');
record.getField('credit_line').setRequired(false);
...
...
@@ -730,9 +730,9 @@
document.getElementById('${/parameter/@layout_code}_F_PAY_INFO_PRJ_PROJECT_DEDUCTION_LIMIT')
.style.display =
'none'
;
record.getField('deduction_limit').setRequired(false);
}
}
document.getElementById('PROJECT_CREATE_NP_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE_prompt')
.style.display =
'none'
;
document.getElementById('PROJECT_CREATE_NP_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE')
.style.display =
'none'
;
}
};
//更新时调用
...
...
@@ -924,6 +924,15 @@
record.set('bp_age',
jsGetAge(value.format('yyyy-mm-dd').toString()));
}
}
if(
name=
='third_guar_score'&&!Ext.isEmpty(value)){
if(value<0||value
>
10){
setTimeout(function () {
record.set('third_guar_score', '');
}, 0);
Leaf.showInfoMessage("提示", "第三方担保附件分数范围为0-10,请重新输入!");
}
}
}
var device_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_SCORE_DEVICE', 'bp_tenant_rate_item');
if (device_ds_id == ds.id) {
...
...
@@ -959,9 +968,6 @@
}
}
}
document.getElementById('PROJECT_CREATE_NP_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE_prompt')
.style.display =
'none'
;
document.getElementById('PROJECT_CREATE_NP_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE')
.style.display =
'none'
;
};
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
0013ee01
...
...
@@ -822,6 +822,16 @@
record.set('bp_age',
jsGetAge(value.format('yyyy-mm-dd').toString()));
}
}
if(
name=
='third_guar_score'&&!Ext.isEmpty(value)){
if(value<0||value
>
10){
setTimeout(function () {
record.set('third_guar_score', '');
}, 0);
Leaf.showInfoMessage("提示", "第三方担保附件分数范围为0-10,请重新输入!");
}
}
}
var device_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_SCORE_DEVICE', 'bp_tenant_rate_item');
if (device_ds_id == ds.id) {
...
...
@@ -856,8 +866,6 @@
}
}
}
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE')
.style.display =
'none'
;
};
...
...
@@ -1023,8 +1031,8 @@
}
if(!Ext.isEmpty(description)
&&
description =
=
'AGENT'){
if(!Ext.isEmpty(bp_code)){
if(bp_code
!==
'
D00000026'
&&
bp_code
!==
'D00000029'
&&
bp_code
!==
'D00000030'
&&
bp_code
!==
'D00000031
'){
if(
bp_code =
='
X00010005'
||
bp_code =
='J00010006
'){
if(bp_code
!==
'
C00010180'
&&
bp_code
!==
'C00010175'
&&
bp_code
!==
'C00010176'
&&
bp_code
!==
'C00010187
'){
if(
bp_code =
='
D00010001
'){
credit_record.set('credit_line','TENANT');
credit_record.set('credit_line_n','承租人');
credit_record.getField('credit_line').setReadOnly(true);
...
...
@@ -1126,8 +1134,6 @@
}
}
}
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_LARGE_BALANCE')
.style.display =
'none'
;
};
//pdf预览
add
by
zhuxianfei
...
...
@@ -1270,10 +1276,10 @@
var
bp_tenant_detail_r =
$(score_ds_id).getCurrentRecord();
if
(bp_tenant_detail_r)
{
for
(var
key
in
bp_tenant_detail_r.data)
{
if
(key
!=
'bp_detail_id'
&&
key
!=
'score_name'
&&
key
!=
'bp_age'
&&
key
!=
'project_id'
&&
key
!=
'third_party_credibility'
&&
key
!=
'third_party_credibility_n'
)
{
if
(key
!=
'bp_detail_id'
&&
key
!=
'score_name'
&&
key
!=
'contract_id'
&&
key
!=
'bp_age'
&&
key
!=
'project_id'
&&
key
!=
'third_party_credibility'
&&
key
!=
'third_party_credibility_n'&&
key
!=
'third_guar_score'
)
{
//if
(!bp_tenant_detail_r.get(key))
{
if
(typeof
bp_tenant_detail_r.get(key)
==
"null"
||
typeof
bp_tenant_detail_r.get(key)
==
"undefined"
||
bp_tenant_detail_r.get(key)
===
"")
{
Leaf.showInfoMessage("提示",
"承租人评分信息区域的所有字段,除\"第三方
信用度
\"外,其他都为必输字段,请填写!");
Leaf.showInfoMessage("提示",
"承租人评分信息区域的所有字段,除\"第三方
担保附件分数
\"外,其他都为必输字段,请填写!");
return;
}
}
...
...
@@ -1600,10 +1606,10 @@
}
if
(bp_tenant_detail_r
&&
ds.id =
=
prj_project_ds_id)
{
for
(var
key
in
bp_tenant_detail_r.data)
{
if
(key
!=
'bp_detail_id'
&&
key
!=
'score_name'
&&
key
!=
'bp_age'
&&
key
!=
'project_id'
&&
key
!=
'third_party_credibility'
&&
key
!=
'third_party_credibility_n
')
{
if
(key
!=
'bp_detail_id'
&&
key
!=
'score_name'
&&
key
!=
'bp_age'
&&
key
!=
'contract_id'
&&
key
!=
'project_id'
&&
key
!=
'third_party_credibility'
&&
key
!=
'third_party_credibility_n'&&
key
!=
'third_guar_score
')
{
//if
(!bp_tenant_detail_r.get(key))
{
if
(typeof
bp_tenant_detail_r.get(key)
==
"null"
||
typeof
bp_tenant_detail_r.get(key)
==
"undefined"
||
bp_tenant_detail_r.get(key)
===
"")
{
Leaf.showInfoMessage("提示",
"承租人评分信息区域的所有字段,除\"第三方
信用度
\"外,其他都为必输字段,请填写!");
Leaf.showInfoMessage("提示",
"承租人评分信息区域的所有字段,除\"第三方
担保附件得分
\"外,其他都为必输字段,请填写!");
bp_rate_flag =
false;
break;
}
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