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
545bdf34
Commit
545bdf34
authored
Dec 28, 2022
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改茂甲销项税发票邮件发送逻辑
parent
b429cede
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
acr_invoice_claim_application.lview
...pp/modules/acr/ACR516/acr_invoice_claim_application.lview
+16
-10
acr_invoice_claim_confirm.lview
...webapp/modules/acr/ACR517/acr_invoice_claim_confirm.lview
+12
-11
No files found.
src/main/webapp/modules/acr/ACR516/acr_invoice_claim_application.lview
View file @
545bdf34
...
...
@@ -92,19 +92,25 @@
Leaf.showMessage('提示','请勾选认领状态为已确认的单据');
return;
}
if(records[i].get('invoice_type')
!=
'ECT'){
//18083
2022/11/24
if(records[i].get('invoice_kind_type')
!=
'ELECTRONIC_GENERAL'
&&
records[i].get('invoice_kind_type')
!=
'ELECTRONIC_SPECIAL'){
Leaf.showMessage('提示','请勾选电子发票进行发送');
return;
}
if(records[i].get('division')
==
'70'){
if(!r_map.has(records[i].get('bp_id_agent_level1'))){
var
arr =
new
Array();
arr.add(records[i].get('invoice_hd_id'));
r_map.set(records[i].get('bp_id_agent_level1'),arr);
}else{
r_map.get(records[i].get('bp_id_agent_level1')).add(records[i].get('invoice_hd_id'));
}
}
else
if(!r_map.has(records[i].get('invoice_bp_id'))){
//
if(records[i].get('invoice_type')
!=
'ECT'){
//Leaf.showMessage('提示','请勾选电子发票进行发送');
//return;
//}
//if(records[i].get('division')
==
'70'){
//
if(!r_map.has(records[i].get('bp_id_agent_level1'))){
//var
arr =
new
Array();
//
arr.add(records[i].get('invoice_hd_id'));
//
r_map.set(records[i].get('bp_id_agent_level1'),arr);
//
}else{
//
r_map.get(records[i].get('bp_id_agent_level1')).add(records[i].get('invoice_hd_id'));
//}
//}
else
if(!r_map.has(records[i].get('invoice_bp_id'))){
var
arr =
new
Array();
arr.add(records[i].get('invoice_hd_id'));
r_map.set(records[i].get('invoice_bp_id'),arr);
...
...
src/main/webapp/modules/acr/ACR517/acr_invoice_claim_confirm.lview
View file @
545bdf34
...
...
@@ -43,7 +43,6 @@
// $('acr517_invoice_result_ds').setSubmitUrl('${/request/@context_path}/autocrud/acr.ACR605.acr_invoice_claim_confirm_new/batch_update');
var records=$('acr517_invoice_result_ds').getSelected();
debugger;
var datas = [];
var r_map = new Map();
for (var i = 0;i
< records.length
;i++)
{
...
...
@@ -51,15 +50,17 @@
'invoice_hd_id':records[i].get('invoice_hd_id'),
'_status':
'update'
})
if(records[i].get('division')
==
'70'){
if(!r_map.has(records[i].get('bp_id_agent_level1'))){
var
arr =
new
Array();
arr.add(records[i].get('invoice_hd_id'));
r_map.set(records[i].get('bp_id_agent_level1'),arr);
}else{
r_map.get(records[i].get('bp_id_agent_level1')).add(records[i].get('invoice_hd_id'));
}
}
else
if(records[i].get('invoice_type')
==
'ECT'){
//铁甲业务去掉特殊处理,与非铁甲业务保持一致
18083
2022/12/8
//if(records[i].get('division')
==
'70'){
//
if(!r_map.has(records[i].get('bp_id_agent_level1'))){
//
var
arr =
new
Array();
//
arr.add(records[i].get('invoice_hd_id'));
//
r_map.set(records[i].get('bp_id_agent_level1'),arr);
//
}else{
//
r_map.get(records[i].get('bp_id_agent_level1')).add(records[i].get('invoice_hd_id'));
//
}
//
}
else
if(records[i].get('invoice_type')
==
'ECT'){
if(records[i].get('invoice_kind_type')
==
'ELECTRONIC_GENERAL'
||
records[i].get('invoice_kind_type')
==
'ELECTRONIC_SPECIAL'){
if(!r_map.has(records[i].get('invoice_bp_id'))){
var
arr =
new
Array();
arr.add(records[i].get('invoice_hd_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