wupengfei 2 年之前
父节点
当前提交
7f36783bc7

+ 2 - 2
.idea/workspace.xml

@@ -4,7 +4,7 @@
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/operate/view/supplier_goods/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/supplier_goods/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/operate/view/supplier_goods/index_search.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/supplier_goods/index_search.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -210,7 +210,7 @@
       <workItem from="1663289320226" duration="8186000" />
       <workItem from="1663374115380" duration="19161000" />
       <workItem from="1663548946176" duration="17651000" />
-      <workItem from="1663721089544" duration="7591000" />
+      <workItem from="1663721089544" duration="7709000" />
     </task>
     <servers />
   </component>

+ 0 - 1
application/operate/controller/SupplierGoods.php

@@ -34,7 +34,6 @@ class SupplierGoods extends Controller
         $this->supplier_id = $supplier_id;
         $query = $this->_query($this->table)->where('is_deleted',0)->where('supplier_id',$supplier_id);
         $query->like('name');
-        if(input('place')) $query->where('place',input('place'));
         $query->order(' sort desc , id desc')->page();
     }
 

+ 2 - 13
application/operate/view/supplier_goods/index_search.html

@@ -2,20 +2,9 @@
     <legend>条件搜索</legend>
     <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
         <div class="layui-form-item layui-inline">
-            <label class="layui-form-label">展示位置</label>
+            <label class="layui-form-label">名称</label>
             <div class="layui-input-inline">
-                <select class="layui-select" name="place">
-                    <option value="0">全部</option>
-                    {foreach $place_desc as $k=>$v}
-                        {if $v}
-                            {if $Think.get.place eq $k}
-                                <option selected value="{$k}">{$v}</option>
-                            {else}
-                                <option  value="{$k}">{$v}</option>
-                            {/if}
-                         {/if}
-                    {/foreach}
-                </select>
+                <input name="name" value="{$Think.get.name|default=''}" placeholder="名称" class="layui-input">
             </div>
         </div>
         <div class="layui-form-item layui-inline">