From 220d9d4fd8d3420df180154b8ab176fe7d4fda9d Mon Sep 17 00:00:00 2001
From: sundongyu <2811054731@qq.com>
Date: Sun, 7 Apr 2024 22:15:44 +0800
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=E6=B7=BB=E5=8A=A0=E4=BA=86?=
=?UTF-8?q?=E5=8F=91=E7=A5=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/receivables-management/Bill.vue | 354 ++++++++++++++++++
.../receivables-management/billCollected.vue | 8 +-
src/router/modules/receivables-management.js | 6 +
3 files changed, 366 insertions(+), 2 deletions(-)
create mode 100644 src/pages/receivables-management/Bill.vue
diff --git a/src/pages/receivables-management/Bill.vue b/src/pages/receivables-management/Bill.vue
new file mode 100644
index 0000000..92c932d
--- /dev/null
+++ b/src/pages/receivables-management/Bill.vue
@@ -0,0 +1,354 @@
+
+
+
+
+
+
+
+ xxx增值税电子普通发票
+
+
+
+
+
+
+
+
缴费方
+
+
+ -
+ {{ InvoiceData.xname }}
+
+ -
+ {{ InvoiceData.xstudent }}
+
+ -
+
+
+ -
+
+
+
+
+
缴费方
+
+
+ -
+ {{ InvoiceData.xdepartment }}
+
+ -
+ {{ InvoiceData.xgrade }}
+
+
+
+
+
+
+
价税合计(大写)
+
+
+
+ (小写)
+ ¥
+
+
+
+
+
收费方
+
+
+ - xxxxxxx学院
+ -
+ 12443536377484848
+
+ -
+ 11223443532
+
+ - 中国农业银行
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/receivables-management/billCollected.vue b/src/pages/receivables-management/billCollected.vue
index e5bf965..e6f4b67 100644
--- a/src/pages/receivables-management/billCollected.vue
+++ b/src/pages/receivables-management/billCollected.vue
@@ -22,11 +22,11 @@
import { ref, computed } from 'vue'
import { Input, Select } from 'tdesign-vue-next'
import { useRoute } from 'vue-router'
+import { useRouter } from 'vue-router'
import dayjs from 'dayjs'
const route = useRoute()
-console.log(route.query)
-
+const router = useRouter()
const initData = new Array(1).fill(null).map((_, i) => ({
key: String(i + 1),
//学生姓名
@@ -188,6 +188,10 @@ const columns = computed(() => [
}
])
const handleEdit = row => {
+ router.push({
+ path: 'bill-bill',
+ query: row
+ })
console.log(row)
}
diff --git a/src/router/modules/receivables-management.js b/src/router/modules/receivables-management.js
index f6991c7..29290d8 100644
--- a/src/router/modules/receivables-management.js
+++ b/src/router/modules/receivables-management.js
@@ -20,6 +20,12 @@ const ReceivablesManagement = [
name: "BillCollected",
component: () => import("@/pages/receivables-management/billCollected.vue"),
meta: { title: "票据收款", hidden: false },
+ },
+ {
+ path: "/bill-bill",
+ name: "BillBill",
+ component: () => import("@/pages/receivables-management/Bill.vue"),
+ meta: { title: "票据", hidden: false },
}
],
},