Commit 7e73c092 by hcy

操作按钮

parent f4a6c150
Showing with 1 additions and 1 deletions
......@@ -56,7 +56,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)
op = 3 //联系销售
if sku.GoodsStatus == 1 && sku.IsExpire == 0 && forbidStatus == 0 && sku.Stock > 0 && len(sku.LadderPrice) > 0 && sku.Stock > sku.Moq {
if sku.GoodsStatus == 1 && sku.IsExpire == 0 && forbidStatus == 0 && sku.Stock > 0 && len(sku.LadderPrice) > 0 && sku.Stock >= sku.Moq {
switch sku.AbilityLevel { //履约级别:-1 无 0:弱履约,1:中履约;2:强履约
case -1:
op = 3
......
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