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
2b403f8f
Commit
2b403f8f
authored
Sep 02, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商业伙伴创建修改
parent
9a27c1a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
hls_bp_master_create_entrance.lview
...p/modules/hls/HLS213N/hls_bp_master_create_entrance.lview
+8
-3
No files found.
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create_entrance.lview
View file @
2b403f8f
...
@@ -64,14 +64,19 @@
...
@@ -64,14 +64,19 @@
window['${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
window['${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
var bp_create_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var bp_create_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
debugger;
if(ds.id == bp_create_ds_id) {
if(ds.id == bp_create_ds_id) {
var r = $(bp_create_ds_id).getCurrentRecord();
var r = $(bp_create_ds_id).getCurrentRecord();
if (!r.get('bp_category')) {
if (!r.get('bp_category')) {
if("${/model/user_name_path/record/@user_name}"=="DSF001"||"${/model/user_name_path/record/@user_name}"=="DSF002"){
r.set('bp_category', 'THIRD_PARTY');
r.set('bp_category_n', '第三方');
}else{
r.set('bp_category', 'TENANT');
r.set('bp_category', 'TENANT');
r.set('bp_category_n', '承租人');
r.set('bp_category_n', '承租人');
}
}
}
if("${/model/user_name_path/record/@user_name}"=="DSF001"||"${/model/user_name_path/record/@user_name}"=="DSF002"){
if("${/model/user_name_path/record/@user_name}"=="DSF001"||"${/model/user_name_path/record/@user_name}"=="DSF002"){
r.set('bp_type','THIRD_PARTY');
r.set('bp_type','THIRD_PARTY');
r.set('bp_type_n', '第三方');
r.set('bp_type_n', '第三方');
...
...
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