diff --git a/src/api/base/customer/index.js b/src/api/base/customer/index.js
index b666448..711b32a 100644
--- a/src/api/base/customer/index.js
+++ b/src/api/base/customer/index.js
@@ -67,11 +67,3 @@ export function exportCustomerMainExcel(params) {
responseType: 'blob'
})
}
-
-// 用户列表
-export function getCustomerList(){
- return request({
- url: "/base/custom/list",
- method: "get"
- })
-}
diff --git a/src/views/repair/Components/CarChoose.vue b/src/views/repair/Components/CarChoose.vue
new file mode 100644
index 0000000..3dd5fce
--- /dev/null
+++ b/src/views/repair/Components/CarChoose.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/repair/Components/PartChoose.vue b/src/views/repair/Components/PartChoose.vue
index 882e365..a86780a 100644
--- a/src/views/repair/Components/PartChoose.vue
+++ b/src/views/repair/Components/PartChoose.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,8 +22,14 @@
diff --git a/src/views/repair/tickets/Components/UserInfo.vue b/src/views/repair/tickets/Components/UserInfo.vue
index 6875b87..15e4f8a 100644
--- a/src/views/repair/tickets/Components/UserInfo.vue
+++ b/src/views/repair/tickets/Components/UserInfo.vue
@@ -10,85 +10,99 @@
用户选择
-
+
- 姓名
+ 车辆选择
-
+
手机
-
+
车架号
-
+
车牌
-
+
品牌车系
-
+
保险到期
-
+
+
年检到期
-
+
+
进厂时间
-
+
+
预计完工
-
+
+
上次里程
-
+
本次里程
-
+
备注
-
+
服务顾问
-
+
@@ -104,45 +118,52 @@
-
+
-
+
-
-
-
+
+
+
-
+
工单号
-
+
时间
-
+
+
备注
-
+
+ style="margin-left: 1rem;margin-top: 1rem">
0
0
0
@@ -162,7 +183,7 @@
备注
-
+
@@ -181,31 +202,49 @@
import UserChoose from "@/views/repair/Components/UserChoose.vue";
import StaffChoose from "@/views/repair/Components/StaffChoose.vue";
import TicketItem from "@/views/repair/tickets/Components/TicketItem.vue";
+import CarChoose from "@/views/repair/Components/CarChoose.vue";
+import {parseTime} from "../../../../utils/ruoyi";
export default {
name: "UserInfo",
- components: {TicketItem, StaffChoose, UserChoose},
- props:{
- createTicketType:{
+ components: {CarChoose, TicketItem, StaffChoose, UserChoose},
+ props: {
+ createTicketType: {
type: Boolean,
- defaultValue: true,
required: true,
}
},
+ watch: {
+ selectUser(val) {
+ if (!val) {
+ this.selectUser = {}
+ }
+ },
+ selectCar(val) {
+ if (!val) {
+ this.selectCar = {}
+ }
+ }
+ },
data() {
return {
- formData:{
+ formData: {
endCheck: 1,
- partDisposal:'01',
+ partDisposal: '01',
repairType: '01',
- }
+ ticketNo: null,
+ remark: null,
+ inTime: Date.now(),
+ outTime: null,
+ ticketTime: Date.now()
+ },
+ selectUser: {},
+ selectCar: {},
+ selectStaff: {},
}
},
methods: {
- // 选择用户
- getUser(data){
- console.log(data)
- }
+ parseTime
}
}
diff --git a/src/views/repair/tickets/CreateTicket.vue b/src/views/repair/tickets/CreateTicket.vue
index 989aabf..0682f83 100644
--- a/src/views/repair/tickets/CreateTicket.vue
+++ b/src/views/repair/tickets/CreateTicket.vue
@@ -6,11 +6,10 @@