代码更新
This commit is contained in:
@@ -137,6 +137,9 @@
|
||||
} from 'vue';
|
||||
import dayjs from 'dayjs' //时间格式库
|
||||
import go from '@/commons/utils/go.js'
|
||||
import { productSaleDate } from '@/api/summary.js'
|
||||
|
||||
|
||||
const timeList = [{
|
||||
label: '今天',
|
||||
value: 'today'
|
||||
@@ -240,10 +243,9 @@
|
||||
} else if (selected.value == 'custom') {
|
||||
day.value = 30
|
||||
}
|
||||
dateProduct({
|
||||
shopId: uni.getStorageSync('shopId'),
|
||||
productSaleDate({
|
||||
day: day.value,
|
||||
page: 0,
|
||||
page: 1,
|
||||
size: 5
|
||||
}).then((res) => {
|
||||
tableList.value = res.productList.content
|
||||
|
||||
Reference in New Issue
Block a user