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
e0469d5c
Commit
e0469d5c
authored
Oct 12, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/con_change_feature_v5' into develop
parents
aae534c5
bf4fb266
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2646 additions
and
34 deletions
+2646
-34
INITIALIZE_SYSCODE_SEAL_NUMBER.sql
...database/Init/Sys_code/INITIALIZE_SYSCODE_SEAL_NUMBER.sql
+3
-0
con_contract_change_req_pkg.pck
src/main/database/Package/con_contract_change_req_pkg.pck
+2593
-0
cus_con_change_req_pkg.pck
src/main/database/Package/cus_con_change_req_pkg.pck
+1
-1
cus_con_contract_repo_pkg.pck
src/main/database/Package/cus_con_contract_repo_pkg.pck
+2
-2
cus_con_et_pkg.pck
src/main/database/Package/cus_con_et_pkg.pck
+15
-10
REGISTER_CON_ET003.sql
src/main/database/Register_function/REGISTER_CON_ET003.sql
+1
-0
hls_con_contract_change_detail.lview
.../modules/cont/CON731/hls_con_contract_change_detail.lview
+27
-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
+4
-4
No files found.
src/main/database/Init/Sys_code/INITIALIZE_SYSCODE_SEAL_NUMBER.sql
View file @
e0469d5c
...
@@ -18,6 +18,9 @@ sys_code_pkg.update_sys_code_value('SEAL_NUMBER','SEAL_O_TW_NUMBER','一式两
...
@@ -18,6 +18,9 @@ sys_code_pkg.update_sys_code_value('SEAL_NUMBER','SEAL_O_TW_NUMBER','一式两
sys_code_pkg
.
insert_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'ZHS'
,
''
);
sys_code_pkg
.
insert_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'ZHS'
,
''
);
sys_code_pkg
.
update_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'US'
,
''
);
sys_code_pkg
.
update_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_TH_NUMBER'
,
'一式三份'
,
'US'
,
''
);
sys_code_pkg
.
insert_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_F_NUMBER'
,
'一式四份'
,
'ZHS'
,
''
);
sys_code_pkg
.
update_sys_code_value
(
'SEAL_NUMBER'
,
'SEAL_O_F_NUMBER'
,
'一式四份'
,
'US'
,
''
);
end
;
end
;
/
/
commit
;
commit
;
...
...
src/main/database/Package/con_contract_change_req_pkg.pck
0 → 100644
View file @
e0469d5c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/database/Package/cus_con_change_req_pkg.pck
View file @
e0469d5c
...
@@ -175,7 +175,7 @@ create or replace package body cus_con_change_req_pkg is
...
@@ -175,7 +175,7 @@ create or replace package body cus_con_change_req_pkg is
if p_req_type = 'LEASE_CHAG' then
if p_req_type = 'LEASE_CHAG' then
cus_con_change_req_pkg.insert_hls_document_use_seal(p_change_req_id => v_change_req_id,
cus_con_change_req_pkg.insert_hls_document_use_seal(p_change_req_id => v_change_req_id,
p_document_table => 'CON_CONTRACT_CHANGE_REQ',
p_document_table => 'CON_CONTRACT_CHANGE_REQ',
p_instruments_types => '权
力
义务转让文本',
p_instruments_types => '权
利
义务转让文本',
p_common_seal => 'Y',
p_common_seal => 'Y',
p_corporate_visa_seal => 'Y',
p_corporate_visa_seal => 'Y',
p_legal_seal => 'N',
p_legal_seal => 'N',
...
...
src/main/database/Package/cus_con_contract_repo_pkg.pck
View file @
e0469d5c
...
@@ -199,7 +199,7 @@ create or replace package body cus_con_contract_repo_pkg is
...
@@ -199,7 +199,7 @@ create or replace package body cus_con_contract_repo_pkg is
p_con_special_seal => 'N',
p_con_special_seal => 'N',
p_financial_seal => 'N',
p_financial_seal => 'N',
p_supervisio_seal => 'N',
p_supervisio_seal => 'N',
p_seal_number => 'SEAL_O_
TW
_NUMBER',
p_seal_number => 'SEAL_O_
F
_NUMBER',
p_user_id => p_user_id);
p_user_id => p_user_id);
cus_con_change_req_pkg.insert_hls_document_use_seal(p_change_req_id => v_change_req_id,
cus_con_change_req_pkg.insert_hls_document_use_seal(p_change_req_id => v_change_req_id,
p_document_table => 'CON_CONTRACT_CHANGE_REQ',
p_document_table => 'CON_CONTRACT_CHANGE_REQ',
...
@@ -210,7 +210,7 @@ create or replace package body cus_con_contract_repo_pkg is
...
@@ -210,7 +210,7 @@ create or replace package body cus_con_contract_repo_pkg is
p_con_special_seal => 'N',
p_con_special_seal => 'N',
p_financial_seal => 'N',
p_financial_seal => 'N',
p_supervisio_seal => 'N',
p_supervisio_seal => 'N',
p_seal_number => 'SEAL_O_
TW
_NUMBER',
p_seal_number => 'SEAL_O_
F
_NUMBER',
p_user_id => p_user_id);
p_user_id => p_user_id);
p_change_req_id := v_change_req_id;
p_change_req_id := v_change_req_id;
end;
end;
...
...
src/main/database/Package/cus_con_et_pkg.pck
View file @
e0469d5c
...
@@ -117,7 +117,7 @@ create or replace package body cus_con_et_pkg is
...
@@ -117,7 +117,7 @@ create or replace package body cus_con_et_pkg is
p_con_special_seal => 'N',
p_con_special_seal => 'N',
p_financial_seal => 'N',
p_financial_seal => 'N',
p_supervisio_seal => 'N',
p_supervisio_seal => 'N',
p_seal_number => 'SEAL_O_
TW
_NUMBER',
p_seal_number => 'SEAL_O_
F
_NUMBER',
p_user_id => p_user_id);
p_user_id => p_user_id);
p_change_req_id := v_change_req_id;
p_change_req_id := v_change_req_id;
end create_change_req_et;
end create_change_req_et;
...
@@ -177,6 +177,7 @@ create or replace package body cus_con_et_pkg is
...
@@ -177,6 +177,7 @@ create or replace package body cus_con_et_pkg is
and f.cf_type = 1
and f.cf_type = 1
and f.contract_id = p_contract_id;
and f.contract_id = p_contract_id;
--上一次完全核销现金流
--上一次完全核销现金流
begin
select (p_et_date - f.due_date + 1) fund_possession_time
select (p_et_date - f.due_date + 1) fund_possession_time
into v_fund_possession_time
into v_fund_possession_time
from con_contract_cashflow f
from con_contract_cashflow f
...
@@ -186,6 +187,10 @@ create or replace package body cus_con_et_pkg is
...
@@ -186,6 +187,10 @@ create or replace package body cus_con_et_pkg is
and f.cf_type = 1
and f.cf_type = 1
and f.cf_direction != 'NONCASH'
and f.cf_direction != 'NONCASH'
and f.contract_id = p_contract_id;
and f.contract_id = p_contract_id;
exception
when no_data_found then
v_fund_possession_time := 1;
end;
v_fund_possession_cost := v_sum_unreceived_principal *
v_fund_possession_cost := v_sum_unreceived_principal *
nvl(v_fund_possession_time, 1) *
nvl(v_fund_possession_time, 1) *
NVL(p_et_interest_rate,
NVL(p_et_interest_rate,
...
...
src/main/database/Register_function/REGISTER_CON_ET003.sql
View file @
e0469d5c
...
@@ -30,6 +30,7 @@ sys_function_assign_pkg.func_bm_load('CON_ET003','cont.CON_ET001.calc_et_date_am
...
@@ -30,6 +30,7 @@ sys_function_assign_pkg.func_bm_load('CON_ET003','cont.CON_ET001.calc_et_date_am
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'cont.CON_ET001.calc_cashflow'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'cont.CON_ET001.calc_cashflow'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'basic.hls_division_for_lov'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'basic.hls_division_for_lov'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'cont.CON_ET001.submit_change_req'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'cont.CON_ET001.submit_change_req'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON_ET003'
,
'cont.CON701.hls_bp_master_v_all_lov'
);
--分配菜单
--分配菜单
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'CON_CHANGE_REQ'
,
p_function_code
=>
'CON_ET003'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'CON_CHANGE_REQ'
,
p_function_code
=>
'CON_ET003'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
...
...
src/main/webapp/modules/cont/CON731/hls_con_contract_change_detail.lview
View file @
e0469d5c
...
@@ -175,24 +175,43 @@
...
@@ -175,24 +175,43 @@
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click']
=
function()
{
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click']
=
function()
{
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_submit_approval').disable();
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_ds_id2 =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'con_contract_change_req');
var
req_record =
$(req_ds_id).getAt(0);
var
req_record =
$(req_ds_id).getAt(0);
var
case_type =
''
;
var
case_type =
''
;
var
document_type =
'${/parameter/@document_type}'
;
var
document_type =
'${/parameter/@document_type}'
;
var
calc_session_id =
req_record.get('calc_session_id');
var
calc_session_id =
req_record.get('calc_session_id');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
if
($(req_ds_id).validate($('${/parameter/@layout_code}_submit_approval').enable()))
{
if
($(req_ds_id).validate($('${/parameter/@layout_code}_submit_approval').enable())
&&
$(req_ds_id2).validate($('${/parameter/@layout_code}_submit_approval').enable())
)
{
//
if
(req_record.dirty)
{
//
if
(req_record.dirty)
{
//
Leaf.showMessage('${l:HLS.PROMPT}',
'${l:HLS.EXECUTE_AFTER_SAVE}');
//
Leaf.showMessage('${l:HLS.PROMPT}',
'${l:HLS.EXECUTE_AFTER_SAVE}');
//
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
return;
//
return;
//
}
//
}
//
回款賬戶變更
if('${/parameter/@layout_code}'
==
'CON_ACCOUNT_CHANGE_MODIFY'){
var
bank_account_num_s =
req_record.get('bank_account_num_s');
var
bank_account_num_c =
req_record.get('bank_account_num_c');
if(
bank_account_num_s =
=
bank_account_num_c){
Leaf.showMessage('警告',
'现扣款账号和原扣款账号不能重复!');
return;
}else{
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
$('${/parameter/@layout_code}_save').disable();
if('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
if
('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
$('${/parameter/@layout_code}_quote').disable();
$('${/parameter/@layout_code}_quote').disable();
}
}
$('${/parameter/@layout_code}_user_button1').disable();
$('${/parameter/@layout_code}_user_button1').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
}
}else
{
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
if
('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
$('${/parameter/@layout_code}_quote').disable();
}
$('${/parameter/@layout_code}_user_button1').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
}
}
else
{
}
else
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}
}
...
@@ -485,7 +504,7 @@
...
@@ -485,7 +504,7 @@
}
}
}else if (name == 'description') {
}else if (name == 'description') {
if (record.get('important_flag') == 'Y') {
if (record.get('important_flag') == 'Y') {
return '
<
font
color=
"RED"
>
' + value + '
</font
>
';
return '
<
span
style=
"color: RED; "
>
' + value + '
</span
>
';
}
}
return value;
return value;
}
}
...
...
src/main/webapp/modules/cont/CON_ET001/con_early_termination_et_detail.lview
View file @
e0469d5c
...
@@ -218,15 +218,6 @@
...
@@ -218,15 +218,6 @@
}
}
}
}
};
};
//查询时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
var ds_us_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_BASE_03', 'hls_document_use_seal');
if (ds == $(ds_us_id)) {debugger
$(ds).setQueryParameter('document_table','CON_CONTRACT_CHANGE_REQ');
$(ds).setQueryParameter('change_req_id','${/parameter/@change_req_id}');
$(ds).query();
}
};
]]>
</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>
...
...
src/main/webapp/modules/cont/CON_REPO001/con_contract_change_repo_detail.lview
View file @
e0469d5c
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
return '<a href="javascript:open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')">
' + value + '
</a>
';
return '<a href="javascript:open_contract_win(\'' + record.ds.id + '\',\'' + record.id + '\')">
' + value + '
</a>
';
}else if (name == 'description') {
}else if (name == 'description') {
if (record.get('important_flag') == 'Y') {
if (record.get('important_flag') == 'Y') {
return '
<
font
color=
"RED"
>
' + value + '
</font
>
';
return '
<
span
style=
"color: RED; "
>
' + value + '
</span
>
';
}
}
return value;
return value;
}
}
...
@@ -366,9 +366,9 @@
...
@@ -366,9 +366,9 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
var ds_us_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_BASE_03', 'hls_document_use_seal');
var ds_us_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_BASE_03', 'hls_document_use_seal');
if (ds == $(ds_us_id)) {debugger
if (ds == $(ds_us_id)) {debugger
$(ds)
.setQueryParameter('document_table','CON_CONTRACT_CHANGE_REQ');
ds
.setQueryParameter('document_table','CON_CONTRACT_CHANGE_REQ');
$(ds)
.setQueryParameter('change_req_id','${/parameter/@change_req_id}');
ds
.setQueryParameter('change_req_id','${/parameter/@change_req_id}');
$(ds)
.query();
ds
.query();
}
}
};
};
]]>
</script>
]]>
</script>
...
...
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