mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
yyw提交
This commit is contained in:
parent
964ac2af6a
commit
fd26bc2568
@ -286,10 +286,16 @@ export default {
|
|||||||
this.downloadLoading = true
|
this.downloadLoading = true
|
||||||
let params = {
|
let params = {
|
||||||
type: this.time_type == 'day' ? 1 : 2,
|
type: this.time_type == 'day' ? 1 : 2,
|
||||||
start_day: this.startTime,
|
|
||||||
end_day: this.endTime,
|
|
||||||
page: 1,
|
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) => {
|
getSkuSalesCount(params).then((res) => {
|
||||||
if(!res.data.data.data.length) {
|
if(!res.data.data.data.length) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user