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
d2f89b6e
Commit
d2f89b6e
authored
Jan 24, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产管理费对账问题修复
parent
4a9f4b95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
2 deletions
+40
-2
csh_asset_reconciliation.lview
...webapp/modules/csh/CSH1500/csh_asset_reconciliation.lview
+40
-2
No files found.
src/main/webapp/modules/csh/CSH1500/csh_asset_reconciliation.lview
View file @
d2f89b6e
...
@@ -13,10 +13,20 @@
...
@@ -13,10 +13,20 @@
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"asset_check_wfl_link_id"
<a:link
id=
"asset_check_wfl_link_id"
url=
"${/request/@context_path}/modules/csh/CSH1500/csh_asset_batch.lsc"
/>
url=
"${/request/@context_path}/modules/csh/CSH1500/csh_asset_batch.lsc"
/>
<a:link
id=
"${/parameter/@layout_code}con_detail_link"
url=
"${/request/@context_path}/modules/cont/CON3200/con_re_incept_modify.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
Leaf.onReady(function() {
if('${/parameter/@function_usage}' == 'QUERY'){
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hl_asset_manage_fee');
$(ds_id).setQueryParameter('batch_id','${/parameter/@batch_id}');
$(ds_id).query();
}
});
//提交审批
//提交审批
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click'] = function() {
debugger;
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hl_asset_manage_fee');
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hl_asset_manage_fee');
var records = $(ds_id).getSelected();
var records = $(ds_id).getSelected();
var ParaData = [];
var ParaData = [];
...
@@ -25,9 +35,15 @@
...
@@ -25,9 +35,15 @@
return;
return;
}
}
for(var i=0; i<records.length;i++){
for(var i=0; i<records.length;i++){
if(records[i].data.wfl_status
== 'APPROVING' || records[i].data.wfl_status
== 'APPROVED'){
if(records[i].data.wfl_status
_n == 'APPROVING' || records[i].data.wfl_status_n
== 'APPROVED'){
$L.showMessage("提示",'请选择新建或者审批拒绝的单据!');
$L.showMessage("提示",'请选择新建或者审批拒绝的单据!');
return;;
return;
}
if(i+1<records.length){
if(records[i].data.bp_id_tenant !=records[i+1].data.bp_id_tenant){
$L.showMessage("提示",'请选择相同代理店的现金流进行提交!');
return;
}
}
}
records[i].set('_status','execute');
records[i].set('_status','execute');
ParaData.push(records[i].data);
ParaData.push(records[i].data);
...
@@ -49,6 +65,28 @@
...
@@ -49,6 +65,28 @@
}, null, null);
}, null, null);
};
};
function open_contract_detail(record_id, ds_id) {
debugger;
var record = $(ds_id).findById(record_id);
var param = {};
param['contract_id'] = record.get('contract_id');
param['function_code'] = 'CON3200Q';
param['layout_code'] = 'CONTRACT_QUERY_INC';
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'QUERY';
param['url_title'] = '合同起租明细页面';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}con_detail_link',ds_id);
}
//超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record) {
var link_function = '';
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if(name == 'contract_number'){
link_function = 'open_contract_detail';
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + record.ds.id + '\')">
' + value + '
</a>
';
}
};
]]>
</script>
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:view>
...
...
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