diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index 27367d6..ed3dfb8 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -1312,14 +1312,13 @@ func OrderEditNum(c *gin.Context) { all1 := db.GetOrderGoodsMakeStockAllByDate(sess, goodsId, skuId, 0, orderGoods.MakeDate) if all1 == nil { var tmp = &model.OrderGoodsMakeStock{ - Gid: goodsId, - SkuId: skuId, - SkuCode: code, - GoodsTitle: orderGoods.GoodsTitle, - Sku: skuStr, - WaitMakeNum: utils.StrToInt(args["num"]), - GoodsType: 0, - MakeDate: orderGoods.MakeDate, + Gid: goodsId, + SkuId: skuId, + SkuCode: code, + GoodsTitle: orderGoods.GoodsTitle, + Sku: skuStr, + GoodsType: 0, + MakeDate: orderGoods.MakeDate, } sess.Insert(tmp) }