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
1f64c16b
Commit
1f64c16b
authored
Oct 16, 2020
by
liyuan.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
买断机修改,债权月报修改,同意导入修改
parent
3f2098df
Changes
17
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
480 additions
and
347 deletions
+480
-347
contract_lease_report.lwm
...pp/WEB-INF/classes/cont/CON3600/contract_lease_report.lwm
+19
-3
contract_overdue_report.lwm
.../WEB-INF/classes/cont/CON3700/contract_overdue_report.lwm
+104
-95
rpt5012_csh_result_query.lwm
.../WEB-INF/classes/rpt/RPT5012/rpt5012_csh_result_query.lwm
+113
-90
rpt5012_result_query.lwm
...bapp/WEB-INF/classes/rpt/RPT5012/rpt5012_result_query.lwm
+209
-152
fnd_interface_lines.lwm
...webapp/WEB-INF/classes/sys/SYS999/fnd_interface_lines.lwm
+0
-0
fnd_interface_log.lwm
...n/webapp/WEB-INF/classes/sys/SYS999/fnd_interface_log.lwm
+0
-0
fnd_transfer_table.lwm
.../webapp/WEB-INF/classes/sys/SYS999/fnd_transfer_table.lwm
+0
-0
general_init_columns.lwm
...ebapp/WEB-INF/classes/sys/SYS999/general_init_columns.lwm
+0
-0
general_sheets.lwm
...main/webapp/WEB-INF/classes/sys/SYS999/general_sheets.lwm
+0
-0
get_fnd_interface_header_id.lwm
...EB-INF/classes/sys/SYS999/get_fnd_interface_header_id.lwm
+0
-0
main.lwm
src/main/webapp/WEB-INF/classes/sys/SYS999/main.lwm
+0
-0
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+1
-1
rpt5012_repory_query.lview
...ain/webapp/modules/rpt/RPT5012/rpt5012_repory_query.lview
+2
-0
general_dynamic_grid.lview
...main/webapp/modules/sys/SYS999/general_dynamic_grid.lview
+1
-1
general_excel_execute.lview
...ain/webapp/modules/sys/SYS999/general_excel_execute.lview
+2
-2
general_import_detail.lview
...ain/webapp/modules/sys/SYS999/general_import_detail.lview
+25
-1
general_upload.lview
src/main/webapp/modules/sys/SYS999/general_upload.lview
+4
-2
No files found.
src/main/webapp/WEB-INF/classes/cont/CON3600/contract_lease_report.lwm
View file @
1f64c16b
...
@@ -23,7 +23,11 @@
...
@@ -23,7 +23,11 @@
AND cwo.cf_item IN (1, 200, 250)
AND cwo.cf_item IN (1, 200, 250)
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND trunc(ct.transaction_date)
<
=
AND trunc(ct.transaction_date)
<
=
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd'))),
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd'))
and exists(select 1
from con_contract_cashflow cc
where cc.CASHFLOW_ID = cwo.CASHFLOW_ID
and cc.CF_STATUS = 'RELEASE')),
0)
0)
ELSE
ELSE
0
0
...
@@ -219,7 +223,12 @@
...
@@ -219,7 +223,12 @@
AND cwo.csh_transaction_id = ct.transaction_id
AND cwo.csh_transaction_id = ct.transaction_id
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND trunc(ct.transaction_date)
<
=
AND trunc(ct.transaction_date)
<
=
TRUNC(last_day(to_date(${@start_calc_date}, 'yyyy-mm-dd')))),
TRUNC(last_day(to_date(${@start_calc_date}, 'yyyy-mm-dd')))
and exists(select 1
from con_contract_cashflow cc
where cc.CASHFLOW_ID = cwo.CASHFLOW_ID
and cc.CF_STATUS = 'RELEASE')
),
0) rest_unpayment_amount,
0) rest_unpayment_amount,
--保证金后
--保证金后
contract_item_query_pkg.calc_rest_rent_by_dudt(p_contract_id => t.contract_id,
contract_item_query_pkg.calc_rest_rent_by_dudt(p_contract_id => t.contract_id,
...
@@ -369,7 +378,14 @@
...
@@ -369,7 +378,14 @@
where v.CODE = 'CON500_CONTRACT_STATUS'
where v.CODE = 'CON500_CONTRACT_STATUS'
and v.CODE_VALUE = t.CONTRACT_STATUS
and v.CODE_VALUE = t.CONTRACT_STATUS
and v.CODE_ENABLED_FLAG = 'Y'
and v.CODE_ENABLED_FLAG = 'Y'
and v.CODE_VALUE_ENABLED_FLAG = 'Y') contract_status_n
and v.CODE_VALUE_ENABLED_FLAG = 'Y') contract_status_n,
t.is_buyout,
(Select v1.code_value_name
From sys_code_values_v v1
Where v1.code = 'YES_OR_NO'
And v1.code_enabled_flag = 'Y'
And v1.code_value_enabled_flag = 'Y'
and v1.CODE_VALUE = t.is_buyout) is_buyout_n
FROM con_contract t, hls_bp_master h
FROM con_contract t, hls_bp_master h
WHERE t.data_class = 'NORMAL'
WHERE t.data_class = 'NORMAL'
AND t.bp_id_agent_level1 = h.bp_id
AND t.bp_id_agent_level1 = h.bp_id
...
...
src/main/webapp/WEB-INF/classes/cont/CON3700/contract_overdue_report.lwm
View file @
1f64c16b
...
@@ -3,14 +3,15 @@
...
@@ -3,14 +3,15 @@
<bm:operations>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
<bm:query-sql>
<![CDATA[
SELECT t.contract_id,
SELECT
t.contract_id,
t.contract_number,
t.contract_number,
(SELECT h.extra_nam
(SELECT h.extra_nam
FROM hls_bp_master h
FROM hls_bp_master h
WHERE h.bp_id=t.bp_id_agent_level1)
extra_nam,
WHERE h.bp_id = t.bp_id_agent_level1)
extra_nam,
(SELECT h.bp_name
(SELECT h.bp_name
FROM hls_bp_master h
FROM hls_bp_master h
WHERE h.bp_id=t.bp_id_tenant)
tenant_name,
WHERE h.bp_id = t.bp_id_tenant)
tenant_name,
--租赁开始日
--租赁开始日
t.lease_start_date,
t.lease_start_date,
--机型
--机型
...
@@ -18,7 +19,7 @@
...
@@ -18,7 +19,7 @@
--机号
--机号
ccli.machine_number,
ccli.machine_number,
--回数
--回数
decode(ccc.cf_item,8,'留购价格',ccc.times)
times,
decode(ccc.cf_item, 8, '留购价格', ccc.times)
times,
--支付预定日
--支付预定日
ccc.due_date,
ccc.due_date,
--应收款金额
--应收款金额
...
@@ -59,7 +60,8 @@
...
@@ -59,7 +60,8 @@
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND nvl(cwo.reversed_flag, 'N') = 'N'
AND trunc(t.transaction_date) <=
AND trunc(t.transaction_date) <=
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd'))),
trunc(to_date(${@last_month_date}, 'yyyy-mm-dd'))),
0)) >
0 THEN
0)) >
0
THEN
floor(to_date(${@last_month_date}, 'yyyy-mm-dd') - ccc.due_date)
floor(to_date(${@last_month_date}, 'yyyy-mm-dd') - ccc.due_date)
ELSE
ELSE
0
0
...
@@ -69,8 +71,15 @@
...
@@ -69,8 +71,15 @@
from csh_transaction tt
from csh_transaction tt
where tt.transaction_type = 'DEPOSIT'
where tt.transaction_type = 'DEPOSIT'
AND tt.deposit_trans_type = 'rent_deposit'
AND tt.deposit_trans_type = 'rent_deposit'
AND NVL(tt.reversed_flag,'N')='N'
AND NVL(tt.reversed_flag, 'N') = 'N'
and tt.ref_contract_id = T.contract_id),0) deposit_amount
and tt.ref_contract_id = T.contract_id), 0) deposit_amount,
t.is_buyout,
(Select v1.code_value_name
From sys_code_values_v v1
Where v1.code = 'YES_OR_NO'
And v1.code_enabled_flag = 'Y'
And v1.code_value_enabled_flag = 'Y'
and v1.CODE_VALUE = t.is_buyout) is_buyout_n
FROM con_contract_cashflow ccc,
FROM con_contract_cashflow ccc,
con_contract t,
con_contract t,
con_contract_lease_item ccli
con_contract_lease_item ccli
...
@@ -101,8 +110,8 @@
...
@@ -101,8 +110,8 @@
</bm:operations>
</bm:operations>
<bm:query-fields>
<bm:query-fields>
<!-- <bm:query-field name="period_name" queryExpression="t1.period_day=${@period_name}"/>-->
<!-- <bm:query-field name="period_name" queryExpression="t1.period_day=${@period_name}"/>-->
<!-- <bm:query-field name="journal_date_to" queryExpression="to_char(t.journal_date,'yyyy-mm-dd') <= ${@journal_date_to}"/>-->
<!-- <bm:query-field name="journal_date_to" queryExpression="to_char(t.journal_date,'yyyy-mm-dd') <= ${@journal_date_to}"/>-->
<!-- <bm:query-field name="bp_id_agent_level1" queryExpression="t.bp_id_agent_level1=${@bp_id_agent_level1}"/>-->
<!-- <bm:query-field name="bp_id_agent_level1" queryExpression="t.bp_id_agent_level1=${@bp_id_agent_level1}"/>-->
</bm:query-fields>
</bm:query-fields>
</bm:model>
</bm:model>
src/main/webapp/WEB-INF/classes/rpt/RPT5012/rpt5012_csh_result_query.lwm
View file @
1f64c16b
...
@@ -9,45 +9,62 @@
...
@@ -9,45 +9,62 @@
<bm:operations>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
<bm:query-sql>
<![CDATA[
SELECT v.*,
SELECT
v.*,
--未收金额
--未收金额
(due_amount-
received_amount) unreceived_amount
(due_amount -
received_amount) unreceived_amount
FROM (SELECT
FROM (SELECT
t.contract_number,
t.contract_number,
(SELECT bp_name FROM hls_bp_master h WHERE h.bp_id=t.bp_id_tenant) bp_tenant_name,
(SELECT bp_name
(SELECT H.extra_nam FROM hls_bp_master h WHERE h.bp_id=t.bp_id_agent_level1) agent_extra_name,
FROM hls_bp_master h
to_char(t.lease_start_date, 'yyyy-mm-dd') lease_start_date,
WHERE h.bp_id = t.bp_id_tenant) bp_tenant_name,
(SELECT H.extra_nam
FROM hls_bp_master h
WHERE h.bp_id =
t.bp_id_agent_level1) agent_extra_name,
to_char(t.lease_start_date,
'yyyy-mm-dd') lease_start_date,
ccli.machine_number,
ccli.machine_number,
ccli.modelcd,
ccli.modelcd,
( ccc.times||(SELECT ci.description FROM hls_cashflow_item ci WHERE ci.cf_item=ccc.cf_item) )
times,
ccc.
times,
to_char(ccc.due_date, 'yyyy-mm-dd') due_date,
to_char(ccc.due_date, 'yyyy-mm-dd') due_date,
(NVL(t.int_rate_display, 0) * 100 || '%') int_rate_display, --利率
(NVL(t.int_rate_display, 0) * 100 ||
'%') int_rate_display,
--利率
--应收款金额
--应收款金额
(ccc.due_amount - NVL((SELECT SUM(cwo.write_off_due_amount) FROM csh_transaction t,csh_write_off cwo
(ccc.due_amount - NVL((SELECT SUM(cwo.write_off_due_amount)
WHERE cwo.cashflow_id=ccc.cashflow_id
FROM csh_transaction t, csh_write_off cwo
AND t.transaction_id=cwo.csh_transaction_id
WHERE cwo.cashflow_id = ccc.cashflow_id
AND NVL(cwo.reversed_flag,'N')='N'
AND t.transaction_id = cwo.csh_transaction_id
AND TRUNC(T.transaction_date) <=TRUNC(to_date(${@before_end},'yyyy-mm-dd'))),0))due_amount,
AND NVL(cwo.reversed_flag, 'N') = 'N'
AND TRUNC(T.transaction_date) <=
TRUNC(to_date(${@before_end}, 'yyyy-mm-dd'))),
0)) due_amount,
--已收款金额
--已收款金额
NVL((SELECT SUM(cwo.write_off_due_amount) FROM csh_transaction t,csh_write_off cwo
NVL((SELECT SUM(cwo.write_off_due_amount)
WHERE cwo.cashflow_id=ccc.cashflow_id
FROM csh_transaction t, csh_write_off cwo
AND t.transaction_id=cwo.csh_transaction_id
WHERE cwo.cashflow_id = ccc.cashflow_id
AND NVL(cwo.reversed_flag,'N')='N'
AND t.transaction_id = cwo.csh_transaction_id
AND TRUNC(T.transaction_date) >
= TRUNC(to_date(${@cur_begin},'yyyy-mm-dd'))
AND NVL(cwo.reversed_flag, 'N') = 'N'
AND TRUNC(T.transaction_date)
<
= TRUNC(to_date(${@cur_end},'yyyy-mm-dd'))
AND TRUNC(T.transaction_date) >
= TRUNC(to_date(${@cur_begin}, 'yyyy-mm-dd'))
),0) received_amount,
AND TRUNC(T.transaction_date)
<
= TRUNC(to_date(${@cur_end}, 'yyyy-mm-dd'))
),
0) received_amount,
--相减
--相减
--逾期日
--逾期日
(
(
CASE
CASE
WHEN (ccc.due_amount- NVL((SELECT SUM(cwo.write_off_due_amount) FROM csh_transaction t,csh_write_off cwo
WHEN (ccc.due_amount - NVL((SELECT SUM(cwo.write_off_due_amount)
WHERE cwo.cashflow_id=ccc.cashflow_id
FROM csh_transaction t, csh_write_off cwo
AND t.transaction_id=cwo.csh_transaction_id
WHERE cwo.cashflow_id = ccc.cashflow_id
AND NVL(cwo.reversed_flag,'N')='N'
AND t.transaction_id = cwo.csh_transaction_id
AND TRUNC(T.transaction_date)
<
= TRUNC(to_date(${@cur_end},'yyyy-mm-dd'))
AND NVL(cwo.reversed_flag, 'N') = 'N'
),0)) >0 THEN
AND TRUNC(T.transaction_date)
<
=
FLOOR(TO_date(${@cur_end},'yyyy-mm-dd')-ccc.due_date)
TRUNC(to_date(${@cur_end}, 'yyyy-mm-dd'))
), 0)) > 0
THEN
FLOOR(TO_date(${@cur_end}, 'yyyy-mm-dd') - ccc.due_date)
ELSE
ELSE
0
0
END
END
...
@@ -58,13 +75,20 @@
...
@@ -58,13 +75,20 @@
from csh_transaction tt
from csh_transaction tt
where tt.transaction_type = 'DEPOSIT'
where tt.transaction_type = 'DEPOSIT'
AND tt.deposit_trans_type = 'rent_deposit'
AND tt.deposit_trans_type = 'rent_deposit'
AND NVL(tt.reversed_flag,'N')='N'
AND NVL(tt.reversed_flag, 'N') = 'N'
and tt.ref_contract_id = T.contract_id),0) deposit_amount
and tt.ref_contract_id = T.contract_id), 0) deposit_amount,
t.is_buyout,
(Select v1.code_value_name
From sys_code_values_v v1
Where v1.code = 'YES_OR_NO'
And v1.code_enabled_flag = 'Y'
And v1.code_value_enabled_flag = 'Y'
and v1.CODE_VALUE = t.is_buyout) is_buyout_n
from con_contract_cashflow ccc,con_contract t,
con_contract_lease_item ccli
from con_contract_cashflow ccc, con_contract t,
con_contract_lease_item ccli
WHERE ccc.contract_id=
t.contract_id
WHERE ccc.contract_id =
t.contract_id
AND ccli.contract_id(+)=
t.contract_id
AND ccli.contract_id (+) =
t.contract_id
AND ccc.cf_item IN (1, 8, 200, 250)
AND ccc.cf_item IN (1, 8, 200, 250)
AND ccc.cf_status = 'RELEASE'
AND ccc.cf_status = 'RELEASE'
AND t.data_class = 'NORMAL'
AND t.data_class = 'NORMAL'
AND trunc(ccc.due_date)
<
=
AND trunc(ccc.due_date)
<
=
...
@@ -72,7 +96,7 @@ AND ccc.cf_item IN (1, 8, 200, 250)
...
@@ -72,7 +96,7 @@ AND ccc.cf_item IN (1, 8, 200, 250)
AND ((trunc(t.lease_start_date)
<
=
AND ((trunc(t.lease_start_date)
<
=
trunc(to_date(${@cur_end}, 'yyyy-mm-dd')) AND
trunc(to_date(${@cur_end}, 'yyyy-mm-dd')) AND
t.contract_status = 'INCEPT') OR
t.contract_status = 'INCEPT') OR
(
trunc(t.et_date) >= trunc(to_date(${@cur_begin}, 'yyyy-mm-dd')) AND
(
trunc(t.et_date) >= trunc(to_date(${@cur_begin}, 'yyyy-mm-dd')) AND
t.contract_status = 'TERMINATE'))
t.contract_status = 'TERMINATE'))
AND ccc.due_amount >
AND ccc.due_amount >
nvl((SELECT SUM(cwo.write_off_due_amount)
nvl((SELECT SUM(cwo.write_off_due_amount)
...
@@ -84,8 +108,7 @@ AND ccc.cf_item IN (1, 8, 200, 250)
...
@@ -84,8 +108,7 @@ AND ccc.cf_item IN (1, 8, 200, 250)
trunc
(to_date(${@cur_begin},
'yyyy-mm-dd'))),
trunc
(to_date(${@cur_begin},
'yyyy-mm-dd'))),
0)
0)
order
by
t.contract_id
order
by
t.contract_id
)
v
)
v
]]
></bm:query-sql>
]]
></bm:query-sql>
</bm:operation>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:operation
name=
"update"
>
...
@@ -115,11 +138,11 @@ AND ccc.cf_item IN (1, 8, 200, 250)
...
@@ -115,11 +138,11 @@ AND ccc.cf_item IN (1, 8, 200, 250)
<bm:field
name=
"unreceived_amount"
/>
<bm:field
name=
"unreceived_amount"
/>
<bm:field
name=
"overdue_days"
/>
<bm:field
name=
"overdue_days"
/>
<bm:field
name=
"deposit_amount"
/>
<bm:field
name=
"deposit_amount"
/>
<bm:field
name=
"is_buyout_n"
/>
</bm:fields>
</bm:fields>
<!-- <bm:query-fields>-->
<!-- <bm:query-fields>-->
<!-- <bm:query-field field="bp_id_tenant_n" queryExpression="t1.bp_id_tenant_n = ${@bp_id_tenant_n}"/>-->
<!-- <bm:query-field field="bp_id_tenant_n" queryExpression="t1.bp_id_tenant_n = ${@bp_id_tenant_n}"/>-->
<!-- <bm:query-field field="account_name" queryExpression="t1.account_name = ${@account_name}"/>-->
<!-- <bm:query-field field="account_name" queryExpression="t1.account_name = ${@account_name}"/>-->
<!-- <bm:query-field field="account_id_n" queryExpression="t1.account_id_n = ${@account_id_n}"/>-->
<!-- <bm:query-field field="account_id_n" queryExpression="t1.account_id_n = ${@account_id_n}"/>-->
<!-- </bm:query-fields>-->
<!-- </bm:query-fields>-->
</bm:model>
</bm:model>
src/main/webapp/WEB-INF/classes/rpt/RPT5012/rpt5012_result_query.lwm
View file @
1f64c16b
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/sys/
sys
999/fnd_interface_lines.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/fnd_interface_lines.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/fnd_interface_log.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/fnd_interface_log.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/fnd_transfer_table.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/fnd_transfer_table.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/general_init_columns.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/general_init_columns.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/general_sheets.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/general_sheets.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/get_fnd_interface_header_id.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/get_fnd_interface_header_id.lwm
View file @
1f64c16b
File moved
src/main/webapp/WEB-INF/classes/sys/
sys
999/main.lwm
→
src/main/webapp/WEB-INF/classes/sys/
SYS
999/main.lwm
View file @
1f64c16b
File moved
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
1f64c16b
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
if (record.get('secondary_lease') == 'YES') {
if (record.get('secondary_lease') == 'YES') {
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID_prompt').style.display = 'block';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID_prompt').style.display = 'block';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID').style.display = 'block';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID').style.display = 'block';
} else
if (record.get('secondary_lease') == 'NO')
{
} else
/*if (record.get('secondary_lease') == 'NO') */
{
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID_prompt').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID_prompt').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID').style.display = 'none';
document.getElementById('${/parameter/@layout_code}_F_BASIC_1_CON_CONTRACT_REPUR_CONTRACT_ID').style.display = 'none';
}
}
...
...
src/main/webapp/modules/rpt/RPT5012/rpt5012_repory_query.lview
View file @
1f64c16b
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
<a:column
name=
"bp_tenant_name"
align=
"center"
prompt=
"客户名称"
width=
"120"
/>
<a:column
name=
"bp_tenant_name"
align=
"center"
prompt=
"客户名称"
width=
"120"
/>
<a:column
name=
"contract_number"
align=
"center"
prompt=
"合同编号"
width=
"100"
/>
<a:column
name=
"contract_number"
align=
"center"
prompt=
"合同编号"
width=
"100"
/>
<a:column
name=
"lease_start_date"
align=
"center"
prompt=
"租赁期开始日"
width=
"80"
/>
<a:column
name=
"lease_start_date"
align=
"center"
prompt=
"租赁期开始日"
width=
"80"
/>
<a:column
name=
"is_buyout_n"
align=
"center"
prompt=
"是否买断机"
width=
"100"
/>
<a:column
name=
"modelcd"
align=
"center"
prompt=
" 机型"
width=
"180"
/>
<a:column
name=
"modelcd"
align=
"center"
prompt=
" 机型"
width=
"180"
/>
<a:column
name=
"machine_number"
align=
"center"
prompt=
"机器号码"
width=
"80"
/>
<a:column
name=
"machine_number"
align=
"center"
prompt=
"机器号码"
width=
"80"
/>
<a:column
name=
"int_rate_display"
align=
"center"
prompt=
"利率"
width=
"80"
/>
<a:column
name=
"int_rate_display"
align=
"center"
prompt=
"利率"
width=
"80"
/>
...
@@ -59,6 +60,7 @@
...
@@ -59,6 +60,7 @@
<a:column
name=
"bp_tenant_name"
align=
"center"
prompt=
"客户名称"
width=
"120"
/>
<a:column
name=
"bp_tenant_name"
align=
"center"
prompt=
"客户名称"
width=
"120"
/>
<a:column
name=
"contract_number"
align=
"center"
prompt=
"合同编号"
width=
"100"
/>
<a:column
name=
"contract_number"
align=
"center"
prompt=
"合同编号"
width=
"100"
/>
<a:column
name=
"lease_start_date"
align=
"center"
prompt=
"租赁期开始日"
width=
"80"
/>
<a:column
name=
"lease_start_date"
align=
"center"
prompt=
"租赁期开始日"
width=
"80"
/>
<a:column
name=
"is_buyout_n"
align=
"center"
prompt=
"是否买断机"
width=
"100"
/>
<a:column
name=
"modelcd"
align=
"center"
prompt=
" 机型"
width=
"180"
/>
<a:column
name=
"modelcd"
align=
"center"
prompt=
" 机型"
width=
"180"
/>
<a:column
name=
"machine_number"
align=
"center"
prompt=
"机器号码"
width=
"80"
/>
<a:column
name=
"machine_number"
align=
"center"
prompt=
"机器号码"
width=
"80"
/>
<a:column
name=
"int_rate_display"
align=
"center"
prompt=
"利率"
width=
"80"
/>
<a:column
name=
"int_rate_display"
align=
"center"
prompt=
"利率"
width=
"80"
/>
...
...
src/main/webapp/modules/sys/SYS999/general_dynamic_grid.lview
View file @
1f64c16b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<a:model-query
fetchAll=
"true"
model=
"sys.SYS999.fnd_transfer_table"
rootPath=
"gerneral_cols"
/>
<a:model-query
fetchAll=
"true"
model=
"sys.SYS999.fnd_transfer_table"
rootPath=
"gerneral_cols"
/>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
<script>
<![CDATA[
/* window['${/parameter/@sheet_name}_indexchange_fun'] = function(ds,record){
/* window['${/parameter/@sheet_name}_indexchange_fun'] = function(ds,record){
var line_id = record.get('line_id');
var line_id = record.get('line_id');
$('general_error_mes_ds').setQueryParameter('line_id',line_id);
$('general_error_mes_ds').setQueryParameter('line_id',line_id);
...
...
src/main/webapp/modules/sys/SYS999/general_excel_execute.lview
View file @
1f64c16b
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"import_detail_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_import_detail.lview"
/>
<a:link
id=
"import_detail_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_import_detail.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script>
<![CDATA[
Leaf.post($('import_detail_link').getUrl()+'?header_id=${/parameter/@header_id}');
Leaf.post($('import_detail_link').getUrl()+'?header_id=${/parameter/@header_id}
&_csrf=${/session/@_csrf.token}
');
]]>
</script>
]]>
</script>
</a:view>
</a:view>
</a:screen>
</a:screen>
src/main/webapp/modules/sys/SYS999/general_import_detail.lview
View file @
1f64c16b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<a:view>
<a:view>
<a:link
id=
"general_confirm"
model=
"sys.SYS999.main"
modelaction=
"execute"
/>
<a:link
id=
"general_confirm"
model=
"sys.SYS999.main"
modelaction=
"execute"
/>
<a:link
id=
"general_import_upload_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_upload.lview"
/>
<a:link
id=
"general_import_upload_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_upload.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script>
<![CDATA[
var general_ds_list = []; //用于存放所有被加载的ds_id
var general_ds_list = []; //用于存放所有被加载的ds_id
function load_all_ds_list() {//加载所有的已打开的tab_ds
function load_all_ds_list() {//加载所有的已打开的tab_ds
...
@@ -81,8 +81,25 @@
...
@@ -81,8 +81,25 @@
$(ds_id).submit();
$(ds_id).submit();
}
}
}
}
function display_query(){
var err_flag= $('sy999_query_ds').getAt(0).get('err_flag');
for (var i = 0;i < general_ds_list.length;i++) {
var ds_id = general_ds_list[i].ds_id;
if (err_flag =='Y'){
$(ds_id).setQueryParameter('err_flag',err_flag);
}else{
$(ds_id).setQueryParameter('err_flag',null);
}
$(ds_id).query();
}
}
]]>
</script>
]]>
</script>
<a:dataSets>
<a:dataSets>
<a:dataSet
id=
"sy999_query_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"err_flag"
checkedValue=
"Y"
uncheckedValue=
"N"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"general_error_mes_ds"
model=
"sys.SYS999.fnd_interface_log"
/>
<a:dataSet
id=
"general_error_mes_ds"
model=
"sys.SYS999.fnd_interface_log"
/>
</a:dataSets>
</a:dataSets>
<a:screenBody>
<a:screenBody>
...
@@ -92,6 +109,13 @@
...
@@ -92,6 +109,13 @@
<a:gridButton
click=
"general_save"
text=
"保存"
/>
<a:gridButton
click=
"general_save"
text=
"保存"
/>
<a:gridButton
click=
"general_execute"
text=
"确认数据"
/>
<a:gridButton
click=
"general_execute"
text=
"确认数据"
/>
</a:screenTopToolbar>
</a:screenTopToolbar>
<a:hBox>
<a:checkBox
name=
"err_flag"
bindTarget=
"sy999_query_ds"
prompt=
"只显示错误"
>
<a:events>
<a:event
name=
"change"
handler=
"display_query"
/>
</a:events>
</a:checkBox>
</a:hBox>
<a:tabPanel
id=
"general_detail_tabpanel_id"
marginHeight=
"300"
marginWidth=
"50"
>
<a:tabPanel
id=
"general_detail_tabpanel_id"
marginHeight=
"300"
marginWidth=
"50"
>
<a:tabs>
<a:tabs>
<a:placeHolder
id=
"dynamic_tab"
/>
<a:placeHolder
id=
"dynamic_tab"
/>
...
...
src/main/webapp/modules/sys/SYS999/general_upload.lview
View file @
1f64c16b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<a:init-procedure/>
<a:init-procedure/>
<a:view>
<a:view>
<a:link
id=
"general_upload_excel_control_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_excel_execute.lview"
/>
<a:link
id=
"general_upload_excel_control_link"
url=
"${/request/@context_path}/modules/sys/SYS999/general_excel_execute.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script>
<![CDATA[
function saveClick() {
function saveClick() {
if (document.getElementById('general_importFile').value) {
if (document.getElementById('general_importFile').value) {
var fileName = document.getElementById('general_importFile').value;
var fileName = document.getElementById('general_importFile').value;
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
if (fileType != '.xls' && fileType != '.xlsx') {
if (fileType != '.xls' && fileType != '.xlsx') {
alert('请选择正确的导入文件!');
alert('请选择正确的导入文件!');
} else {
} else {
var detail_mask = $('upload_window').wrap;
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
document.getElementById('general_importForm').submit();
document.getElementById('general_importForm').submit();
}
}
}
}
...
@@ -34,7 +36,7 @@
...
@@ -34,7 +36,7 @@
<a:label
name=
"label6"
bindTarget=
"csh713_label_ds"
style=
"margin-left:10px;"
width=
"380"
/>
<a:label
name=
"label6"
bindTarget=
"csh713_label_ds"
style=
"margin-left:10px;"
width=
"380"
/>
</a:fieldSet>
</a:fieldSet>
<a:fieldSet
style=
"margin-left:10px;margin-top:10px;"
title=
"导入文件"
width=
"400"
>
<a:fieldSet
style=
"margin-left:10px;margin-top:10px;"
title=
"导入文件"
width=
"400"
>
<form
name=
"upload"
id=
"general_importForm"
action=
"general_excel_execute.lview"
enctype=
"multipart/form-data"
method=
"post"
>
<form
name=
"upload"
id=
"general_importForm"
action=
"general_excel_execute.lview
?_csrf=${/session/@_csrf.token}
"
enctype=
"multipart/form-data"
method=
"post"
>
<input
name=
"CONTENT"
id=
"general_importFile"
style=
"margin-bottom:4px;width:250px;height:22px;"
type=
"file"
/>
<input
name=
"CONTENT"
id=
"general_importFile"
style=
"margin-bottom:4px;width:250px;height:22px;"
type=
"file"
/>
<input
onclick=
"saveClick()"
style=
"margin-left:10px;margin-top:10px;width:60px;"
type=
"button"
value=
"导入"
/>
<input
onclick=
"saveClick()"
style=
"margin-left:10px;margin-top:10px;width:60px;"
type=
"button"
value=
"导入"
/>
</form>
</form>
...
...
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