Explorar el Código

提交数据1

lvhao hace 17 horas
padre
commit
1a85a70dd6

+ 5 - 0
core/CoreApp/controllers/Goodimglibrary.php

@@ -423,6 +423,8 @@ class Goodimglibrary extends Start_Controller {
             $haircap = trim($haircap);
             $hairnumber = $this->input->post('hairnumber',true);
             $hairnumber = trim($hairnumber);
+
+            $jm = $this->input->post("jm",true);
           
             if(empty($page))
 		    {
@@ -488,6 +490,9 @@ class Goodimglibrary extends Start_Controller {
                 $hairnumber = trim($hairnumber);
                 $where .= ' AND features LIKE "%'.trim($hairnumber).'%" ';
             }
+            if($jm){
+                $where .= ' AND jm  LIKE "%'.trim($jm).'%"  ';
+            }
 
             $is_able_edit = 0;
             if(in_array($user_id,[10,28])){

+ 1 - 0
template/erp/goodimglibrary_noimg.html

@@ -53,6 +53,7 @@
 <li>SKU:<input value="" name="sku" type="text" style="width:350px"></li>
 <li>商品名称:<input value="" name="title" type="text" style="width:350px"></li>
 <li>仓库品名:<input value="" name="zh" type="text" style="width:350px"></li>
+<li>u9料号:<input value="" name="jm" type="text" style="width:250px"></li>
 <li><span>确 定</span></li>
 
 </ul>