shish 10 месяцев назад
Родитель
Сommit
0d332ac2b8
2 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      app-ghs/controllers/OrderController.php
  2. 3 3
      biz-ghs/order/classes/OrderClass.php

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

@@ -1152,7 +1152,7 @@ class OrderController extends BaseController
             //同步配送
             $sendCost = isset($post['sendCost']) && $post['sendCost'] > 0 ? $post['sendCost'] : 0;
             if ($sendType != dict::getDict('sendType', 'thirdSend') && $sendCost > 0) {
-                util::fail('填了运费,请选择代叫跑腿');
+                util::fail('填了运费,请选择跑腿');
             }
             $post['sendCost'] = $sendCost;
             $post['packCost'] = isset($post['packCost']) && $post['packCost'] > 0 ? $post['packCost'] : 0;

+ 3 - 3
biz-ghs/order/classes/OrderClass.php

@@ -1583,7 +1583,7 @@ class OrderClass extends BaseClass
                     $sendName = '到店自取';
                 }
                 if ($orderInfo->sendType == 2) {
-                    $sendName = '代叫配送';
+                    $sendName = '跑腿送';
                 }
                 if ($orderInfo->sendType == 3) {
                     $wlName = $orderInfo['wlName'] ?? '未填物流';
@@ -1895,7 +1895,7 @@ class OrderClass extends BaseClass
                     $sendName = '到店自取';
                 }
                 if ($orderInfo['sendType'] == 2) {
-                    $sendName = '代叫配送';
+                    $sendName = '跑腿送';
                 }
                 if ($orderInfo['sendType'] == 3) {
                     $wlName = $orderInfo['wlName'] ?? '未填物流';
@@ -1953,7 +1953,7 @@ class OrderClass extends BaseClass
                 $content .= '商品金额:' . floatval($orderInfo['itemPrice']) . '<BR>';
             }
             if (isset($respond['sendCost']) && $respond['sendCost'] > 0) {
-                $content .= '    运费:' . floatval($respond['sendCost']) . '<BR>';
+                $content .= '<B>跑腿费:' . floatval($respond['sendCost']) . '</B><BR>';
             }
             if (isset($orderInfo['packCost']) && $orderInfo['packCost'] > 0) {
                 $content .= '  打包费:' . floatval($orderInfo['packCost']) . '<BR>';