新购一级列表分页
This commit is contained in:
parent
6626ee3aac
commit
40b1702b9e
|
|
@ -343,8 +343,8 @@
|
|||
// this.queryParams.taskStatus="2"
|
||||
this.queryParams.statusList=[2,12]
|
||||
getPurchaseList(this.queryParams).then(response => {
|
||||
this.tableList = response.rows;
|
||||
this.total = response.total;
|
||||
this.tableList = response.data.rows;
|
||||
this.total = response.data.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -660,8 +660,8 @@ export default {
|
|||
statusList: [1],
|
||||
};
|
||||
getListNewBuy(this.addDateRange(params)).then((response) => {
|
||||
this.typeList = response.rows;
|
||||
this.total = response.total;
|
||||
this.typeList = response.data.rows;
|
||||
this.total = response.data.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -240,8 +240,8 @@ export default {
|
|||
this.loading = true
|
||||
this.queryParams.statusList=[3,13]
|
||||
const res = await getNewBuyBindListApi(this.queryParams)
|
||||
this.bindList = res.rows
|
||||
this.total = res.total
|
||||
this.bindList = res.data.rows
|
||||
this.total = res.data.total
|
||||
this.loading = false
|
||||
},
|
||||
// 搜索按钮
|
||||
|
|
|
|||
|
|
@ -393,8 +393,8 @@ export default {
|
|||
this.queryParams.statusList=[3,13,4,14,19]
|
||||
// this.queryParams.modelName="新购验收"
|
||||
getPurchaseList(this.queryParams).then((response) => {
|
||||
this.tableList = response.rows
|
||||
this.total = response.total
|
||||
this.tableList = response.data.rows
|
||||
this.total = response.data.total
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue