Browse Source

[fix]

工程管理 bom信息
修改bom列表页面搜索栏料号和bom号输入框,添加模糊搜索相关;
修改bom列表查询mapper,添加模糊搜索相关;
dev
王晓迪 1 month ago
parent
commit
7847ebb6fa
  1. 1
      ruoyi-admin/src/main/resources/mapper/erp/ErpBomMapper.xml
  2. 4
      ruoyi-admin/src/main/resources/templates/erp/bom/bom.html

1
ruoyi-admin/src/main/resources/mapper/erp/ErpBomMapper.xml

@ -114,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createBy != null and createBy != ''"> and erp.create_by = #{createBy}</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and erp.create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<if test="params.materialNo != null and params.materialNo != ''"> and erp.material_no like concat('%', #{params.materialNo}, '%')</if>
<if test="params.bomNo != null and params.bomNo != ''"> and erp.bom_no like concat('%', #{params.bomNo}, '%')</if>
<if test="materialNo != null and materialNo != ''"> and erp.material_no = #{materialNo}</if>
<if test="bomNo != null and bomNo != ''"> and erp.bom_no = #{bomNo}</if>
<if test="materialName != null and materialName != ''"> and erp.material_name like concat('%', #{materialName}, '%')</if>

4
ruoyi-admin/src/main/resources/templates/erp/bom/bom.html

@ -18,11 +18,11 @@
<ul>
<li>
<label>料号:</label>
<input type="text" id="selectMaterialNo" name="materialNo"/>
<input type="text" id="selectMaterialNo" name="params[materialNo]"/>
</li>
<li>
<label>bom号:</label>
<input type="text" id="selectBomNo" name="bomNo"/>
<input type="text" id="selectBomNo" name="params[bomNo]"/>
</li>
<li>
<label>物料名称:</label>

Loading…
Cancel
Save