仓库管理-库位信息: 初始化

This commit is contained in:
qianhao.xu
2024-03-12 17:38:38 +08:00
parent 7f7c8f5d84
commit 67070b8c36
6 changed files with 11 additions and 74 deletions

View File

@@ -46,8 +46,8 @@ export default {
shelfList: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'L'],
layerList: [1, 2, 3],
formInline: {
shelf: '',
layer: 0,
shelf: 'A',
layer: 1,
},
pagination: {
total: 0,
@@ -64,13 +64,13 @@ export default {
const query = {
shelf: this.formInline.shelf,
layer: this.formInline.layer,
pageNum: this.formInline.pageNum,
pageSize: this.formInline.pageSize,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
}
production_warehouse_info(query).then((res) => {
if (res.code == 200) {
this.tableData = res.data[0]
this.pagination.total = res.data[1]
this.tableData = res.data.item1
this.pagination.total = res.data.item2
}
})
},