商品统计问题

This commit is contained in:
xk_chenlianjie
2024-01-30 13:47:37 +08:00
parent 04b592cdd5
commit e5fa80db14
2 changed files with 4 additions and 4 deletions

View File

@@ -117,10 +117,10 @@ export default {
data: page data: page
}) })
}, },
getProductByPage(page) { getProductPage(page) {
// 商品销售列表 // 商品销售列表
return request({ return request({
url: `/${service_name}/mallProductInfo/getByPage`, url: `/${service_name}/mallProductInfo/getPage`,
method: 'post', method: 'post',
data: page data: page
}) })

View File

@@ -386,7 +386,7 @@ export default {
}, },
// 商品销售列表 // 商品销售列表
async getList() { async getList() {
await marketingApi.getProductByPage(this.page).then(res => { await marketingApi.getProductPage(this.page).then(res => {
if ((res.code = 20000)) ({ list: this.tableList = [], totalCount: this.page.totalCount = 0 } = res.data) if ((res.code = 20000)) ({ list: this.tableList = [], totalCount: this.page.totalCount = 0 } = res.data)
}) })
console.log('tableList', this.tableList) console.log('tableList', this.tableList)