diff --git a/src/views/repair/tickets/Components/UserInfo.vue b/src/views/repair/tickets/Components/UserInfo.vue
index 7a94c43..942f3a1 100644
--- a/src/views/repair/tickets/Components/UserInfo.vue
+++ b/src/views/repair/tickets/Components/UserInfo.vue
@@ -139,6 +139,12 @@
+
+
+ 接车图片
+
+
+
@@ -397,6 +403,7 @@ export default {
rescueMoney: 0,
threePackMoney: 0,
confirmFaultMoney: 0,
+ image: null
},
selectUser: {},
selectCar: {},
@@ -485,6 +492,15 @@ export default {
if (count > 0){
return
}
+ if (!this.formData.image){
+ this.$modal.msgError("接车图片不能为空")
+ return
+ }else{
+ const data = this.formData.image.split(",")
+ this.formData.image = data.map(item => {
+ return item.replace(process.env.VUE_APP_FILE_API, "")
+ }).join(",")
+ }
await createTickets(this.formData)
this.$modal.msgSuccess("新增成功")
this.init()
@@ -539,6 +555,7 @@ export default {
rescueMoney: 0,
threePackMoney: 0,
confirmFaultMoney: 0,
+ image: null
}
this.selectUser = {}
this.selectCar = {}