Browse Source

修复新增bomlst时校验子物料类型的bug

pull/105/head
zhangxin 3 years ago
parent
commit
d6ad5f7782
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      services/me/implments/BomLst.service.impl.go

+ 1
- 1
services/me/implments/BomLst.service.impl.go View File

@ -158,7 +158,7 @@ func (impl *BomLstServiceImplement) InsertOne(user *global.User, entity *model.B
_ = session.Rollback()
return grmi.NewBusinessError("物料不存在, 物料ID:" + entity.CmatNr)
}
article2 := articleLi[0]
article2 := articleLi2[0]
if article.ArtSpec1 == baseModel.ART_TYPE_CARSET {
if article2.ArtSpec1 != baseModel.ART_TYPE_FINISHED {
_ = session.Rollback()


Loading…
Cancel
Save