Browse Source

修改库存判断的信息的bug

lvhao 1 month ago
parent
commit
b4305490c6
1 changed files with 2 additions and 5 deletions
  1. 2 5
      core/CoreApp/controllers/Warehouse.php

+ 2 - 5
core/CoreApp/controllers/Warehouse.php

@@ -410,9 +410,6 @@ class Warehouse extends Start_Controller {
 				$warehousedata = $this->warehouse->find_all("zd = '1' and id != '8'");
 				$pp = explode('|',trim($whlabel,'|'));
 				$ccpp = explode('|',trim($data,'|'));
-
-
-				$this->logic_ding->sendToDing("仓库kcpd提醒ccpp".json_encode($ccpp)."number:".$number."[pp]".json_encode($pp));
 				$mgc = 0;//美国仓计数
 				foreach ($warehousedata as $v) 
 		        {
@@ -966,8 +963,8 @@ class Warehouse extends Start_Controller {
 									}
             					}
 							}else{
-								$this->logic_ding->sendToDing("仓库kcpd提醒cc".json_encode($cc).'cp'.json_encode($cp)."ccpp".json_encode($ccpp)."number:".$number."[pp]".json_encode($pp));
-								$newcp = '-'; 
+								//$this->logic_ding->sendToDing("仓库kcpd提醒cc".json_encode($cc).'cp'.json_encode($cp)."ccpp".json_encode($ccpp)."number:".$number);
+								$newcp = $cc[0]; 
 								
 							}