Commit 6fa502f0 by 杨树贤
parents e338a8c8 ca7f6673
Showing with 1 additions and 0 deletions
......@@ -331,6 +331,7 @@ func (ls *LyService) LyGoodsDetail(ctx context.Context, params RequestParams, go
has, limitStock := ls.getLimitStock(sku.GoodsId)
if has {
sku.Stock = int64(limitStock)
sku.BatchSn = "" //如果存在指定库存,则批次是空
}
//计算按钮
sku.LabelOp = activityService.GetLabelOp(sku)
......
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