Commit a7126d63 by mushishixian

修复bug

parent 09d7a817
Showing with 2 additions and 0 deletions
......@@ -21,6 +21,8 @@ func GetStandardAttrs(bomItems []model.BomItem) []model.BomItem {
//如果有型号,没有参数,则尝试用型号当作参数去请求,判断是否为参数
if item.GoodsName != "" && item.Attrs == "" {
attrParams = []string{item.GoodsName}
} else if item.GoodsName != "" && item.Attrs != "" {
continue
} else {
attrParams = []string{item.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