Commit 70e09350 by hcy

强履

parent 18fd0f48
Showing with 2 additions and 2 deletions
......@@ -40,7 +40,7 @@ todo 2 加入询价池、立即询价
商品是否过期:否
库存数量:不为空,且,>0,且,≥起订量
商品价格:不为空,且,>0(人民币、美金价格至少有一个满足)
履约程度:履约
履约程度:履约
todo 3 联系销售
......@@ -53,7 +53,7 @@ func (as *ActivityService) GetLabelOp(sku model.LySku) (op int) {
}
forbidStatus, _ := Supplier.GetSkuForbidStatus(sku.SupplierId, sku.StandardBrand.StandardBrandId, sku.GoodsName, sku.GoodsId, sku.Eccn, sku.SpuId, sku.Canal, gconv.String(sku.ClassID1), gconv.String(sku.ClassID2), taxCheck)
if sku.GoodsStatus == 1 && sku.IsExpire == 0 && forbidStatus == 0 && sku.Stock > 0 && sku.LadderPrice != nil {
if sku.GoodsStatus == 1 && sku.IsExpire == 0 && forbidStatus == 0 && sku.Stock > 0 && sku.LadderPrice != nil && sku.Stock > sku.Moq {
if sku.AbilityLevel == 2 {
return 1 //可购买
} else {
......
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