소스 검색

erp不在生成分类编码了

lvhao 8 시간 전
부모
커밋
d3a87db12e
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      core/CoreApp/controllers/Typeclass.php

+ 7 - 7
core/CoreApp/controllers/Typeclass.php

@@ -208,13 +208,13 @@ class Typeclass extends Start_Controller {
 			$post['zh'] = str_replace(array('(',')'),array('(',')'),$post['zh']);
 			if($post['classid'] == 18 || $post['classid'] == 13 || $post['classid'] == 25 || $post['classid'] == 26)
 			{
-				$bm = $this->typeclass->find_all("classid = '".$post['classid']."'",'*','bm desc');
-				$num = 100;
-				if($post['classid'] == 18)
-				{
-					$num = 1000;
-				}
-				$post['bm'] = substr(strval($bm[0]['bm']+1+$num),1,3);
+				// $bm = $this->typeclass->find_all("classid = '".$post['classid']."'",'*','bm desc');
+				// $num = 100;
+				// if($post['classid'] == 18)
+				// {
+				// 	$num = 1000;
+				// }
+				$post['bm'] = "";
 			}
 			if($post['is_check'] == 1){
 				$post['is_check'] = 1;