shish 2 жил өмнө
parent
commit
2a9f8b7d5e

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

@@ -1245,9 +1245,9 @@ class OrderController extends BaseController
         }
         $customName = $custom->name ?? '';
         $customMobile = $custom->customMobile ?? '';
-        $fullCustom = $customName . ' ' . $customMobile;
+        $fullCustom = $customName . $customMobile;
         if ($this->mainId == 8164) {
-            //花大苪不需要显示客户手机号
+            //花大苪不需要显示客户名称
             $fullCustom = '';
         }
         $seatSn = $custom->seatSn ?? '';
@@ -1259,7 +1259,7 @@ class OrderController extends BaseController
                 $currentName = $val['name'] ?? '';
                 $num = $val['xhNum'] ?? 0;
                 $table[] = [
-                    'name' => $fullCustom,
+                    'name' => $currentName,
                     'num' => $num,
                     'confirmNum' => '',
                     'remark' => '',
@@ -1267,7 +1267,7 @@ class OrderController extends BaseController
             }
         }
         $a4Print = [
-            'customName' => $customName,
+            'customName' => $fullCustom,
             'seatSn' => $seatSn,
             'shortSendTimeWant' => $shortSendTimeWant,
             'table' => $table,