diff --git a/fuintAdmin_zt/src/api/allOrder.js b/fuintAdmin_zt/src/api/allOrder.js index d83760bde..98abf5ba4 100644 --- a/fuintAdmin_zt/src/api/allOrder.js +++ b/fuintAdmin_zt/src/api/allOrder.js @@ -9,6 +9,15 @@ export function getOrderListApi(query) { }) } + +export function getOrderListApis(query) { + return request({ + url: 'business/allOrderInfo/getPageLists', + method: 'get', + params: query + + }) +} // 分页查询所有的订单信息 export function getSumPayMoneyApi(query) { return request({ diff --git a/fuintAdmin_zt/src/views/components/Service/allOrder.vue b/fuintAdmin_zt/src/views/components/Service/allOrder.vue index 793eeb64f..ed0362826 100644 --- a/fuintAdmin_zt/src/views/components/Service/allOrder.vue +++ b/fuintAdmin_zt/src/views/components/Service/allOrder.vue @@ -13,51 +13,42 @@ /> - - - - - - - - - - + + + + + + + + + + + + + - + - + + + + + @@ -86,44 +77,23 @@ - - + - - + - - - - - - + @@ -140,9 +110,9 @@ - + @@ -165,7 +135,7 @@ import {getName} from "../../../utils/fuint"; import {addStaff, delStaff, getStaff, listStaff, updateStaff} from "../../../api/staff/staff"; // import {getDuty, listDuty} from "@/api/staff/duty"; - import { getOrderListApi,getSumPayMoneyApi } from "../../../api/allOrder"; + import { getOrderListApis,getSumPayMoneyApi } from "../../../api/allOrder"; export default { name: "asdf", dicts: ['transaction','handover','handover_quit','payment_type','pay_status', @@ -251,7 +221,7 @@ getList() { this.loading = true; this.queryParams.storeId = this.id - getOrderListApi(this.addDateRange(this.queryParams, this.dateRange)).then(response => { + getOrderListApis(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.list = response.data.records; this.total = response.data.total; this.getSumPayMoney() diff --git a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue index 27382e8cb..cc1892bce 100644 --- a/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue +++ b/fuintAdmin_zt/src/views/financialStatement/dai_yunyingfenxi/tab/paytype.vue @@ -198,7 +198,7 @@ export default { start.setMinutes(0) start.setSeconds(0) start.setMilliseconds(0) - this.value2 = [start, new Date()]; + this.value2 = [parseTime(start),parseTime(new Date())]; } else if (this.timeList[index] == '近一周') { let nowDate = new Date(); let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000) diff --git a/fuintAdmin_zt/src/views/financialStatement/jiaoyiduizhang/tab/int.vue b/fuintAdmin_zt/src/views/financialStatement/jiaoyiduizhang/tab/int.vue index 593f50bca..68377980a 100644 --- a/fuintAdmin_zt/src/views/financialStatement/jiaoyiduizhang/tab/int.vue +++ b/fuintAdmin_zt/src/views/financialStatement/jiaoyiduizhang/tab/int.vue @@ -7,20 +7,20 @@ - - - + + + @@ -30,7 +30,7 @@ @@ -42,11 +42,11 @@ - - - + + + @@ -82,12 +82,12 @@ - +