自制件出入库记录

This commit is contained in:
Vergil
2020-03-17 15:28:11 +08:00
parent 016d575e23
commit b2ec2e4192
3 changed files with 5 additions and 6 deletions

View File

@@ -194,11 +194,11 @@ export default {
this.number ? this.checkbox_number = 1 : this.checkbox_number = 0
this.tableData1 = []
getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.pageCurrent, this.pageSize).then(response => {
if (response.data.total === 0) {
if (response.data.result.length === 0) {
this.listLoading1 = false
} else {
this.tableData1 = response.data.rows
this.total = response.data.total
this.tableData1 = response.data.result
this.total = parseInt(response.data.output[0].ItemCount)
this.listLoading1 = false
}
})