shish 1 год назад
Родитель
Сommit
b2433f7ef0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-ghs/controllers/OrderController.php

+ 2 - 2
app-ghs/controllers/OrderController.php

@@ -1692,7 +1692,7 @@ class OrderController extends BaseController
                         'wxNumber' => 'shish3508',
                         'unitPrice' => '¥' . $unitPrice,
                         'price' => '¥' . $price,
-                        'refundNum' => $refundNum==0?'':0,
+                        'refundNum' => $refundNum == 0 ? '' : 0,
                     ];
                 }
             }
@@ -1703,7 +1703,7 @@ class OrderController extends BaseController
             $actPrice = $info['actPrice'] ?? 0;
             $tkPrice = $info['tkPrice'] ?? 0;
             $prePrice = $info['prePrice'] ?? 0;
-            $customMobile = $custom->customMobile ?? '';
+            $customMobile = $info['customMobile'] ?? '';
             $printData = [
                 'table' => $table,
                 'addTime' => '',