diff --git a/app/admin/controller/store_order/StoreOrderController.php b/app/admin/controller/store_order/StoreOrderController.php index 399aed21c..56889932e 100644 --- a/app/admin/controller/store_order/StoreOrderController.php +++ b/app/admin/controller/store_order/StoreOrderController.php @@ -171,7 +171,7 @@ class StoreOrderController extends BaseAdminController $data = StoreOrderCartInfo::where('oid', $id)->select(); foreach ($data as $key => &$value) { if (in_array($order['store_id'], [17, 18])) { - $find = StoreBranchProduct::where('product_id', $value->product_id)->where('store_id', $order['store_id'])->find(); + $find = StoreBranchProduct::where('product_id', $value->product_id)->where('store_id', $order['store_id'])->withTrashed()->find(); } else { $find = StoreProduct::where('id', $value->product_id)->find(); }