Commit 3e477f1e by mushishixian

修复空goods_name

parent 1a1d7b62
Showing with 1 additions and 1 deletions
......@@ -227,10 +227,10 @@ func search(index string, bomId int, bomItems []model.BomItem, deliveryType, sor
//如果是模糊查询,还要去截取字符串
if !rawSearch {
bom.GoodsName = common.SubKeyWordStr(bom.GoodsName)
}
if bom.GoodsName == "" {
continue
}
}
//经过了最前面的参数匹配
//如果型号还是为空,则用参数去匹配,因为有可能参数里面填了型号
//if bom.GoodsName == "" && bom.Attrs == "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment