Merge pull request 'chenlianjie' (#11) from chenlianjie into master

Reviewed-on: #11
pull/12/head^2
陈连杰 10 months ago
commit b1c338f5c1
  1. 4
      src/api/finance/marketing.js
  2. 2
      src/views/statistics/productStatisticsList.vue

@ -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
}) })

@ -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)

Loading…
Cancel
Save