cqpCow 1 éve
szülő
commit
76321aa0fd
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Service/InvoiceOrderService.php

+ 1 - 1
app/Service/InvoiceOrderService.php

@@ -308,7 +308,7 @@ class InvoiceOrderService extends Service
     public function orderRule(&$data, $user, $is_check = true){
         if($this->isEmpty($data,'send')) return [false,'发货人不能为空!'];
         if($this->isEmpty($data,'product')) return [false,'产品不能为空!'];
-        if(empty($data['logistics_number'])) return [false,'物流单号不能为空'];
+//        if(empty($data['logistics_number'])) return [false,'物流单号不能为空'];
         if(empty($data['storehouse_id'])) return [false,'请选择仓库'];
         if(! empty($data['send_time'])) $data['send_time'] = $this->changeDateToDateMin($data['send_time']);
         if(! empty($data['sales_order_id'])) {