库位信息中所属仓库
@ -67,6 +67,7 @@ public class BaseLocationInfoController extends BaseController
public TableDataInfo list(BaseLocationInfo baseLocationInfo)
{
startPage();
List<BaseLocationInfo> list = baseLocationInfoService.selectBaseLocationInfoList(baseLocationInfo);
return getDataTable(list);
}
@ -30,6 +30,14 @@
<label>所处层:</label>
<input type="text" name="locationTier"/>
</li>
<li>
<label>所属仓库:</label>
<select name="storeCode" th:with="type=${@baseStoreInfoService.selectBaseStoreInfoList(null)}">
<option value="">所有</option>
<option th:each="baseStoreInfos: ${type}" th:text="${baseStoreInfos.storeName}" th:value="${baseStoreInfos.storeCode}"></option>
</select>
<label>库位状态:</label>
<select name="locationStatus" th:with="type=${@dict.getType('location_status')}">
@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="locationStatus != null "> and location_status = #{locationStatus}</if>
<if test="locationArea != null and locationArea != ''"> and location_area = #{locationArea}</if>
<if test="storeCode != null and storeCode != ''"> and store_code = #{storeCode}</if>
and delete_flag = '1'
</where>