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

+ 0 - 12
core/CoreApp/controllers/Whlabel.php

@@ -1114,7 +1114,6 @@ class Whlabel extends Start_Controller
 				$rows[$key]['cs'] =  $u9_info['jm'];
 				$sd = $this->whlabel->find_all($where . ' and sku = "' . $value['sku'] . '" and warehouse = "' . $value['warehouse'] . '" and features = "' . $value['features'] . '"', 'details,cpid,cpbz,state');
 				$details = array();
-				$details_num = [];
 				$cpid = array();
 				$cpbz = array();
 				$c = 0;
@@ -1142,11 +1141,6 @@ class Whlabel extends Start_Controller
 					if ($v['state'] == "3" || $v['state'] == "4" || $v['state'] == "5" || $v['state'] == "6" || $v['state'] == "7") {
 						$q++;
 					}
-					if(isset($details_num[$v['details']])){
-						$details_num[$v['details']] = $details_num[$v['details']] + 1;
-					}else{
-						$details_num[$v['details']] = 1;
-					}
 					$details[$v['details']] = $v['details'];
 					if ($v['cpid'] != 0) {
 						$cpid[$v['cpid']] = $v['cpid'];
@@ -1167,11 +1161,6 @@ class Whlabel extends Start_Controller
 				$rows[$key]['s'] = $s;
 				$rows[$key]['q'] = $q;
 				$rows[$key]['wzsl'] = count($details);
-				$wzlpsl_str= "";
-				foreach($details_num as $kk => $vv){
-					$wzlpsl_str .= $kk . ":" . $vv . " <br/>";
-				}
-				$rows[$key]['wzlpsl'] = trim($wzlpsl_str,"<br/>");
 				//cpbzs
 				$tmp_cpbzs = explode(',', $value['cpbzs']);
 				$unique_arr = array_unique($tmp_cpbzs);
@@ -1198,7 +1187,6 @@ class Whlabel extends Start_Controller
 			<td>删除数量</td>
 			<td>其它操作</td>
 			<td>位置数量</td>
-			<td>位置货物数量</td>
             </tr>
             </table>";
 			$filename = $title . ".xls";