审核出入库单 增加冷链报告预览按钮 库存预警信息 重置之后数据错误问题

prod
wangwei 2 years ago
parent e283fee06c
commit 51dba5fdf9

@ -288,14 +288,22 @@
</template>
</el-table-column>
<el-table-column label="操作" fixed="right">
<el-table-column label="操作" width="220" fixed="right">
<template slot-scope="scope">
<el-button
type="text"
size="small"
@click="showImgViewer(scope.row)"
:disabled="scope.row.filePath == null"
>预览
>检验报告预览
</el-button
>
<el-button
type="text"
size="small"
@click="showImgViewerCold(scope.row)"
:disabled="scope.row.coldFilePath == null"
>冷链报告预览
</el-button
>
</template>

@ -336,6 +336,7 @@ export default {
},
queryName: null,
invList: [],
invCodeList:[],
spaceList: [],
ggxhList: [],
ignoreVisible: false,
@ -358,6 +359,7 @@ export default {
paramStatus: 1,
page: 1,
limit: 20,
listInv:this.invCodeList,
};
this.getList();
},
@ -394,11 +396,15 @@ export default {
getInvListByUser()
.then((response) => {
this.invList = response.data || [];
for(var i=0;i<response.data.length;i++){
this.invCodeList.push(response.data[i].code)
}
this.getSpaceList();
this.getList();
})
.catch(() => {
});
},
getSpaceList() {
let params = {invWarehouseCode: this.filterQuery.invCode, status: 1};
@ -525,6 +531,7 @@ export default {
this.getInvList();
//
this.getList();
console.log("==="+ this.invCodeList);
},
};
</script>

Loading…
Cancel
Save