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

+ 5 - 1
app-ghs/controllers/OrderController.php

@@ -1322,13 +1322,15 @@ class OrderController extends BaseController
         //A4打印需要用到的数据
         $customId = $info['customId'] ?? 0;
         $remark = $info['remark'] ?? '';
+        $sendCost = $info['sendCost'] ?? 0;
+        $sendNum = $info['sendNum'] ?? '';
         $fullAddress = '';
         if (getenv('YII_ENV') == 'production') {
             //老油的要显示地址
             if ($this->mainId == 20528) {
                 $fullAddress = $info['fullAddress'] ?? '';
             }
-        }else{
+        } else {
             if ($this->mainId == 644) {
                 $fullAddress = $info['fullAddress'] ?? '';
             }
@@ -1375,6 +1377,8 @@ class OrderController extends BaseController
             'table' => $table,
             'remark' => $remark,
             'fullAddress' => $fullAddress,
+            'sendNum' => $sendNum,
+            'sendCost' => $sendCost,
         ];
         $info['printData'] = $a4Print;