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
9a331227
Commit
9a331227
authored
Oct 18, 2021
by
王炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
农行划扣增加工作流以及相关调整
parent
86a34b3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
2 deletions
+38
-2
hls_acr_ebank_input.lview
...app/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview
+38
-2
No files found.
src/main/webapp/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview
View file @
9a331227
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
<a:link
id=
"${/parameter/@layout_code}_con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"${/parameter/@layout_code}_con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"hls_ebank_input_detail_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input_detail.lview"
/>
<a:link
id=
"hls_ebank_input_detail_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input_detail.lview"
/>
<a:link
id=
"hls_ebank_input_delete_link"
model=
"hls_acr.HLS_ACR5040.hls_acr_import_data_delete"
modelaction=
"delete"
/>
<a:link
id=
"hls_ebank_input_delete_link"
model=
"hls_acr.HLS_ACR5040.hls_acr_import_data_delete"
modelaction=
"delete"
/>
<a:link
id=
"acr_invoice_abc2_interface_excel_sheets_id"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5010/acr_invoice_abc2_interface_excel_sheets.lsc"
/>
<script>
<![CDATA[
<script>
<![CDATA[
//modify by wdd 20180530 for HL
//modify by wdd 20180530 for HL
//增加删除按钮,同时删除头行数据
//增加删除按钮,同时删除头行数据
...
@@ -19,7 +21,14 @@
...
@@ -19,7 +21,14 @@
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_acr_ebank_output_hd_temp');
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_acr_ebank_output_hd_temp');
var hd_ds = $(ds_id);
var hd_ds = $(ds_id);
var records = hd_ds.getSelected();
var records = hd_ds.getSelected();
Leaf.showConfirm('${l:PROMPT}', '是否确定删除?', function() {
var comfirm_prompt='是否确定删除';
for (var i = 0;i < records.length;i++) {
var line_record = records[i];
if (line_record.get('wfl_status') == 'APPROVED') {
comfirm_prompt='所选数据包含调整金额流程审批通过数据,是否确认删除?';
}
}
Leaf.showConfirm('${l:PROMPT}', comfirm_prompt, function() {
var detail_mask = Ext.getBody();
var detail_mask = Ext.getBody();
if (records.length) {
if (records.length) {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
...
@@ -74,8 +83,13 @@
...
@@ -74,8 +83,13 @@
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'output_number' && record.get('output_hd_id')) {
if (name == 'output_number' && record.get('output_hd_id')) {
link_function = '${/parameter/@layout_code}_open_input_detail_window';
link_function = '${/parameter/@layout_code}_open_input_detail_window';
if(record.get('wfl_status')=='REJECT'||record.get('wfl_status')=='APPROVING'){
return value;
}else{
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');">
' + value + '
</a>
';
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');">
' + value + '
</a>
';
}
}
}
};
};
window['${/parameter/@layout_code}_open_input_detail_window'] = function(id, name) {
window['${/parameter/@layout_code}_open_input_detail_window'] = function(id, name) {
...
@@ -96,6 +110,28 @@
...
@@ -96,6 +110,28 @@
param['url_title'] = '明细';
param['url_title'] = '明细';
hls_doc_get_layout_code('${/parameter/@layout_code}_con_contract_get_layout_code_link_id', param, 'hls_ebank_input_detail_link', null, null);
hls_doc_get_layout_code('${/parameter/@layout_code}_con_contract_get_layout_code_link_id', param, 'hls_ebank_input_detail_link', null, null);
};
};
//调整金额导出划扣指令
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_acr_ebank_output_hd_temp');
var hd_ds = $(ds_id);
var records = hd_ds.getSelected();
if(records.length==0||records.length>1){
Leaf.showMessage('提示', '请选择一条数据导出划扣指令!');
return;
}
var record=records[0];
if(record.get('handle_flag')=='Y'){
Leaf.showMessage('提示', '当前批次已处理完成不可导出划扣指令!');
return;
}
if(record.get('wfl_status')!='APPROVED'){
Leaf.showMessage('提示', '仅通过农行调整金额流程的批次可导出划扣指令!');
return;
}
url = $('acr_invoice_abc2_interface_excel_sheets_id').getUrl() + '?output_id=' + record.get('output_hd_id');
window.open(url);
}
]]>
</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