wugg il y a 1 an
Parent
commit
4b9ddf3dd2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/admin/controller/CombindStock.php

+ 1 - 1
app/admin/controller/CombindStock.php

@@ -21,7 +21,7 @@ class CombindStock extends Base
  
 	public function list(){
 		$param=$this->request->only(['spuCode'=>'','wsm_code'=>'','good_name'=>'','cat_id'=>'','status'=>'','flag'=>'',
-		"create_start"=>"2023-01-01 00:00:00","create_end"=>date("Y-m-d H:i:s")],'post','trim');
+		"create_start"=>"2023-01-01 00:00:00","create_end"=>date("Y-m-d H:i:s"),"page"=>1,"size"=>15],'post','trim');
 		$where=[["createtime","between",[$param['create_start'],$param['create_end']]]];
 		$param['spuCode']?? $where[]=["spuCode","like","%{$param['spuCode']}%"];
 		$param['wsm_code']?? $where[]=["wsm_code","like","%{$param['wsm_code']}%"];