From 1bae1749c7321c5666e003048ef31f546e8751f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com>
Date: Thu, 31 Oct 2024 08:51:34 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E9=93=B6=E5=8F=B0=E6=89=93=E5=8D=B0?=
=?UTF-8?q?=E5=B0=8F=E7=A5=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../reconciliation/tab/trading.vue | 110 ++++++++++++------
1 file changed, 75 insertions(+), 35 deletions(-)
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