仓库管理-库位信息: 初始化
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user