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
d3a1136d
Commit
d3a1136d
authored
Mar 16, 2023
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签约前变更
parent
366f4419
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
acr_invoice_update_query.lview
.../webapp/modules/acr/ACR512/acr_invoice_update_query.lview
+14
-8
No files found.
src/main/webapp/modules/acr/ACR512/acr_invoice_update_query.lview
View file @
d3a1136d
...
...
@@ -117,7 +117,7 @@
function acr512_grid_update(record_id, invoice_hd_id) {
var maintain_type = 'UPDATE';
var currency_reocrd = $('acr512_invoice_result_ds').findById(re
co
rd_id);
var currency_reocrd = $('acr512_invoice_result_ds').findById(re
oc
rd_id);
var param = currency_reocrd.data;
param['function_code'] = 'ACR512';
param['winid'] = 'confirm_invoice_win';
...
...
@@ -252,9 +252,9 @@
var
saveData =
[];
var
invoice_hd_ids =
''
;
var
invoice_kind =
records[0].get('invoice_kind');
var
invoice_type =
records[0].get('invoice_type');
var
invoice_kind_type =
records[0].get('invoice_kind_type
');
var
full_elec_invoice_flag =
records[0].get('full_elec_invoice_flag');
var
invoice_type =
records[0].get('invoice_type');
var
full_elec_invoice_flag =
records[0].get('full_elec_invoice_flag
');
debugger
for
(var
i =
0;
i
<
records.length;
i++)
{
var
invoice_status =
records[i].get('invoice_status');
if
(invoice_status
!=
'NEW'
&&
invoice_status
!=
'REJECT')
{
...
...
@@ -262,14 +262,20 @@
return;
}
if(invoice_kind
!=
records[i].get('invoice_kind')){
$L.showErrorMessage("提示",
'普票和专票不能同时勾选!');
return;
if(
invoice_kind=
='RECEIPT'
||
records[i].get('invoice_kind')=='RECEIPT'){
$L.showErrorMessage("提示",
'收据和其它发票不能同时勾选!');
return;
}else{
$L.showErrorMessage("提示",
'普票和专票不能同时勾选!');
return;
}
}
if(invoice_kind_type
!=
records[i].get('invoice_kind
_type')){
if(invoice_type
!=
records[i].get('invoice
_type')){
$L.showErrorMessage("提示",
'纸质发票与电子发票不能同时勾选!');
return;
}
if(full_elec_invoice_flag
!=
records[i].get('full_elec_invoice_flag')){
if(full_elec_invoice_flag
!=
records[i].get('full_elec_invoice_flag')){
$L.showErrorMessage("提示",
'全电发票与非全电发票不能同时勾选!');
return;
}
...
...
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