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
ebb55603
Commit
ebb55603
authored
Oct 27, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
承租人变更时未变更担保人处理
parent
e2834ba5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
151 additions
and
109 deletions
+151
-109
con_guarantor_comparison.lwm
.../WEB-INF/classes/cont/CON731/con_guarantor_comparison.lwm
+16
-0
hls_con_contract_change_detail.lview
.../modules/cont/CON731/hls_con_contract_change_detail.lview
+135
-109
No files found.
src/main/webapp/WEB-INF/classes/cont/CON731/con_guarantor_comparison.lwm
0 → 100644
View file @
ebb55603
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"update"
>
<bm:parameters>
<bm:parameter
name=
"same_flag"
dataType=
"java.lang.String"
input=
"false"
output=
"true"
/>
</bm:parameters>
<bm:update-sql>
<![CDATA[
BEGIN
cus_con_change_req_pkg.con_guarantor_comparison( p_change_req_id=>
${@change_req_id},
p_same_flag =>${@same_flag});
END;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/cont/CON731/hls_con_contract_change_detail.lview
View file @
ebb55603
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
<a:link
id=
"con733_quote_calc_change_req_link"
model=
"cont.CON733.calc_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con733_quote_calc_change_req_link"
model=
"cont.CON733.calc_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con731_submit_link"
model=
"cont.CON731.submit_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con731_submit_link"
model=
"cont.CON731.submit_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con731_cancel_link"
model=
"cont.CON731.cancel_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con731_cancel_link"
model=
"cont.CON731.cancel_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con_guarantor_comparison_link"
model=
"cont.CON731.con_guarantor_comparison"
modelaction=
"update"
/>
<a:link
id=
"${/parameter/@layout_code}_prj500_cdd_uploadFile_id"
<a:link
id=
"${/parameter/@layout_code}_prj500_cdd_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"${/parameter/@layout_code}_prj500_cdd_downloadFile_id"
<a:link
id=
"${/parameter/@layout_code}_prj500_cdd_downloadFile_id"
...
@@ -561,7 +562,32 @@
...
@@ -561,7 +562,32 @@
};
};
function con731_submit() {
function con731_submit() {
Leaf.showConfirm('${l:HLS.PROMPT}', '是否确认提交审批?', function () {
var same_flag;
Leaf.request({
url: $('con_guarantor_comparison_link').getUrl(),
para: {
change_req_id: '${/parameter/@change_req_id}',
},
success: function (res) {
debugger;
same_flag= res.result.same_flag;
},
failure: function () {
},
error: function () {
},
scope: this,
sync: true
});
if(same_flag=='Y'){
var showMessage ='是否确认提交审批?';
}else{
var showMessage ='担保人未发生变更,是否确认提交审批?';
}
// debugger;
Leaf.showConfirm('${l:HLS.PROMPT}', showMessage, function () {
var req_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
var req_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
var req_record = $(req_ds_id).getAt(0);
var req_record = $(req_ds_id).getAt(0);
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_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