change - 问题135:原材料入库记录增加同步状态筛选

master
yinq 3 weeks ago
parent d0f3934411
commit a86f73fd2e

@ -205,8 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="applyBy != null and applyBy != ''"> and wri.apply_by like concat('%', #{applyBy}, '%')</if> <if test="applyBy != null and applyBy != ''"> and wri.apply_by like concat('%', #{applyBy}, '%')</if>
<if test="materialCode != null and materialCode != ''"> and mbmi.material_code like concat('%', #{materialCode}, '%')</if> <if test="materialCode != null and materialCode != ''"> and mbmi.material_code like concat('%', #{materialCode}, '%')</if>
<if test="materialName != null and materialName != ''"> and mbmi.material_name like concat('%', #{materialName}, '%')</if> <if test="materialName != null and materialName != ''"> and mbmi.material_name like concat('%', #{materialName}, '%')</if>
<if test="erpStatus != null and erpStatus != ''"> and wri.erp_status = #{erpStatus}</if>
</where> </where>
order by wri.apply_date desc order by wri.apply_date desc
</select> </select>

@ -76,6 +76,21 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="同步ERP状态" prop="erpStatus" label-width="100px">
<el-select
v-model="queryParams.erpStatus"
placeholder="请选择同步ERP状态"
clearable
style="width: 240px"
>
<el-option
v-for="dict in dict.type.wms_erp_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>

Loading…
Cancel
Save