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
3b1b7caf
Commit
3b1b7caf
authored
Sep 29, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 生成文本按钮明细页面取消
parent
c76abba5
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
43 deletions
+27
-43
hls_con_contract_change_detail.lview
.../modules/cont/CON731/hls_con_contract_change_detail.lview
+1
-12
hls_ccr_modify_entrance.lview
.../webapp/modules/cont/CON732/hls_ccr_modify_entrance.lview
+1
-2
hls_ccr_query_entrance.lview
...n/webapp/modules/cont/CON732/hls_ccr_query_entrance.lview
+1
-8
con_early_termination_et_detail.lview
...ules/cont/CON_ET001/con_early_termination_et_detail.lview
+0
-9
con_contract_change_repo_detail.lview
...es/cont/CON_REPO001/con_contract_change_repo_detail.lview
+23
-12
con_contract_repo_create_entrance.lview
.../cont/CON_REPO001/con_contract_repo_create_entrance.lview
+1
-0
No files found.
src/main/webapp/modules/cont/CON731/hls_con_contract_change_detail.lview
View file @
3b1b7caf
...
...
@@ -192,7 +192,6 @@
$('${/parameter/@layout_code}_quote').disable();
}
$('${/parameter/@layout_code}_user_button1').disable();
$('${/parameter/@layout_code}_user_button2').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
}
else
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
...
...
@@ -220,7 +219,6 @@
$('${/parameter/@layout_code}_quote').enable();
}
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button2').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error:
function()
{
...
...
@@ -230,7 +228,6 @@
$('${/parameter/@layout_code}_quote').enable();
}
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button2').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
scope:
this
...
...
@@ -303,14 +300,7 @@
});
};
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click']
=
function()
{
$('${/parameter/@layout_code}_user_button1').disable();
$('${/parameter/@layout_code}_user_button1').enable();
};
//////附件上传
//附件上传
window['${/parameter/@layout_code}_dynamic_link_renderer']
=
function(value,
record,
name,
config_record,
bp_seq)
{
var
link_function =
''
;
window['${/parameter/@layout_code}_hls_link_render_record'][record.id
+
'---'
+
name]
=
record;
...
...
@@ -696,7 +686,6 @@
}
};
/// 附件上传 end
//图片渲染
window['${/parameter/@bp_seq}${/parameter/@layout_code}_dynamic_pic_renderer'] = function(record, name, bp_seq) {
var result = name.match(/(.*)_pic$/);
...
...
src/main/webapp/modules/cont/CON732/hls_ccr_modify_entrance.lview
View file @
3b1b7caf
<?xml version="1.0" encoding="UTF-8"?>
<!--
2014-10-27 create bu xuls for 变更申请-支付期调整 维护
2019-09 变更申请-维护
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure/>
...
...
src/main/webapp/modules/cont/CON732/hls_ccr_query_entrance.lview
View file @
3b1b7caf
<?xml version="1.0" encoding="UTF-8"?>
<!--
2014-10-27 create bu xuls for 变更申请-支付期调整 查询
2019-09 for 变更申请-查询
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
...
...
@@ -18,12 +17,6 @@
<a:link
id=
"con_contract_change_req_link"
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
<script
type=
"text/javascript"
>
<![CDATA[
var new_recs = []; //任务数组
var total_index = 0;
var current_index = 0;
var file_path = '${/parameter/@file_path}';
var download_arr = [];
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
...
...
src/main/webapp/modules/cont/CON_ET001/con_early_termination_et_detail.lview
View file @
3b1b7caf
...
...
@@ -77,7 +77,6 @@
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
$('${/parameter/@layout_code}_user_button1').disable();
$('${/parameter/@layout_code}_user_button2').disable();
$('${/parameter/@layout_code}_user_button3').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con_repo001_submit), 2000);
} else {
...
...
@@ -98,7 +97,6 @@
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button2').enable();
$('${/parameter/@layout_code}_user_button3').enable();
$('${/parameter/@winid}').close();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
...
...
@@ -107,7 +105,6 @@
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button2').enable();
$('${/parameter/@layout_code}_user_button3').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
...
...
@@ -115,7 +112,6 @@
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button2').enable();
$('${/parameter/@layout_code}_user_button3').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
...
...
@@ -182,12 +178,7 @@
scope: this
});
}
//生成文本
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
//$('${/parameter/@layout_code}_user_button2').disable(); //按钮不可用
//$('${/parameter/@layout_code}_user_button2').enable(); //按钮启用
};
//取消变更
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {
$('${/parameter/@layout_code}_user_button3').disable(); //按钮不可用
...
...
src/main/webapp/modules/cont/CON_REPO001/con_contract_change_repo_detail.lview
View file @
3b1b7caf
...
...
@@ -205,6 +205,7 @@
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click'] = function() {
if (calc_flag && maunal_calc_flag){
$('${/parameter/@layout_code}_submit_approval').disable();
var req_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_BASE_01', 'con_contract');
var req_record = $(req_ds_id).getAt(0);
var case_type = '';
...
...
@@ -212,12 +213,16 @@
var calc_session_id = req_record.get('calc_session_id');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
if ($(req_ds_id).validate()) {
if (req_record.dirty) {
Leaf.showMessage('${l:HLS.PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return;
}
if ($(req_ds_id).validate($('${/parameter/@layout_code}_submit_approval').enable())) {
// if (req_record.dirty) {
// Leaf.showMessage('${l:HLS.PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
// window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// return;
// }
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
$('${/parameter/@layout_code}_user_button1').disable();
$('${/parameter/@layout_code}_user_button3').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con_repo001_submit), 2000);
} else {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
...
...
@@ -235,13 +240,25 @@
layout_code: '${/parameter/@layout_code}'
},
success: function(res) {
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button3').enable();
$('${/parameter/@winid}').close();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
failure: function() {
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button3').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error: function() {
$('${/parameter/@layout_code}_submit_approval').enable();
$('${/parameter/@layout_code}_save').enable();
$('${/parameter/@layout_code}_user_button1').enable();
$('${/parameter/@layout_code}_user_button3').enable();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
scope: this
...
...
@@ -295,12 +312,6 @@
scope: this
});
}
//生成文本
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
//$('${/parameter/@layout_code}_user_button2').disable(); //按钮不可用
//$('${/parameter/@layout_code}_user_button2').enable(); //按钮启用
};
//取消变更
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {
$('${/parameter/@layout_code}_user_button3').disable(); //按钮不可用
...
...
src/main/webapp/modules/cont/CON_REPO001/con_contract_repo_create_entrance.lview
View file @
3b1b7caf
...
...
@@ -33,6 +33,7 @@
var prj_project_result_ds = $(ds_id);
var records = prj_project_result_ds.getSelected();
if (records.length != 1) {
$('${/parameter/@layout_code}_user_button1').enable(); //按钮启用
Leaf.showMessage('${l:PROMPT}', '${l:HLS.SELECT_RECORD}');
return;
}
...
...
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