物料订单不分包地址补全
This commit is contained in:
@@ -198,6 +198,9 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if fromStoreID != 0 {
|
||||
checkMatterDeliveryAddress(deliveryAddress)
|
||||
}
|
||||
if createType != OrderCreateTypePre {
|
||||
if outJxOrder.TotalPrice != jxOrder.TotalPrice {
|
||||
return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单")
|
||||
|
||||
Reference in New Issue
Block a user