yyw提交

This commit is contained in:
DESKTOP-8FGKA8Q\chunfen 2024-12-09 17:07:20 +08:00
parent 964ac2af6a
commit fd26bc2568

View File

@ -286,10 +286,16 @@ export default {
this.downloadLoading = true
let params = {
type: this.time_type == 'day' ? 1 : 2,
start_day: this.startTime,
end_day: this.endTime,
page: 1,
per_page: this.total
per_page: this.total,
sku_id: this.sku_id
}
if(params.type == 1) {
params.start_time = this.startTime
params.end_time = this.endTime
} else {
params.start_day = this.startTime
params.end_day = this.endTime
}
getSkuSalesCount(params).then((res) => {
if(!res.data.data.data.length) {