Parcourir la source

修改erp的相关信息

lvhao il y a 8 heures
Parent
commit
3cad6800cf
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      core/CoreApp/controllers/Specialstock.php

+ 2 - 2
core/CoreApp/controllers/Specialstock.php

@@ -1886,8 +1886,8 @@ class Specialstock extends Start_Controller {
 		    }
 			foreach ($rows as $value) 
 		    {
-				$g = $this->specialstock->find_count($where.' and enter = "'.$value['enter'].'" and state != 9');
-				$list[] = array('id'=>$value['id'],'sku'=>$value['sku'],'title'=>$value['title'],'details'=>$value['details'],'time'=>date('Y-m-d H:i:s',$value['enter']),'number'=>$g);
+				$g = $this->specialstock->find_count($where.' and enter = "'.$value['enter'].'" and state != 9'." and sku = '".$value['sku']."' ");
+				$list[] = 	array('id'=>$value['id'],'sku'=>$value['sku'],'title'=>$value['title'],'details'=>$value['details'],'time'=>date('Y-m-d H:i:s',$value['enter']),'number'=>$g);
 		    }
 		    $total = count($list);
 		    $pagenum = ceil($total/$perpage);