Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
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
platform
hg-smart
Commits
f1a460cc
Commit
f1a460cc
authored
Oct 31, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产领料剩余金额根据含税金额相减
parent
9086bb1f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+2
-2
HGCW012A.js
src/main/webapp/HG/CW/HGCW012A.js
+9
-1
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
f1a460cc
...
...
@@ -444,10 +444,10 @@ public class ServiceHGCW012 extends ServiceBase {
if
(
hgcg003B
.
getInvoiceRemainingAmount
().
compareTo
(
BigDecimal
.
ZERO
)
>
0
){
paramMap
.
put
(
HGCG003B
.
FIELD_INVOICE_REMAINING_AMOUNT
,
hgcg003B
.
getInvoiceRemainingAmount
().
subtract
(
hgcw013
.
getSaveInvoiceAmount
()));
}
else
{
paramMap
.
put
(
HGCG003B
.
FIELD_INVOICE_REMAINING_AMOUNT
,
hgcg003B
.
getAmount
().
subtract
(
hgcw013
.
getSaveInvoiceAmount
()));
paramMap
.
put
(
HGCG003B
.
FIELD_INVOICE_REMAINING_AMOUNT
,
hgcg003B
.
get
TaxInclude
Amount
().
subtract
(
hgcw013
.
getSaveInvoiceAmount
()));
}
//收货金额等于开票金额
if
(
hgcg003B
.
getAmount
().
compareTo
(
hgcg003B
.
getInvoiceAmount
().
add
(
hgcw013
.
getSaveInvoiceAmount
()))
==
0
){
if
(
hgcg003B
.
get
TaxInclude
Amount
().
compareTo
(
hgcg003B
.
getInvoiceAmount
().
add
(
hgcw013
.
getSaveInvoiceAmount
()))
==
0
){
paramMap
.
put
(
HGCG003B
.
FIELD_IS_INVOICING
,
HGConstant
.
CgIsInvoicing
.
S_1
);
}
}
...
...
src/main/webapp/HG/CW/HGCW012A.js
View file @
f1a460cc
...
...
@@ -323,6 +323,14 @@ $(function () {
align
:
"right"
,
enable
:
false
,
locked
:
false
},{
field
:
"taxIncludeAmount"
,
title
:
"含税金额"
,
headerTemplate
:
"<span style='color: '>含税金额 </span>"
,
format
:
"{0:C2}"
,
align
:
"right"
,
enable
:
false
,
locked
:
false
},
{
field
:
"thisSettlementAmount"
,
...
...
@@ -419,7 +427,7 @@ $(function () {
locked
:
false
,
template
:
function
(
item
)
{
if
(
item
.
isInvoicing
==
0
&&
item
.
invoiceRemainingAmount
==
0
){
item
.
invoiceRemainingAmount
=
item
.
a
mount
;
item
.
invoiceRemainingAmount
=
item
.
taxIncludeA
mount
;
}
return
kendo
.
format
(
"{0:N2}"
,
parseFloat
(
item
.
invoiceRemainingAmount
));
}
...
...
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