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
e1c668ad
Commit
e1c668ad
authored
Sep 10, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-09-10 采购发票录入发票总金额,系统自动核销采购收货明细,按照相同供应商、从最早日期往后自动核销
parent
c1c9904b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
HGCG003B.java
src/main/java/com/baosight/hggp/hg/cg/domain/HGCG003B.java
+1
-1
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+6
-2
No files found.
src/main/java/com/baosight/hggp/hg/cg/domain/HGCG003B.java
View file @
e1c668ad
...
...
@@ -163,7 +163,7 @@ public class HGCG003B extends DaoEPBase {
private
Integer
isInvoicing
=
0
;
/* 是否开票 0否 1是*/
private
String
projCode
=
" "
;
/* 项目编码*/
private
String
projName
=
" "
;
/* 项目名称*/
private
Integer
calculationMethod
;
/* 计算方式 0-数量乘单价 1-重量乘单价*/
private
Integer
calculationMethod
=
0
;
/* 计算方式 0-数量乘单价 1-重量乘单价*/
private
BigDecimal
cancelAmount
=
new
BigDecimal
(
"0"
);
/* 核销金额*/
private
BigDecimal
unCancelAmount
=
new
BigDecimal
(
"0"
);
/* 未核销金额*/
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
e1c668ad
...
...
@@ -178,13 +178,17 @@ public class ServiceHGCW012 extends ServiceBase {
hgcg003B
.
setIsInvoicing
(
HGConstant
.
CgIsInvoicing
.
S_0
);
flag
=
false
;
}
//跟新采购收票状态
if
(
ObjectUtils
.
isEmpty
(
hgcg003B
.
getCalculationMethod
())){
hgcg003B
.
setCalculationMethod
(
0
);
}
DaoUtils
.
update
(
HGCG003B
.
UPDATE
,
hgcg003B
);
hgcw013
.
setTaxPoints
(
hgcw012
.
getTaxPoints
());
hgcw013
.
setThisSettlementTax
(
String
.
valueOf
(
thisSettlementTax
));
//税额
hgcw013
.
setThisSettlementAmount
(
String
.
valueOf
(
thisSettlementAmount
));
//不含税金额
DaoUtils
.
insert
(
HGCW013
.
INSERT
,
hgcw013
);
//跟新采购收票状态
DaoUtils
.
update
(
HGCG003B
.
UPDATE
,
hgcg003B
);
if
(!
flag
){
break
;
}
...
...
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