فهرست منبع

erp不在生成分类编码了

lvhao 2 ساعت پیش
والد
کامیت
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;