代码更新
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
import datePickerview from './components/my-date-pickerview.vue'
|
||||
import dayjs from 'dayjs' //时间格式库
|
||||
import go from '@/commons/utils/go.js'
|
||||
import { getTrade, productSaleDate } from '@/api/summary.js'
|
||||
import { getTrade, productSaleDate } from '@/http/api/summary.js'
|
||||
|
||||
const timeList = [{
|
||||
label: '今天',
|
||||
@@ -150,8 +150,8 @@
|
||||
endTime = e + ' 23:59:59'
|
||||
}
|
||||
getTrade({
|
||||
beginTime: startTime,
|
||||
endTime: endTime,
|
||||
beginDate: startTime,
|
||||
endDate: endTime,
|
||||
}).then((res) => {
|
||||
list.value = res
|
||||
})
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<script setup>
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { productSaleDate } from '@/api/summary.js'
|
||||
import { productSaleDate } from '@/http/api/summary.js'
|
||||
|
||||
let tableList = ref([])
|
||||
let props = defineProps({
|
||||
|
||||
Reference in New Issue
Block a user