gorden 6 ヶ月 前
コミット
dc1a783a20
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/admin/controller/order/WholeController.php

+ 1 - 1
app/admin/controller/order/WholeController.php

@@ -4520,7 +4520,7 @@ class WholeController extends Curd
                 if (strpos($print, '核销') !== false && $order->order_status_payment != 'SUCCESS') {
                     return json_fail('无法打印未支付的订单');
                 }
-
+                dump($premises,$restaurant);
                 if (!empty($premises) || $restaurant) {
                     if ($order->order_classify == 'DISHES' && empty($restaurant)) {
                         $restaurant = SysDept::where('dept_super_id', $premises->dept_id)->where('dept_category', '餐厅')->first();