Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
e6acd2a9
Commit
e6acd2a9
authored
May 25, 2022
by
季圣华
Browse files
增加盘点单据状态变化的逻辑
parent
5092120c
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java
View file @
e6acd2a9
...
...
@@ -550,9 +550,10 @@ public class DepotItemService {
//更新当前库存
updateCurrentStock
(
depotItem
);
}
//如果关联单据号非空则更新订单的状态,单据类型:采购入库单或销售出库单
//如果关联单据号非空则更新订单的状态,单据类型:采购入库单或销售出库单
或盘点复盘单
if
(
BusinessConstants
.
SUB_TYPE_PURCHASE
.
equals
(
depotHead
.
getSubType
())
||
BusinessConstants
.
SUB_TYPE_SALES
.
equals
(
depotHead
.
getSubType
()))
{
||
BusinessConstants
.
SUB_TYPE_SALES
.
equals
(
depotHead
.
getSubType
())
||
BusinessConstants
.
SUB_TYPE_REPLAY
.
equals
(
depotHead
.
getSubType
()))
{
if
(
StringUtil
.
isNotEmpty
(
depotHead
.
getLinkNumber
()))
{
//单据状态:是否全部完成 2-全部完成 3-部分完成(针对订单的分批出入库)
String
billStatus
=
getBillStatusByParam
(
depotHead
);
...
...
Write
Preview
Supports
Markdown
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