This commit is contained in:
mkm 2023-11-16 17:28:13 +08:00
parent 039e5bce9a
commit f2dee282cc

View File

@ -2358,7 +2358,6 @@ class ProductRepository extends BaseRepository
throw new ValidateException('商品规格导入出错');
}
}
$product->stock = $stockIn + $product->stock;
if ($orderProduct->is_imported == 0) {
$attrValue->stock=$attrValue->stock + $stockIn;