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
973a194a
Commit
973a194a
authored
Mar 28, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金政策(进项发票导入开发)
parent
26572080
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
1 deletion
+48
-1
layout_config.js
...ebapp/WEB-INF/server-script/layoutconfig/layout_config.js
+4
-1
ap_invoice_com_detail.lview
...ain/webapp/modules/acp/ACP522/ap_invoice_com_detail.lview
+8
-0
ap_invoice_import.lview
src/main/webapp/modules/acp/ACP522/ap_invoice_import.lview
+36
-0
No files found.
src/main/webapp/WEB-INF/server-script/layoutconfig/layout_config.js
View file @
973a194a
...
@@ -349,5 +349,8 @@ var enableLayoutConfig = {
...
@@ -349,5 +349,8 @@ var enableLayoutConfig = {
'modules/csh/CSH1500/csh_asset_reconciliation.lview'
:
true
,
'modules/csh/CSH1500/csh_asset_reconciliation.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_create_entrance.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_create_entrance.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_req.lview'
:
true
,
'modules/csh/CSH501C/csh_payment_asset_req.lview'
:
true
,
'modules/cont/CON1370/con_asset_fee_detail.lview'
:
true
'modules/cont/CON1370/con_asset_fee_detail.lview'
:
true
,
'modules/hls/HLS303/bp_agent_bounty_create.lview'
:
true
,
'modules/hls/HLS303/bp_agent_bounty_detail.lview'
:
true
,
'modules/acp/ACP522/ap_invoice_com_detail.lview'
:
true
};
};
\ No newline at end of file
src/main/webapp/modules/acp/ACP522/ap_invoice_com_detail.lview
0 → 100644
View file @
973a194a
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:view>
<script>
<![CDATA[
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
\ No newline at end of file
src/main/webapp/modules/acp/ACP522/ap_invoice_import.lview
View file @
973a194a
...
@@ -6,10 +6,14 @@
...
@@ -6,10 +6,14 @@
modelaction=
"update"
/>
modelaction=
"update"
/>
<a:link
id=
"ap_invoice_import_detail_link"
<a:link
id=
"ap_invoice_import_detail_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail.lview"
/>
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail.lview"
/>
<a:link
id=
"ap_invoice_com_detail_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_com_detail.lview"
/>
<a:link
id=
"ap_invoice_import_detail_wfl_link"
<a:link
id=
"ap_invoice_import_detail_wfl_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail_wfl.lview"
/>
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail_wfl.lview"
/>
<a:link
id=
"ap_invoice_import_scanning_link"
<a:link
id=
"ap_invoice_import_scanning_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_scanning.lview"
/>
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_scanning.lview"
/>
<a:link
id=
"ap_invoice_detail_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_detail.lview"
/>
<script>
<![CDATA[
<script>
<![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
var url = $('ap_invoice_import_scanning_link').getUrl();
var url = $('ap_invoice_import_scanning_link').getUrl();
...
@@ -30,6 +34,12 @@
...
@@ -30,6 +34,12 @@
if(name == 'contract_number'){
if(name == 'contract_number'){
return '<a href="javascript:ap_invoice_import_detail(\'' + record.id + '\',\'' + record.ds.id + '\');">
' + value + '
</a>
';
return '<a href="javascript:ap_invoice_import_detail(\'' + record.id + '\',\'' + record.ds.id + '\');">
' + value + '
</a>
';
}
}
if (name == 'items') {
return '
<a
href=
"javascript:ap_invoice_detail(\'' + record.id + '\',\'' + record.ds.id + '\',\'' +record.get('payment_req_id') + '\');"
>
' + value + '
</a>
';
}
if(name == 'com_amount'){
return '
<a
href=
"javascript:ap_invoice_com_detail(\'' + record.id + '\',\'' + record.ds.id + '\',\'' +record.get('payment_req_id') + '\');"
>
' + value + '
</a>
';
}
};
};
function ap_invoice_import_detail(record_id,ds_id){
function ap_invoice_import_detail(record_id,ds_id){
...
@@ -48,6 +58,32 @@
...
@@ -48,6 +58,32 @@
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id', param, 'ap_invoice_import_detail_link', ds_id,'AP_INVOICE_IMPORT_DETAIL');
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id', param, 'ap_invoice_import_detail_link', ds_id,'AP_INVOICE_IMPORT_DETAIL');
}
}
function ap_invoice_detail(record_id, ds_id,payment_req_id) {
debugger;
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_usage'] = 'QUERY';
param['function_code'] = 'ACP522_DETAIL';
param['payment_req_id'] = payment_req_id;
param['url_title'] = '进项发票详情';
// param['invoice_number'] = record.get('invoice_number');
// param['asset_number'] = record.get('asset_number');
// param['asset_money'] = record.get('asset_money');
// param['items'] = record.get('items');
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id',param,'ap_invoice_detail_link', ds_id,'AP_INVOICE_DETAILS');
}
//佣金政策
function ap_invoice_com_detail(record_id, ds_id,payment_req_id) {
debugger;
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_usage'] = 'QUERY';
param['function_code'] = 'ACP522_COM';
param['payment_req_id'] = payment_req_id;
param['url_title'] = '进项发票详情';
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id',param,'ap_invoice_com_detail_link', ds_id,'AP_INVOICE_COM_DETAIL');
}
...
...
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