Browse Source

允许直接确认送达

shish 1 year ago
parent
commit
6f1351b3e9
1 changed files with 8 additions and 8 deletions
  1. 8 8
      biz-ghs/order/classes/OrderClass.php

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

@@ -378,17 +378,17 @@ class OrderClass extends BaseClass
         if (empty($customShop)) {
             util::fail('没有找到客户的门店');
         }
-        if (!empty($customShop->pfShopId)) {
-            //如果客户是勇记花卉 森润 国恋 珊瑚 中华 寻花季 还是要直接完成,请搜索关键词 has_pf_direct_finish
-            if (getenv('YII_ENV') == 'production') {
-                $particularIds = [7779, 7832, 10610, 7779, 16780, 716, 8394];
-            } else {
-                $particularIds = [36750];
-            }
+//        if (!empty($customShop->pfShopId)) {
+//            //如果客户是勇记花卉 森润 国恋 珊瑚 中华 寻花季 还是要直接完成,请搜索关键词 has_pf_direct_finish
+//            if (getenv('YII_ENV') == 'production') {
+//                $particularIds = [7779, 7832, 10610, 7779, 16780, 716, 8394];
+//            } else {
+//                $particularIds = [36750];
+//            }
 //            if (!in_array($customShop->id, $particularIds)) {
 //                util::fail('客户有批发店,请通知对方确认');
 //            }
-        }
+//        }
         //订单如果没有发货则先发货
         if ($order->status == 2) {
             $staffId = $params['staffId'] ?? 0;