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
de44981b
Commit
de44981b
authored
Jul 19, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代理店创建调整
parent
e4464e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
bp_agent_create.lview
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
+24
-0
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
View file @
de44981b
...
@@ -218,6 +218,19 @@
...
@@ -218,6 +218,19 @@
//变更时调用 18083 2022/11/30 新增变更方法
//变更时调用 18083 2022/11/30 新增变更方法
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function (ds, record, name, value, old_value, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function (ds, record, name, value, old_value, bp_seq) {
var agent_division_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master_agent_division');
if (agent_division_ds_id == ds.id &&agent_division_ds_id) {
var division = record.get('division');
if(division!='70'){
record.getField('division_detail').setReadOnly(true);
record.getField('division_detail_n').setReadOnly(true);
record.set('division_detail','');
record.set('division_detail_n','');
}else{
record.getField('division_detail').setReadOnly(false);
record.getField('division_detail_n').setReadOnly(false);
}
}
var f_bp_create_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var f_bp_create_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
if (ds.id == f_bp_create_ds_id) {
if (ds.id == f_bp_create_ds_id) {
if(name == 'invoice_type'){
if(name == 'invoice_type'){
...
@@ -573,6 +586,17 @@
...
@@ -573,6 +586,17 @@
//新增时调用(grid,table,gridBox)
//新增时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_add'] = function(ds, record, config_records, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_add'] = function(ds, record, config_records, bp_seq) {
var agent_division_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master_agent_division');
if (agent_division_ds_id == ds.id
&&
agent_division_ds_id) {
var records = $(agent_division_ds_id).getAll();
for (i = 0;i
< records.length
;i++)
{
if(records[i].get('division')!='70'){
records[i].getField('division_detail').setReadOnly(true);
records[i].getField('division_detail_n').setReadOnly(true);
}
}
}
var
role_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_master_role');
var
role_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_master_role');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_master');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'hls_bp_master');
var
bp_record =
$(ds_id).getCurrentRecord();
var
bp_record =
$(ds_id).getCurrentRecord();
...
...
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