controllers/operation.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/operation.go
@@ -558,6 +558,9 @@ SetLocationId(operation.FromLocationID). FirstRes() if res.Error != nil { if res.Error == gorm.ErrRecordNotFound { return errors.New("当前仓库没有该产品,请先入库") } return res.Error } if locAmount.Amount.LessThan(value) {