库管员绑新增规格型号查询

This commit is contained in:
liang.chao 2024-11-22 10:00:54 +08:00
parent 65cc304229
commit 386b848d66
2 changed files with 13 additions and 0 deletions

View File

@ -40,6 +40,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="typeName != null and typeName != ''">
AND mt2.type_name like concat('%', #{typeName}, '%')
</if>
<if test="modelName != null and modelName != ''">
AND mt.type_name like concat('%', #{modelName}, '%')
</if>
GROUP BY mt.type_id
ORDER BY mt.type_id DESC
</select>

View File

@ -54,6 +54,16 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="规格型号" prop="typeName">
<el-input
v-model="queryParams.modelName"
placeholder="请输入规格型号"
clearable
maxlength="50"
style="width: 240px"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type="primary"