This commit is contained in:
GaoHao
2025-03-10 17:26:39 +08:00
parent 490c513f48
commit cc97b6acca
26 changed files with 258 additions and 305 deletions

View File

@@ -35,18 +35,16 @@
</template>
<script setup>
import { getCurrentInstance, ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import {
summaryTrade,
} from '@/http/yskApi/requestAll.js';
import dayjs from 'dayjs' //时间格式库
import {
getCurrentInstance,
ref
} from 'vue';
import datePickerview from './my-date-pickerview.vue'
import {
onShow
} from '@dcloudio/uni-app';
import { getTrade } from '@/api/summary.js'
let selected = ref('today')
let showAll = ref(false);
let $list = []
@@ -121,10 +119,9 @@
startTime = s + ' 00:00:00'
endTime = e + ' 23:59:59'
}
summaryTrade({
shopId: uni.getStorageSync('shopId'),
startTime,
endTime,
getTrade({
beginTime: startTime,
endTime: endTime,
}).then((res) => {
$list = res.sale.payCount
setList()