shish 4 ani în urmă
părinte
comite
0e8e8e3b11

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

@@ -727,7 +727,7 @@ class OrderController extends BaseController
         $post['sjId'] = $this->sjId;
         $post['shopId'] = $shopId;
         $post['mainId'] = $this->mainId;
-        $post['fromType'] = $post['fromType'] ?? 3;
+        $post['fromType'] = 1;
         $post['expressId'] = $post['expressId'] ?? 0;
         $post['sendCost'] = $post['sendCost'] ?? '0.00';
         $post['book'] = $post['book'] ?? 0;

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

@@ -355,8 +355,8 @@ class OrderController extends BaseController
         $post['shopAdminId'] = $this->shopAdminId ?? 0;
         $post['shopAdminName'] = $this->shopAdmin->name ?? '';
         $groupId = isset($post['groupId']) && !empty($post['groupId']) ? $post['groupId'] : 0;
-        //门店
-        $post['fromType'] = 1;
+        //1 门店(收银台开单)
+        $post['fromType'] = $post['fromType'] ?? 1;
         //客户
         $customId = isset($post['customId']) && $post['customId'] > 0 ? $post['customId'] : 0;
         if (empty($customId)) {