Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
cdsf-static-bg
Commits
23faf18a
Commit
23faf18a
authored
Oct 31, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理重复name问题
parent
6eed4852
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
publicCar.vue
src/containers/management/publicCar/publicCar.vue
+5
-2
No files found.
src/containers/management/publicCar/publicCar.vue
View file @
23faf18a
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
</el-form-item>
</el-form-item>
<el-form-item
class=
"col-line-3-1"
label=
"派车车牌"
label-width=
"100px"
>
<el-form-item
class=
"col-line-3-1"
label=
"派车车牌"
label-width=
"100px"
>
<el-select
class=
"w100"
v-if=
"editType"
v-model=
"selected.carPlateList"
filterable
clearable
multiple
placeholder=
"派车车牌"
>
<el-select
class=
"w100"
v-if=
"editType"
v-model=
"selected.carPlateList"
filterable
clearable
multiple
placeholder=
"派车车牌"
>
<el-option
v-for=
"item in carPlateOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.
name
"
>
<el-option
v-for=
"item in carPlateOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.
id
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
v-else
>
{{selected.carPlate}}
</span>
<span
v-else
>
{{selected.carPlate}}
</span>
...
@@ -313,10 +313,13 @@ export default {
...
@@ -313,10 +313,13 @@ export default {
?
`不同意 -
${
this
.
selected
.
dealOpinion
}
`
?
`不同意 -
${
this
.
selected
.
dealOpinion
}
`
:
`不同意 - 无车可派送`
;
:
`不同意 - 无车可派送`
;
}
}
let
carPlate
=
this
.
selected
.
carPlateList
.
map
(
id
=>
this
.
carPlateOptions
.
find
(
i
=>
i
.
id
===
id
).
name
);
const
entity
=
{
const
entity
=
{
userId
:
this
.
userInfo
.
id
,
userId
:
this
.
userInfo
.
id
,
id
:
this
.
selected
.
id
,
id
:
this
.
selected
.
id
,
carPlate
:
this
.
selected
.
carPlateList
.
join
(
','
),
carPlate
:
carPlate
.
join
(
','
),
startKilometers
:
this
.
selected
.
startKilometers
,
startKilometers
:
this
.
selected
.
startKilometers
,
stopKilometers
:
this
.
selected
.
stopKilometers
,
stopKilometers
:
this
.
selected
.
stopKilometers
,
trueKilometers
:
this
.
selected
.
trueKilometers
,
trueKilometers
:
this
.
selected
.
trueKilometers
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment