diff --git a/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue b/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue index 073c00e67..21b690b6f 100644 --- a/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue +++ b/fuintAdmin/src/views/financialStatement/reconciliation/tab/trading.vue @@ -8,7 +8,7 @@ @@ -23,23 +23,37 @@ clearable placeholder="请选择订单分类" > - - - + + + + + + + + - + + + + + + + + + + + + - - - - - + + @@ -53,16 +67,25 @@ - - - - - - + + + + + + + + + + + + + + @@ -77,15 +100,7 @@ - - - - - + 支付失败 - + @@ -300,13 +315,17 @@ import { exportExcelTradingApi, orderStatistics, - transactionList + transactionList, + getDicts } from "@/api/allOrder"; +import {getStaffByStorId} from "../../../../api/allOrder"; export default { name: "reconciliation-trading", data() { return { + dict:{}, + dictPayType:{}, map:{}, radio1: "油号选错", loading: false, @@ -369,8 +388,11 @@ export default { }, methods: { + async getDeptList() { this.getList() + this.getDicts() + this.getStaffByStorId() }, exportExcelCashier() { let dateRange = [] @@ -411,6 +433,24 @@ export default { }) }, + + + // 获取字典 + 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; + }) + }, getOrdersInfo(data) { this.dialogVisible = true; this.ordersInfo = data