fix:库存统计调整

This commit is contained in:
shijing 2025-11-13 11:09:09 +08:00
parent a7b874dcf4
commit f3e83de73f
1 changed files with 3 additions and 2 deletions

View File

@ -98,7 +98,7 @@
:filters="specsFilters11"
:filter-method="filterSpecs11"
filter-placement="bottom-end"/>
<el-table-column label="库存总数" prop="count_mb"/>
<el-table-column label="仓库合格品数" prop="count_mb"/>
<el-table-column label="周预估值" v-if="params.type == 30">
<template #default="scope">
<el-input
@ -241,7 +241,7 @@ export default {
mioTypeEnum,
apiObj: this.$API.mtm.material.list,
materialType: "",
params: { is_hidden: false, type: 10, count__gte: 1,page:0 },
params: { is_hidden: false, type: 10, count_mb__gt: 0,page:0 },
query: {
material: "",
mio_type: mioTypeEnum.values[0].key,
@ -369,6 +369,7 @@ export default {
if(that.material_name!==''&&that.material_name!==null){
that.params.name = that.material_name;
}
that.params.query = '{name,model,specification,count_mb,week_esitimate_consume}';
this.$API.mtm.material.list.req(that.params).then((res) => {
that.tableData11 = res;
if(res.length>0){