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
a5ce913e
Commit
a5ce913e
authored
Jan 08, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对销项发票反冲流程添加附件上传功能
parent
916d7750
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
0 deletions
+57
-0
acr_invoice_reverse_apply_temp_detail.lview
...es/acr/ACR514/acr_invoice_reverse_apply_temp_detail.lview
+19
-0
acr_invoice_reverse_apply_detail.lview
...modules/acr/ACR620/acr_invoice_reverse_apply_detail.lview
+19
-0
acr_invoice_reverse_apply_detail_wfl.lview
...les/acr/ACR620/acr_invoice_reverse_apply_detail_wfl.lview
+19
-0
No files found.
src/main/webapp/modules/acr/ACR514/acr_invoice_reverse_apply_temp_detail.lview
View file @
a5ce913e
...
...
@@ -20,6 +20,7 @@
<a:link
id=
"acr620_invoice_reverse_save_link"
model=
"acr.ACR610.acr_invoice_apply_query"
modelaction=
"update"
/>
<a:link
id=
"acr514_update_for_save_id"
url=
"${/request/@context_path}/modules/acr/ACR512/acr_invoice_update_for_submit.lsc"
/>
<a:link
id=
"attach_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<script>
<![CDATA[
function lock_current_detail_window() {
Leaf.Masker.mask($('${/parameter/@winId}').wrap, '${l:HLS.EXECUTING}');
...
...
@@ -267,6 +268,23 @@
}
}
function
attachment_renderer(value,
record,
name)
{
debugger;
return
'<a
href=
"javascript:open_attachment_window(\'' + record.get('invoice_hd_id') + '\',\'' + record.ds.id + '\')"
>
' + '附件' + '
</a>
';
}
function open_attachment_window(record) {
debugger;
var url = $('attach_uploadFile_id').getUrl() + '?table_name=ACR_INVOICE_REVERSE
&
header_id=' + record;
var win = new Leaf.Window({
url: url,
title: '附件',
id: 'acr_invoice_id',
width: 850,
height: 400
});
}
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:dataSets>
...
...
@@ -344,6 +362,7 @@
width=
"95"
/>
<a:column
name=
"claim_status_n"
prompt=
"认领状态"
width=
"85"
align=
"center"
/>
<a:column
name=
"reversed_flag_n"
prompt=
"反冲标志"
align=
"center"
width=
"80"
/>
<a:column
name=
"file_name"
prompt=
"附件"
renderer=
"attachment_renderer"
align=
"center"
width=
"80"
/>
</a:columns>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/acr/ACR620/acr_invoice_reverse_apply_detail.lview
View file @
a5ce913e
...
...
@@ -11,6 +11,8 @@
<a:link
id=
"acr620_invoice_reverse_detail_link"
url=
"${/request/@context_path}/modules/acr/ACR610/acr_invoice_detail_readonly.lview"
/>
<a:link
id=
"acr620_detail_submit_link"
model=
"acr.ACR620.acr_invoice_reverse_apply_detail"
modelaction=
"execute"
/>
<a:link
id=
"acr620_invoice_reverse_save_link"
model=
"acr.ACR610.acr_invoice_apply_query"
modelaction=
"update"
/>
<a:link
id=
"attach_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<script>
<![CDATA[
function lock_current_detail_window() {
...
...
@@ -110,6 +112,11 @@
}
}
function attachment_renderer(value, record, name) {
debugger;
return '
<a
href=
"javascript:open_attachment_window(\'' + record.get('invoice_hd_id') + '\',\'' + record.ds.id + '\')"
>
' + '附件' + '
</a>
';
}
function acr620_detail_formatMoney(value, record, name) {
return Leaf.formatNumber(value);
}
...
...
@@ -122,6 +129,17 @@
ds.data[0].getField('reverse_method_n').setReadOnly(true);
}
}
function open_attachment_window(record) {
debugger;
var url = $('attach_uploadFile_id').getUrl() + '?table_name=ACR_INVOICE_REVERSE
&
header_id=' + record;
var win = new Leaf.Window({
url: url,
title: '附件',
id: 'acr_invoice_id',
width: 850,
height: 400
});
}
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:dataSets>
...
...
@@ -184,6 +202,7 @@
<a:column
name=
"accounting_date"
prompt=
"记账日期"
renderer=
"Leaf.formatDate"
align=
"center"
width=
"100"
/>
<a:column
name=
"claim_status_n"
prompt=
"认领状态"
width=
"85"
align=
"center"
/>
<a:column
name=
"reversed_flag_n"
prompt=
"反冲标志"
align=
"center"
width=
"80"
/>
<a:column
name=
"file_name"
prompt=
"附件"
renderer=
"attachment_renderer"
align=
"center"
width=
"80"
/>
</a:columns>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/acr/ACR620/acr_invoice_reverse_apply_detail_wfl.lview
View file @
a5ce913e
...
...
@@ -10,6 +10,7 @@
<a:link
id=
"acr_invoice_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"acr620_invoice_reverse_detail_link"
url=
"${/request/@context_path}/modules/acr/ACR610/acr_invoice_detail_readonly.lview"
/>
<a:link
id=
"acr620_detail_submit_link"
model=
"acr.ACR620.acr_invoice_reverse_apply_detail"
modelaction=
"batch_update"
/>
<a:link
id=
"attach_downFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<script>
<![CDATA[
function lock_current_window() {
...
...
@@ -43,6 +44,23 @@
}
}
function attachment_renderer(value, record, name) {
debugger;
return '
<a
href=
"javascript:open_attachment_window(\'' + record.get('invoice_hd_id') + '\',\'' + record.ds.id + '\')"
>
' + '附件' + '
</a>
';
}
function open_attachment_window(record) {
debugger;
var url = $('attach_downFile_id').getUrl() + '?table_name=ACR_INVOICE_REVERSE
&
header_id=' + record;
var win = new Leaf.Window({
url: url,
title: '附件',
id: 'acr_invoice_id',
width: 850,
height: 400
});
}
function acr620_detail_formatMoney(value, record, name) {
return Leaf.formatNumber(value);
}
...
...
@@ -180,6 +198,7 @@
<a:column
name=
"accounting_date"
prompt=
"记账日期"
renderer=
"Leaf.formatDate"
align=
"center"
width=
"100"
/>
<a:column
name=
"claim_status_n"
prompt=
"认领状态"
width=
"85"
align=
"center"
/>
<a:column
name=
"reversed_flag_n"
prompt=
"反冲标志"
align=
"center"
width=
"80"
/>
<a:column
name=
"file_name"
prompt=
"附件"
renderer=
"attachment_renderer"
align=
"center"
width=
"80"
/>
</a:columns>
</a:grid>
</a:case>
...
...
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