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