uniapp接口更新-移动储位

master
erzhongxmu 2022-08-22 18:59:25 +08:00
parent ba22a7c8a8
commit db337bf7dd
1 changed files with 5 additions and 5 deletions

View File

@ -548,10 +548,10 @@ public class WmToMoveGoodsController extends BaseController {
}
t.setUpdateDate(now());
if(!wmUtil.checkstcok( t.getBinFrom(),t.getTinFrom(),t.getGoodsId(),t.getGoodsProData(),t.getBaseGoodscount())) {
D0.setOK(false);
D0.setErrorMsg("库存不足");
}else{
// if(!wmUtil.checkstcok( t.getBinFrom(),t.getTinFrom(),t.getGoodsId(),t.getGoodsProData(),t.getBaseGoodscount())) {
// D0.setOK(false);
// D0.setErrorMsg("库存不足");
// }else{
String movesta = "已完成";
try{
@ -563,7 +563,7 @@ public class WmToMoveGoodsController extends BaseController {
t.setMoveSta(movesta);
wmToMoveGoodsService.saveOrUpdate(t);
D0.setOK(true);
}
// }
} catch (Exception e) {