diff --git a/fuintAdmin/src/views/handover/info/rec/trading.vue b/fuintAdmin/src/views/handover/info/rec/trading.vue index ba07af3b1..22264a062 100644 --- a/fuintAdmin/src/views/handover/info/rec/trading.vue +++ b/fuintAdmin/src/views/handover/info/rec/trading.vue @@ -15,9 +15,27 @@ + + + + + + + + + + + + + + @@ -42,7 +60,7 @@ - + + + + + + + + - - - - - + + + - - - - - - + + + + + - - 至 - + v-model="queryParams.dataRange" + type="daterange" + range-separator="至" + start-placeholder="开始日期" + end-placeholder="结束日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + > 搜索 重置 - 导出 + 导出 - + {{ wechat}}/{{ wechats}} - 微信收款(元)/笔数 + 微信收款(元)/ 笔数 - + {{ orderStatistics.alipay?orderStatistics.alipay:0 }}/0 - 支付宝收款(元)/笔数 + 支付宝收款(元)/ 笔数 - + {{ orderStatistics.balance?orderStatistics.balance:0 }}/0 - 云闪付收款(元)/笔数 + 云闪付收款(元)/ 笔数 - + {{orderStatistics.balanceCount?orderStatistics.balanceCount:0}}/0 - pos机收款(元)/笔数 + pos机收款(元)/ 笔数 - + {{ orderStatistics.cash?orderStatistics.cash:0 }}/0 - 现金收款(元)/笔数 + 现金收款(元)/ 笔数 - + {{orderStatistics.cashcount?orderStatistics.cashcount:0}}/0 - 会员消费(元)/笔数 + 会员消费(元)/ 笔数 - - 999999/999999999999 + + 0/0 - 挂帐收款(元)/笔数 + 挂帐收款(元)/ 笔数 @@ -225,7 +247,7 @@ -- - + 现金 @@ -319,15 +341,22 @@ import { exportExcelTradingApi, getmyDataApi, getRunningWaterByTissueApi, getTissueByDataApi, - getTradingPageApi + getTradingPageApi, + transactionList, + getDicts, + getStaffByStorId } from "@/api/allOrder"; export default { name: "reconciliation-trading", data(){ return{ - wechat:999999999999999, - wechats:999999999999999, + + dict:{}, + + + wechat:0, + wechats:0, radio1:"油号选错", loading:false, dialogVisible:false, @@ -387,8 +416,28 @@ export default { // this.getList(); + this.getDicts(); + this.getStaffByStorId(); + }, methods:{ + + async getDicts() { + getDicts("payment_channel").then(response => { + this.dict = response.data; + }) + getDicts("payment_type").then(response => { + this.dictPayType = response.data; + }) + }, + + async getStaffByStorId() { + getStaffByStorId().then(response => { + this.staffList = response.data; + }) + }, + + async getDeptList() { // getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => { // this.deptList = response.data.records; @@ -426,22 +475,16 @@ export default { }, // 获取列表信息 - async getList(val){ - // await this.getDeptList() - let dateRange = [] - if (this.beginTime && this.endTime) { - dateRange.push(this.beginTime.toLocaleDateString()) - dateRange.push(this.endTime.toLocaleDateString()) - } - getTradingPageApi(this.addDateRange(this.queryParams,dateRange)).then( response => { + async getList(val) { + transactionList(this.queryParams).then(response => { this.orderList = response.data.records; this.total = response.data.total; this.isSysDate = false - // this.getDeptList() - this.getOrderStatistics() - }) }, + + + getOrdersInfo(data) { this.dialogVisible = true; this.ordersInfo = data diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml index 71cddb122..ec9d361ea 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/mapper/xml/AllOrderInfoMapper.xml @@ -856,6 +856,7 @@ SELECT ai.*, mu.NAME AS userName, + mu.mobile AS userMobile, mc.merchant_name as merchantName, mt.account_name as createBy FROM