add:库存查看功能
This commit is contained in:
@@ -133,6 +133,13 @@
|
|||||||
and (struct.struct_code LIKE '%${query.search}%'
|
and (struct.struct_code LIKE '%${query.search}%'
|
||||||
or struct.struct_name LIKE '%${query.search}%')
|
or struct.struct_name LIKE '%${query.search}%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="query.material != null and query.material != ''">
|
||||||
|
and (material.material_code LIKE '%${query.material}%'
|
||||||
|
or material.material_name LIKE '%${query.material}%')
|
||||||
|
</if>
|
||||||
|
<if test="query.pcsn != null and query.pcsn != ''">
|
||||||
|
and vm.pcsn = #{query.pcsn}
|
||||||
|
</if>
|
||||||
<if test="query.vehicle_code != null and query.vehicle_code != ''">
|
<if test="query.vehicle_code != null and query.vehicle_code != ''">
|
||||||
and struct.vehicle_code LIKE '%${query.vehicle_code}%'
|
and struct.vehicle_code LIKE '%${query.vehicle_code}%'
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ public class StructattrQuery extends BaseQuery<StIvtStructattr> {
|
|||||||
private Boolean has_vehicle = Boolean.FALSE;
|
private Boolean has_vehicle = Boolean.FALSE;
|
||||||
private String material;
|
private String material;
|
||||||
private Boolean has;
|
private Boolean has;
|
||||||
private Boolean assign;
|
private String pcsn;
|
||||||
@Override
|
@Override
|
||||||
public void paramMapping() {
|
public void paramMapping() {
|
||||||
super.doP.put("search", QParam.builder().k(new String[]{"struct_code"}).type(QueryTEnum.LK).build());
|
super.doP.put("search", QParam.builder().k(new String[]{"struct_code"}).type(QueryTEnum.LK).build());
|
||||||
|
|||||||
@@ -35,6 +35,26 @@
|
|||||||
class="filter-item"
|
class="filter-item"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="物料信息">
|
||||||
|
<el-input
|
||||||
|
v-model="query.material"
|
||||||
|
clearable
|
||||||
|
size="mini"
|
||||||
|
placeholder="请输入物料信息"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
class="filter-item"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="批号">
|
||||||
|
<el-input
|
||||||
|
v-model="query.pcsn"
|
||||||
|
clearable
|
||||||
|
size="mini"
|
||||||
|
placeholder="请输入批号"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
class="filter-item"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="载具编码">
|
<el-form-item label="载具编码">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="query.vehicle_code"
|
v-model="query.vehicle_code"
|
||||||
|
|||||||
Reference in New Issue
Block a user