add:出入库记录通过物料编码查询

This commit is contained in:
zhaoyf
2026-07-15 19:26:29 +08:00
parent aeb7ec5f1b
commit ce5f6af6d9
4 changed files with 27 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
AND
dis.pcsn LIKE #{params.pcsn}
</if>
<if test="params.material_code != null">
AND
dis.material_code LIKE #{params.material_code}
</if>
<if test="params.pcsn_in != null">
AND
dis.pcsn IN #{params.pcsn_in}
@@ -135,6 +139,10 @@
AND
ios.bill_code LIKE #{params.bill_code}
</if>
<if test="params.material_code != null">
AND
dtl.material_code = #{params.material_code}
</if>
<if test="params.is_upload != null">
AND

View File

@@ -104,6 +104,7 @@ public class InBillServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv> i
map.put("bill_type", (String) whereJson.get("bill_type"));
map.put("create_mode", (String) whereJson.get("create_mode"));
map.put("bill_status", (String) whereJson.get("bill_status"));
map.put("material_code", (String) whereJson.get("material_code"));
String bill_code = MapUtil.getStr(whereJson, "bill_code");
String pcsn = MapUtil.getStr(whereJson, "pcsn");

View File

@@ -20,6 +20,15 @@
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<el-form-item label="物料编码">
<el-input
v-model="query.material_code"
size="mini"
clearable
placeholder="物料编码"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<el-form-item label="所属仓库">
<el-select
v-model="query.stor_id"

View File

@@ -20,6 +20,15 @@
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<el-form-item label="物料编码">
<el-input
v-model="query.material_code"
size="mini"
clearable
placeholder="物料编码"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<el-form-item label="所属仓库">
<el-select
v-model="query.stor_id"