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
ececdba2
Commit
ececdba2
authored
Nov 14, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]代理店相关修改
parent
ef52c630
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
bp_agent_create.lview
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
+5
-4
bp_agent_modify.lview
src/main/webapp/modules/hls/HLS303/bp_agent_modify.lview
+4
-2
No files found.
src/main/webapp/modules/hls/HLS303/bp_agent_create.lview
View file @
ececdba2
...
...
@@ -410,8 +410,8 @@
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var bp_record = $(ds_id).getCurrentRecord();
if (ds_id == ds.id) {
record.set('taxpayer_type','Y');
record.set('taxpayer_type_n','否');
//
record.set('taxpayer_type','Y');
//
record.set('taxpayer_type_n','否');
if (record.get('taxpayer_type') == 'Y') {
record.getField('tax_registry_num').setRequired(true);
record.getField('invoice_bp_address').setRequired(true);
...
...
@@ -466,15 +466,16 @@
var record = new Leaf.Record({
'primary_flag': 'Y',
'bp_category': 'AGENT',
'bp_category_n': '
经销商
',
'bp_category_n': '
代理店
',
'bp_type': 'AGENT',
'bp_type_n': '
经销商
',
'bp_type_n': '
代理店
',
'enabled_flag': 'Y'
});
bp_master_role_ds.add(record);
var current_record = bp_master_role_ds.getAt(0);
current_record.getField('primary_flag').setReadOnly(true);
current_record.getField('enabled_flag').setReadOnly(true);
current_record.getField('bp_type_n').setReadOnly(true);
}
});
]]>
</script>
...
...
src/main/webapp/modules/hls/HLS303/bp_agent_modify.lview
View file @
ececdba2
...
...
@@ -116,6 +116,8 @@
Leaf.showMessage('${l:PROMPT}', '必须维护租赁物信息且每种租赁物只能维护一次!');
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}else{
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}
};
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
...
...
@@ -267,14 +269,14 @@
var grid_id = ds_id.replace('ds', 'layout_grid_id');
$(grid_id).showEditorByRecord($(ds_id).create());
}
}
;
//删除
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_agent_renew');
$(ds_id).remove();
}
}
;
//超链接渲染
...
...
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