Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
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
胡懿
warehouse
Commits
d84ac9c2
Commit
d84ac9c2
authored
Jun 20, 2023
by
胡懿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'hy' and 'master' of 47.92.228.5:huyi/warehouse into hy
parents
dc1c0266
52150825
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
ProfitWarehousingService.java
...e/profitwarehousing/service/ProfitWarehousingService.java
+8
-1
storageDetail.jsp
...ebapp/webpage/modules/warehouse/storage/storageDetail.jsp
+7
-3
No files found.
src/main/java/com/jeeplus/modules/warehouse/profitwarehousing/service/ProfitWarehousingService.java
View file @
d84ac9c2
...
...
@@ -8,6 +8,7 @@ import java.io.IOException;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Objects
;
import
com.jeeplus.common.config.Global
;
import
com.jeeplus.common.utils.io.FileUtil
;
...
...
@@ -166,7 +167,13 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
}
else
{
profitWarehousingInfo
.
preUpdate
();
profitWarehousingInfoMapper
.
update
(
profitWarehousingInfo
);
cleanQr
(
profitWarehousingInfo
.
getId
());
}
if
(
profitWarehousingInfo
.
getQrCode
()!=
null
){
//已入库的不修改
if
(!
Objects
.
equals
(
profitWarehousingInfo
.
getQrCode
().
getState
(),
"3"
)){
cleanQr
(
profitWarehousingInfo
.
getId
());
}
}
}
}
else
{
profitWarehousingInfoMapper
.
delete
(
profitWarehousingInfo
);
}
...
...
src/main/webapp/webpage/modules/warehouse/storage/storageDetail.jsp
View file @
d84ac9c2
...
...
@@ -101,9 +101,13 @@
field: 'qrCode.state',
title: ' 状态 ',
formatter: function (value,row,index){
if(value === '2'){
return '已入库'
}else{
if(value === '1'){
return '已入库未入账'
}else if(value === '2'){
return '已入账未下账'
} else if(value === '3'){
return '已下账'
} else {
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