Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ed1745d9
authored
Mar 27, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 测试问题修改
1 parent
c9f285e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
aus-front/admin/src/views/detection/order/components/OrderAddForm.vue
aus-front/admin/src/views/detection/order/components/OrderAddForm.vue
View file @
ed1745d
...
...
@@ -11,9 +11,11 @@
<a-spin
:spinning=
"submitted"
style=
"margin-top: 16px;"
>
<a-form
layout=
"vertical"
:model=
"postData"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
ref=
"formRef"
>
<a-form-item
name=
"vehicleId"
style=
"width: 100%;"
label=
"车辆信息"
<a-form-item
v-if=
"!postData.vehicleId"
name=
"vehicleId"
style=
"width: 100%;"
label=
"车辆信息"
:rules=
"[{ required: true, message: '请选择车辆' }]"
>
<a-button
v-if=
"!postData.vehicleId"
@
click=
"addVehicle()"
>
选择车辆
</a-button>
</a-form-item>
<a-form-item
v-if=
"postData.vehicleId"
name=
"vehicleId"
style=
"width: 100%;"
label=
"车辆信息"
>
<div
v-if=
"postData.vehicleId"
class=
"vehicleData"
>
<div
v-if=
"!postData.id"
class=
"vehicleDelete"
>
<a-button
type=
"link"
title=
"点击删除车辆"
@
click=
"deleteVehicle()"
>
删除
</a-button>
...
...
@@ -128,10 +130,6 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
this
.
inspectorData
.
custodianName
=
data
?.
vehicle
?.
custodianInfo
?.
custodianName
||
""
;
this
.
inspectorData
.
custodianPhone
=
data
?.
vehicle
?.
custodianInfo
?.
custodianPhone
||
""
;
this
.
inspectorData
.
handoverAddress
=
data
?.
vehicle
?.
custodianInfo
?.
handoverAddress
||
""
;
//重置表单
setTimeout
(()
=>
{
this
.
$refs
.
formRef
.
resetFields
()
},
500
);
this
.
dialogVisible
=
true
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment