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
6e383ca8
Commit
6e383ca8
authored
Jan 17, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资管费报单改造
parent
7d321b47
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
134 additions
and
16 deletions
+134
-16
prj_quotation_save.lwm
.../webapp/WEB-INF/classes/prj/PRJ501/prj_quotation_save.lwm
+2
-1
prj_project_create.lview
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
+46
-4
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+45
-7
prj_project_maintain_wfl_new.lview
...pp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
+41
-4
No files found.
src/main/webapp/WEB-INF/classes/prj/PRJ501/prj_quotation_save.lwm
View file @
6e383ca8
...
@@ -99,7 +99,8 @@
...
@@ -99,7 +99,8 @@
p_ref_d02=>to_date(${@ref_d02},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d02=>to_date(${@ref_d02},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d03=>to_date(${@ref_d03},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d03=>to_date(${@ref_d03},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d04=>to_date(${@ref_d04},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d04=>to_date(${@ref_d04},'yyyy-mm-dd hh24:mi:ss'),
p_ref_d05=>to_date(${@ref_d05},'yyyy-mm-dd hh24:mi:ss'));
p_ref_d05=>to_date(${@ref_d05},'yyyy-mm-dd hh24:mi:ss'),
p_btb_int_rate=>${@btb_int_rate});
end;
end;
]]>
</bm:update-sql>
]]>
</bm:update-sql>
<bm:parameters>
<bm:parameters>
...
...
src/main/webapp/modules/prj/PRJ500N/prj_project_create.lview
View file @
6e383ca8
...
@@ -70,6 +70,17 @@
...
@@ -70,6 +70,17 @@
var gridId= 'PROJECT_CREATE_NP_G_LEASE_HEAD_CAR_prj_project_lease_item_layout_grid_id';
var gridId= 'PROJECT_CREATE_NP_G_LEASE_HEAD_CAR_prj_project_lease_item_layout_grid_id';
$(gridId).hideColumn('machine_number_n');
$(gridId).hideColumn('machine_number_n');
}
}
//不为租赁二手机业务时隐藏资管费相关字段及费率 18083 2023/1/15
if(division!='70'){
if(document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06')){
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06_prompt').style.display = 'none';
}
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id').style.display = 'none';
}
}
});
});
...
@@ -775,7 +786,12 @@
...
@@ -775,7 +786,12 @@
}
}
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id)
{
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id)
{
debugger;
//产品线不为二手机业务,将资管费等字段置空
if(division
!=
'70'&&
division
!=
''){
record.getField('hd_user_col_v06').setRequired(false);
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
}
if
(division
!=
'70'&&division!='92'
&&
division
!=
'')
{
if
(division
!=
'70'&&division!='92'
&&
division
!=
'')
{
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')
.style.display =
'none'
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')
.style.display =
'none'
...
@@ -958,13 +974,39 @@
...
@@ -958,13 +974,39 @@
//更新时调用
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function
(ds,
record,
name,
value,
old_value,
bp_seq)
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function
(ds,
record,
name,
value,
old_value,
bp_seq)
{
debugger;
var
prj_project_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
prj_project_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
var
quo_rate_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_RATE_N',
'prj_quotation');
var
prj_project_history_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'T_HISTORY_INGO',
'hls_bp_master');
var
prj_project_history_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'T_HISTORY_INGO',
'hls_bp_master');
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
//二手车资管费为否,隐藏组合利率组件及将字段设置为空
if
(
prj_quotation_ds_id =
=
ds.id)
{
if
(
name =
=
'hd_user_col_v06')
{
if
(record.get('hd_user_col_v06')
==
'N')
{
record.set('asset_id',
null);
record.set('asset_id_n',
null);
record.set('btb_int_rate',
'');
record.set('int_rate_display',
'');
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
}
else
{
record.getField('asset_id').setRequired(true);
record.getField('asset_id_n').setRequired(true);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'block'
;
}
}
}
}
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
name =
=
'send_message_n'){
if(
name =
=
'send_message_n'){
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
6e383ca8
...
@@ -666,7 +666,31 @@
...
@@ -666,7 +666,31 @@
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
var
prj_quotation_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_quotation');
var
lease_item_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
var
lease_item_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_LEASE_HEAD_CAR',
'prj_project_lease_item');
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
//二手车资管费为否,隐藏组合利率组件及将字段设置为空
if
(
prj_quotation_ds_id =
=
ds.id)
{
if
(
name =
=
'hd_user_col_v06')
{
if
(record.get('hd_user_col_v06')
==
'N')
{
record.set('asset_id',
null);
record.set('asset_id_n',
null);
record.set('btb_int_rate',
'');
record.set('int_rate_display',
'');
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
}
else
{
record.getField('asset_id').setRequired(true);
record.getField('asset_id_n').setRequired(true);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'block'
;
}
}
}
}
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
name =
=
'send_message_n'){
if(
name =
=
'send_message_n'){
...
@@ -1297,6 +1321,19 @@
...
@@ -1297,6 +1321,19 @@
}
}
}
}
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id){
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id){
if(division
!=
'70'&&
division
!=
''){
if(document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06')){
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06_prompt')
.style.display =
'none'
;
}
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
record.getField('hd_user_col_v06').setRequired(false);
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
}
if(division!='70'&&division!='92'&&division!=''){
if(division!='70'&&division!='92'&&division!=''){
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')
.style.display =
'none'
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')
.style.display =
'none'
...
@@ -1417,6 +1454,7 @@
...
@@ -1417,6 +1454,7 @@
$(billing_ds_id).query();
$(billing_ds_id).query();
});
});
//序号自增
add
by
lijingjing
//序号自增
add
by
lijingjing
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_add']
=
function
(ds,
record,
config_records,
bp_seq)
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_add']
=
function
(ds,
record,
config_records,
bp_seq)
{
...
...
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain_wfl_new.lview
View file @
6e383ca8
...
@@ -655,8 +655,8 @@
...
@@ -655,8 +655,8 @@
record.getField('produce_date').setReadOnly(false);
record.getField('produce_date').setReadOnly(false);
record.getField('produce_date').setRequired(true);
record.getField('produce_date').setRequired(true);
record.getField('using_hour').setRequired(true);
record.getField('using_hour').setRequired(true);
record.getField('modelcd').setReadOnly(
tru
e);
record.getField('modelcd').setReadOnly(
fals
e);
record.getField('modelcd').setRequired(
fals
e);
record.getField('modelcd').setRequired(
tru
e);
record.getField('ownership_flag_n').setRequired(true);
record.getField('ownership_flag_n').setRequired(true);
record.getField('residual_value_amount').setRequired(true);
record.getField('residual_value_amount').setRequired(true);
record.getField('full_name').setRequired(false);
record.getField('full_name').setRequired(false);
...
@@ -1136,6 +1136,19 @@
...
@@ -1136,6 +1136,19 @@
}
}
}
}
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id){
if
(
prj_quotation_ds_id =
=
ds.id
&&
prj_quotation_ds_id){
if(division
!=
'70'&&
division
!=
''){
if(document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06')){
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_HD_USER_COL_V06_prompt')
.style.display =
'none'
;
}
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
record.getField('hd_user_col_v06').setRequired(false);
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
}
if(division!='70'&&division!='92'&&division!=''){
if(division!='70'&&division!='92'&&division!=''){
if(document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')){
if(document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN')){
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
document.getElementById('${/parameter/@layout_code}_F_QUOTATION_N_PRJ_QUOTATION_CUSTOMER_MARGIN_prompt')
.style.display =
'none'
;
...
@@ -1276,7 +1289,6 @@
...
@@ -1276,7 +1289,6 @@
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function
(ds,
record,
name,
value,
old_value,
bp_seq)
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update']
=
function
(ds,
record,
name,
value,
old_value,
bp_seq)
{
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
var
tenant_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_BASIC_INFO_1',
'prj_project');
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
tenant_ds_id =
=
ds.id&&tenant_ds_id){
if(
name =
=
'send_message_n'){
if(
name =
=
'send_message_n'){
...
@@ -1288,6 +1300,31 @@
...
@@ -1288,6 +1300,31 @@
}
}
}
}
//二手车资管费为否,隐藏组合利率组件及将字段设置为空
if
(
prj_quotation_ds_id =
=
ds.id)
{
if
(
name =
=
'hd_user_col_v06')
{
if
(record.get('hd_user_col_v06')
==
'N')
{
record.set('asset_id',
null);
record.set('asset_id_n',
null);
record.set('btb_int_rate',
'');
record.set('int_rate_display',
'');
record.getField('asset_id').setRequired(false);
record.getField('asset_id_n').setRequired(false);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'none'
;
}
}
else
{
record.getField('asset_id').setRequired(true);
record.getField('asset_id_n').setRequired(true);
//隐藏组件
if(document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')){
document.getElementById('${/parameter/@layout_code}_F_RATE_N_component_id')
.style.display =
'block'
;
}
}
}
}
//选择承租人带出开票信息
//选择承租人带出开票信息
var
prj_project_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
prj_project_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
...
...
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