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
aa5f1ded
Commit
aa5f1ded
authored
Nov 20, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]商业伙伴修改
parent
153ff078
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
hls_bp_master_create.lview
...ain/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
+13
-4
No files found.
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
View file @
aa5f1ded
...
...
@@ -11,7 +11,7 @@
<a:model-query
fetchAll=
"true"
model=
"hls.HLS213N.hls_bp_master_unit"
rootPath=
"user_agent_description"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"get_special_fields_link_id"
model=
"
cont.CON500.con_contract_get_special_fields
"
<a:link
id=
"get_special_fields_link_id"
model=
"
hls.HLS213N.social_code_exist
"
modelaction=
"update"
/>
<a:link
id=
"gh_nc_post_addsupplierinfo_link"
model=
"hls.HLS213.hls_bp_master_nc_post"
modelaction=
"update"
/>
<a:link
id=
"hls214N_cdd_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
...
...
@@ -451,6 +451,8 @@
document_category: 'BP',
document_type: head_record.get('bp_type'),
// document_type: 'TENANT',
social_code: head_record.get('social_code'),
exist_flag: 'Y',
bp_class: head_record.get('bp_class'),
id_type: head_record.get('id_type'),
id_card_no: head_record.get('id_card_no'),
...
...
@@ -462,10 +464,17 @@
},
success: function (res) {
var document_number = res.result.document_number;
head_record.set('bp_code', document_number);
head_record.set('company_id', '${/session/@company_id}');
head_record.set('unbrand', '${/parameter/@unbrand}');
var exist_flag = res.result.exist_flag;
// alert(exist_flag);
check_flag = true;
if(exist_flag == 'Y'){
head_record.set('bp_code', document_number);
head_record.set('company_id', '${/session/@company_id}');
head_record.set('unbrand', '${/parameter/@unbrand}');
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}else{
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}
},
error: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
...
...
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