Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ea6b4e3c
由
LN
编写于
2024-08-23 18:21:22 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出库完成时,如果数量为0清空格口,删除格口条码
1 个父辈
26dee82e
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
2 行删除
src/main/java/com/neotel/smfcore/custom/luxsan_sp/controller/SpBoxCheckOutController.java
src/main/java/com/neotel/smfcore/custom/luxsan_sp/controller/SpBoxPutInController.java
src/main/java/com/neotel/smfcore/custom/luxsan_sp/controller/SpBoxCheckOutController.java
查看文件 @
ea6b4e3
...
@@ -193,7 +193,7 @@ public class SpBoxCheckOutController {
...
@@ -193,7 +193,7 @@ public class SpBoxCheckOutController {
neeONum
=
0
;
neeONum
=
0
;
}
}
gekouBarcode
.
updateNeedOutNum
(
neeONum
);
gekouBarcode
.
updateNeedOutNum
(
neeONum
);
boxBarcode
.
updateSubCodes
(
gekouBarcode
);
boxBarcode
.
updateSubCodes
(
gekouBarcode
,
true
);
log
.
info
(
"reelOutBox : boxStr="
+
boxStr
+
",codeStr="
+
rellCodeStr
+
",binCodeStr="
+
gekouCodeStr
+
"出库 "
+
codeBarcode
.
getQty
()
+
" 完成,剩余数量:"
+
gekouBarcode
.
getAmount
()+
",剩余待出库数量:"
+
neeONum
);
log
.
info
(
"reelOutBox : boxStr="
+
boxStr
+
",codeStr="
+
rellCodeStr
+
",binCodeStr="
+
gekouCodeStr
+
"出库 "
+
codeBarcode
.
getQty
()
+
" 完成,剩余数量:"
+
gekouBarcode
.
getAmount
()+
",剩余待出库数量:"
+
neeONum
);
//6.生成出库任务
//6.生成出库任务
...
@@ -215,7 +215,12 @@ public class SpBoxCheckOutController {
...
@@ -215,7 +215,12 @@ public class SpBoxCheckOutController {
pos
.
setBarcode
(
boxBarcode
);
pos
.
setBarcode
(
boxBarcode
);
pos
.
setUsed
(
true
);
pos
.
setUsed
(
true
);
storagePosManager
.
save
(
pos
);
storagePosManager
.
save
(
pos
);
if
(
gekouBarcode
.
getAmount
()<=
0
){
log
.
info
(
"格口"
+
gekouBarcode
.
getBarcode
()+
",pn="
+
gekouBarcode
.
getPartNumber
()+
" 出库后数量为0,直接删除barcode"
);
barcodeManager
.
delete
(
gekouBarcode
);
}
else
{
barcodeManager
.
save
(
gekouBarcode
);
barcodeManager
.
save
(
gekouBarcode
);
}
barcodeManager
.
save
(
boxBarcode
);
barcodeManager
.
save
(
boxBarcode
);
...
...
src/main/java/com/neotel/smfcore/custom/luxsan_sp/controller/SpBoxPutInController.java
查看文件 @
ea6b4e3
...
@@ -55,7 +55,7 @@ public class SpBoxPutInController {
...
@@ -55,7 +55,7 @@ public class SpBoxPutInController {
String
currentRfid
=
station
.
getCurrentRfid
();
String
currentRfid
=
station
.
getCurrentRfid
();
if
(
ObjectUtil
.
isEmpty
(
currentRfid
)){
if
(
ObjectUtil
.
isEmpty
(
currentRfid
)){
if
(
LuxsanSpApi
.
Debug
){
if
(
LuxsanSpApi
.
Debug
){
currentRfid
=
"CS
9999
"
;
currentRfid
=
"CS
0130
"
;
}
}
}
}
// log.info("getStationInfo工位上"+currentRfid);
// log.info("getStationInfo工位上"+currentRfid);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论