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
59f0c380
Commit
59f0c380
authored
Dec 12, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】修改税额生成逻辑
parent
500d63c5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
acr_invoice_create_invoice.lview
...ebapp/modules/acr/ACR510/acr_invoice_create_invoice.lview
+22
-0
contract_penalty_reduction_maintain.lview
...es/cont/CON1020/contract_penalty_reduction_maintain.lview
+1
-1
contract_penalty_reduction_create.lview
...ules/cont/CON1021/contract_penalty_reduction_create.lview
+1
-1
No files found.
src/main/webapp/modules/acr/ACR510/acr_invoice_create_invoice.lview
View file @
59f0c380
...
...
@@ -48,6 +48,28 @@
{
Leaf.Masker.unmask(Ext.getBody());
return;
}
//判断本次开票金额是否为租金,本金,和利息之中某一个
var selectedDs=$('selectedDs').getAll();
for(var i=0;i
<selectedDs.length
;i++){
var
billing_amount=
selectedDs[i].get('billing_amount');
var
due_amount=
selectedDs[i].get('due_amount');
var
principal=
selectedDs[i].get('principal');
var
interest=
selectedDs[i].get('interest');
var
cf_billing_amount=
selectedDs[i].get('cf_billing_amount');
if(billing_amount!=due_amount
&&billing_amount!=principal
&&billing_amount!=interest){
$L.showErrorMessage("提示","本次开票金额需与应收金额,应收本金,应收利息中的某一金额一致!");
return;
}
if(
billing_amount=
=cf_billing_amount){
$L.showErrorMessage("提示","该金额已经开票过!");
return;
}
}
var
datas =
ds.getJsonData();
...
...
src/main/webapp/modules/cont/CON1020/contract_penalty_reduction_maintain.lview
View file @
59f0c380
...
...
@@ -273,7 +273,7 @@
var link_function = '';
window['${/parameter/@bp_seq}${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'function_tips') {
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');"
>
罚息
减免信息需要在测算后才展示
</a>
';
return '
<a
href=
"javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\');"
>
违约金
减免信息需要在测算后才展示
</a>
';
}
};
]]>
</script>
...
...
src/main/webapp/modules/cont/CON1021/contract_penalty_reduction_create.lview
View file @
59f0c380
...
...
@@ -61,7 +61,7 @@
param['case_status_submit'] = record.data.status;
param['maintain_type'] = 'INSERT';
param['record_id'] = record.data.record_id;
param['url_title'] = '
罚息
减免维护';
param['url_title'] = '
违约金
减免维护';
param['winid'] = '${/parameter/@layout_code}_maintain_win_id'
hls_doc_get_layout_code('${/parameter/@layout_code}_con_contract_get_layout_code_link_id', param, '${/parameter/@layout_code}_contract_penalty_modify_link', ds_id);
}
...
...
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