lvhao 17 часов назад
Родитель
Сommit
dbf03b6625
1 измененных файлов с 0 добавлено и 28 удалено
  1. 0 28
      core/CoreApp/controllers/Whlabeltransport.php

+ 0 - 28
core/CoreApp/controllers/Whlabeltransport.php

@@ -487,20 +487,6 @@ class Whlabeltransport extends Start_Controller {
 				if ($this->db->trans_status() === TRUE)
         		{
 					$this->db->trans_commit();
-					$num = $this->whlabeltransport->find_count("order_no = '".$data['order_no']."' and cz = 0");
-					if($num == 0){
-						if(!empty($data['order_no'])){
-							$this->zzquque_u9->insert( [
-								'platform'=>'',
-								'warehouse'=>0,
-								'type'=>2,   //将在途库存调入到美仓
-								'order_no'=>$data['order_no'],
-								'status'=>0,
-								'create_time'=>time(),
-								'update_time'=>time(),
-							]);
-						}
-					}
 					echo json_encode(array('msg'=>'入库成功!','id'=>$id,'time'=>date('Y-m-d H:i:s',$time),'success'=>true));exit;
 				}
 				else
@@ -831,20 +817,6 @@ class Whlabeltransport extends Start_Controller {
         		    {
 					    $this->db->trans_commit();
 						$i++;
-						$num = $this->whlabeltransport->find_count("order_no = '".$data['order_no']."' and cz = 0");
-						if($num == 0){
-							if(!empty($data['order_no'])){
-								$this->zzquque_u9->insert( [
-									'platform'=>'',
-									'warehouse'=>0,
-									'type'=>2,   //将在途库存调入到美仓
-									'order_no'=>$data['order_no'],
-									'status'=>0,
-									'create_time'=>time(),
-									'update_time'=>time(),
-								]);
-							}
-						}
 				    }
 				    else
 				    {