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

+ 4 - 3
app-ghs/controllers/OrderController.php

@@ -1691,6 +1691,7 @@ class OrderController extends BaseController
                         'wxNumber' => 'shish3508',
                         'unitPrice' => '¥' . $unitPrice,
                         'price' => '¥' . $price,
+                        'refundNum' => $refundNum,
                     ];
                 }
             }
@@ -1698,9 +1699,9 @@ class OrderController extends BaseController
             $kind = $info['productStat'] && $info['productStat']['kind'] ?? 0;
             $totalItemNum = $info['productStat'] && $info['productStat']['bigNum'] ?? 0;
             $addTime = $info['addTime'] ?? '';
-            $actPrice = $info['actPrice']??0;
-            $tkPrice = $info['tkPrice']??0;
-            $prePrice = $info['prePrice']??0;
+            $actPrice = $info['actPrice'] ?? 0;
+            $tkPrice = $info['tkPrice'] ?? 0;
+            $prePrice = $info['prePrice'] ?? 0;
             $printData = [
                 'table' => $table,
                 'addTime' => $addTime,