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
50b17b51
Commit
50b17b51
authored
Dec 06, 2022
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
法人供应商改造
parent
14ac3f23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
44 deletions
+1
-44
hls_bp_master_modify.lview
...ain/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
+1
-44
No files found.
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
View file @
50b17b51
...
@@ -383,26 +383,6 @@
...
@@ -383,26 +383,6 @@
//
}
//
}
//
}
//
}
if
((ds.id).indexOf('hls_bp_master')
!=
-1
&&
(ds.id).indexOf('F_BASIC')
!=
-1)
{
if
((ds.id).indexOf('hls_bp_master')
!=
-1
&&
(ds.id).indexOf('F_BASIC')
!=
-1)
{
if(record.get('bp_class')
&&
record.get('bp_class')
==
'ORG'){
if(record.get('bp_type')
==
'TENANT'){
record.getField('etp_sts').setRequired(true);
record.getField('credit_code').setRequired(true);
record.getField('etp_sts_n').setRequired(true);
record.getField('org_type').setRequired(true);
record.getField('org_type_n').setRequired(true);
record.getField('org_type_sub').setRequired(true);
record.getField('org_type_sub_n').setRequired(true);
record.getField('enterprise_scale').setRequired(true);
record.getField('enterprise_scale_n').setRequired(true);
record.getField('due_date').setRequired(true);
record.getField('org_unit_property').setRequired(true);
record.getField('org_unit_property_n').setRequired(true);
record.getField('industry').setRequired(true);
record.getField('industry_n').setRequired(true);
record.getField('nationalities').setRequired(true);
}
}
//法人供应商非必填
18083
2022/11/25
//法人供应商非必填
18083
2022/11/25
if(record.get('bp_class')
==
'ORG'
&&
record.get("bp_type")
==
'VENDER'){
if(record.get('bp_class')
==
'ORG'
&&
record.get("bp_type")
==
'VENDER'){
record.getField('id_card_no_leg').setRequired(false);
record.getField('id_card_no_leg').setRequired(false);
...
@@ -516,29 +496,6 @@
...
@@ -516,29 +496,6 @@
var
gird_ds_id2 =
'BP_NP_MODIFY_N_BP_ASSETS04_hls_bp_assets_ds'
;
var
gird_ds_id2 =
'BP_NP_MODIFY_N_BP_ASSETS04_hls_bp_assets_ds'
;
var
gird_ds_id3 =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_bank_flow');
var
gird_ds_id3 =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_bank_flow');
//中征码校验
if
(record.get('bp_class')
==
'ORG')
{
if(record.get('bp_type')
==
'TENANT'){
var
credit_code =
record.get('credit_code');
if
(!Leaf.isEmpty(credit_code))
{
if
(
credit_code.length =
=
'16'){
if(!(/^[A-Z][A-z0-9]*$/).test(credit_code)){
Leaf.showMessage('提示',
'中征码首字母需要大写');
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return
false;
}else
{
return
true;
}
}else
{
Leaf.showMessage('提示',
'请输入16位中征码');
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return
false;
}
}
}
}
if
(
gird_ds_id =
=
ds.id
||
gird_ds_id2 =
=
ds.id)
{
if
(
gird_ds_id =
=
ds.id
||
gird_ds_id2 =
=
ds.id)
{
if
(
name =
=
'relationship_with_bp')
{
if
(
name =
=
'relationship_with_bp')
{
...
...
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