新购一级列表分页

This commit is contained in:
zzyuan 2024-11-19 10:10:23 +08:00
parent 6626ee3aac
commit 40b1702b9e
4 changed files with 8 additions and 8 deletions

View File

@ -343,8 +343,8 @@
// this.queryParams.taskStatus="2" // this.queryParams.taskStatus="2"
this.queryParams.statusList=[2,12] this.queryParams.statusList=[2,12]
getPurchaseList(this.queryParams).then(response => { getPurchaseList(this.queryParams).then(response => {
this.tableList = response.rows; this.tableList = response.data.rows;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
}, },

View File

@ -660,8 +660,8 @@ export default {
statusList: [1], statusList: [1],
}; };
getListNewBuy(this.addDateRange(params)).then((response) => { getListNewBuy(this.addDateRange(params)).then((response) => {
this.typeList = response.rows; this.typeList = response.data.rows;
this.total = response.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
}, },

View File

@ -240,8 +240,8 @@ export default {
this.loading = true this.loading = true
this.queryParams.statusList=[3,13] this.queryParams.statusList=[3,13]
const res = await getNewBuyBindListApi(this.queryParams) const res = await getNewBuyBindListApi(this.queryParams)
this.bindList = res.rows this.bindList = res.data.rows
this.total = res.total this.total = res.data.total
this.loading = false this.loading = false
}, },
// //

View File

@ -393,8 +393,8 @@ export default {
this.queryParams.statusList=[3,13,4,14,19] this.queryParams.statusList=[3,13,4,14,19]
// this.queryParams.modelName="" // this.queryParams.modelName=""
getPurchaseList(this.queryParams).then((response) => { getPurchaseList(this.queryParams).then((response) => {
this.tableList = response.rows this.tableList = response.data.rows
this.total = response.total this.total = response.data.total
this.loading = false this.loading = false
}) })
}, },