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
567e9caa
Commit
567e9caa
authored
Sep 02, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商业伙伴创建修改
parent
a5884bbe
Changes
1
Hide 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 @
567e9caa
...
@@ -64,12 +64,17 @@
...
@@ -64,12 +64,17 @@
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')) {
r.set('bp_category', 'TENANT');
if("${/model/user_name_path/record/@user_name}"=="DSF001"||"${/model/user_name_path/record/@user_name}"=="DSF002"){
r.set('bp_category_n', '承租人');
r.set('bp_category', 'THIRD_PARTY');
r.set('bp_category_n', '第三方');
}else{
r.set('bp_category', 'TENANT');
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"){
...
...
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