Compare commits

..

2 Commits

1 changed files with 3 additions and 2 deletions

View File

@ -98,7 +98,7 @@
:filters="specsFilters11" :filters="specsFilters11"
:filter-method="filterSpecs11" :filter-method="filterSpecs11"
filter-placement="bottom-end"/> 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"> <el-table-column label="周预估值" v-if="params.type == 30">
<template #default="scope"> <template #default="scope">
<el-input <el-input
@ -241,7 +241,7 @@ export default {
mioTypeEnum, mioTypeEnum,
apiObj: this.$API.mtm.material.list, apiObj: this.$API.mtm.material.list,
materialType: "", 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: { query: {
material: "", material: "",
mio_type: mioTypeEnum.values[0].key, mio_type: mioTypeEnum.values[0].key,
@ -369,6 +369,7 @@ export default {
if(that.material_name!==''&&that.material_name!==null){ if(that.material_name!==''&&that.material_name!==null){
that.params.name = that.material_name; 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) => { this.$API.mtm.material.list.req(that.params).then((res) => {
that.tableData11 = res; that.tableData11 = res;
if(res.length>0){ if(res.length>0){