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
56a87036
Commit
56a87036
authored
Nov 07, 2019
by
stone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/hlcm/leaf-hlcm
into develop
parents
eda945ec
9edb91d9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
12 deletions
+40
-12
ap_invoice_import.lview
src/main/webapp/modules/acp/ACP522/ap_invoice_import.lview
+15
-2
ap_invoice_confirm.lview
src/main/webapp/modules/acp/ACP523/ap_invoice_confirm.lview
+17
-1
acr_invoice_condition_n.lview
.../webapp/modules/acr/ACR510N/acr_invoice_condition_n.lview
+0
-1
acr_invoice_update_query.lview
.../webapp/modules/acr/ACR512/acr_invoice_update_query.lview
+7
-7
acr_invoice_claim_confirm.lview
...webapp/modules/acr/ACR517/acr_invoice_claim_confirm.lview
+1
-1
No files found.
src/main/webapp/modules/acp/ACP522/ap_invoice_import.lview
View file @
56a87036
...
...
@@ -4,20 +4,33 @@
<a:view>
<a:link
id=
"hn9040_project_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"ap_invoice_import_detail_link"
url=
"${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail.lview"
/>
<script>
<![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
};
function ap_invoice_import_detail(){
var param = {};
param['function_code'] = 'ACP522I';
param['function_usage'] = 'MODIFY';
param['maintain_type'] = 'UPDATE';
param['url_title'] = '进项发票导入';
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id', param, 'ap_invoice_import_detail_link');
}
//超链接渲染
window['${/parameter/@bp_seq}${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record, bp_seq) {
//
var link_function = '';
var invoice_line_id = record.get('invoice_line_id');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') {
return '<a href="javascript:attachment_window_open(\'' + invoice_line_id + '\',\'' + record.id + '\',\'' + record.ds.id + '\');">
' + '上传' + '
</a>
';
}
if(name == 'contract_number'){
return '
<a
href=
"javascript:ap_invoice_import_detail(\'' + invoice_line_id + '\',\'' + record.id + '\',\'' + record.ds.id + '\');"
>
' + value + '
</a>
';
}
};
]]>
</script>
...
...
src/main/webapp/modules/acp/ACP523/ap_invoice_confirm.lview
View file @
56a87036
...
...
@@ -4,9 +4,25 @@
<a:view>
<a:link
id=
"hn9040_project_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"ap_invoice_confirm_link"
model=
"acp.ACP523.ap_invoice_confirm"
modelaction=
"update"
/>
<script>
<![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
Leaf.request({
url: $('ap_invoice_confirm_link').getUrl(),
scope: this,
success: function (res) {
if (res.result.record) {
var datas = res.result.record.overdue_amount;
$jq("#con-overdue-week").append(formatCurrency(datas));
} else {
$jq("#con-overdue-week").append('¥3400.00');
}
}
})
};
//超链接渲染
window['${/parameter/@bp_seq}${/parameter/@layout_code}_dynamic_link_renderer'] = function (value, record, name, config_record, bp_seq) {
...
...
src/main/webapp/modules/acr/ACR510N/acr_invoice_condition_n.lview
View file @
56a87036
...
...
@@ -109,7 +109,6 @@
winNoMask();
return;
}
debugger
var datas = ds.getJsonData(true);
for (var i = 0; i < datas.length; i++) {
datas[i].final_bill_flag = final_bill_flag;
...
...
src/main/webapp/modules/acr/ACR512/acr_invoice_update_query.lview
View file @
56a87036
src/main/webapp/modules/acr/ACR517/acr_invoice_claim_confirm.lview
View file @
56a87036
...
...
@@ -23,7 +23,7 @@
Leaf.request({
url: $("bmLink_acr_invoice_claim_confirm").getUrl(),
para: {
invoice_hd_id:invoice_hd_id
,
invoice_hd_id:invoice_hd_id
},
success:function(){
Leaf.SideBar.show({
...
...
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