Parcourir la source

修改人工手动出库计数的bug

lvhao il y a 4 mois
Parent
commit
1298306c76
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/CoreApp/controllers/Systembound.php

+ 1 - 1
core/CoreApp/controllers/Systembound.php

@@ -948,7 +948,7 @@ class Systembound extends Start_Controller {
 			    {
 				    echo json_encode(array('msg'=>'错误!此编号'.date('Ymd',$nu['time']).'已录入!','success'=>false));exit;
 			    }
-				if($this->outbound->insert(array('type'=>$type,'number'=>$number,'waybill'=>$tmp_waybill,'express'=>$express,'gtime'=>date('Ymd',time()),'time'=>time())))
+				if($this->outbound->insert(array('type'=>$type,'number'=>$number,'waybill'=>$tmp_waybill,'express'=>$express,'gtime'=>date('Ymd',time()),'time'=>$time)))
 				{
 					$data = $this->outbound->find_count($where);
 					echo json_encode(array('msg'=>'添加成功!','success'=>true));exit;