From f7699f76bd84fdcf6cc695657108c2014c8cb82e Mon Sep 17 00:00:00 2001
From: xiao-fajia <1665375861@qq.com>
Date: Fri, 20 Sep 2024 16:21:46 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/repair/tickets/Tickets.js | 10 +
src/views/repair/Components/StaffChoose.vue | 2 +-
.../repair/tickets/Components/TicketItem.vue | 139 +++++++++--
.../repair/tickets/Components/UserInfo.vue | 235 ++++++++++++++++--
4 files changed, 341 insertions(+), 45 deletions(-)
diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js
index 543ea86..5da9083 100644
--- a/src/api/repair/tickets/Tickets.js
+++ b/src/api/repair/tickets/Tickets.js
@@ -1 +1,11 @@
import request from '@/utils/request'
+
+const preUrl = '/repair/tickets'
+
+export function createTickets(data){
+ return request({
+ url: preUrl + "/create",
+ method: "post",
+ data
+ })
+}
diff --git a/src/views/repair/Components/StaffChoose.vue b/src/views/repair/Components/StaffChoose.vue
index b5a6d14..221ecd4 100644
--- a/src/views/repair/Components/StaffChoose.vue
+++ b/src/views/repair/Components/StaffChoose.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/views/repair/tickets/Components/TicketItem.vue b/src/views/repair/tickets/Components/TicketItem.vue
index 0f9246e..64d8332 100644
--- a/src/views/repair/tickets/Components/TicketItem.vue
+++ b/src/views/repair/tickets/Components/TicketItem.vue
@@ -18,22 +18,74 @@
-
+
+
+
+ {{ scope.row.count }}
+
+
-
-
-
-
-
-
-
-
+
+
+
+ {{ scope.row.price }}
+
+
+
+
+
+ {{ scope.row.discount }}
+
+
+
+
+
+ {{ scope.row.totalPrice }}
+
+
+
+
+
+ {{ scope.row.repair ? scope.row.repair.name : scope.row.repair }}
+
+
+
+
+
+ {{ scope.row.sale ? scope.row.sale.name : scope.row.sale }}
+
+
+
+
+
+ {{ scope.row.type }}
+
+
+
+
+
+ {{ scope.row.accountType }}
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.remark }}
+
+
- 新增
- 删除
@@ -44,12 +96,13 @@