Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 ef16a493
authored
Apr 16, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
76eafe64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/vehicleList.vue
View file @
ef16a49
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
class=
"search_box"
>
<div
class=
"search_box"
>
<el-form
:inline=
"true"
size=
"small"
>
<el-form
:inline=
"true"
size=
"small"
>
<el-form-item
label=
"关键字"
>
<el-form-item
label=
"关键字"
>
<el-input
v-model=
"searchForm.keywords"
class=
"long_input"
placeholder=
"车主姓名|车架号|设备号|车型"
></el-input>
<el-input
v-model
.
trim
=
"searchForm.keywords"
class=
"long_input"
placeholder=
"车主姓名|车架号|设备号|车型"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备类型:"
>
<el-form-item
label=
"设备类型:"
>
<el-select
v-model=
"searchForm.deviceType"
class=
"small_select"
>
<el-select
v-model=
"searchForm.deviceType"
class=
"small_select"
>
...
@@ -903,7 +903,7 @@ export default {
...
@@ -903,7 +903,7 @@ export default {
//this.snForm.deviceArr = [{ sn: "", deviceType: "" }];
//this.snForm.deviceArr = [{ sn: "", deviceType: "" }];
//this.snForm.deviceInfoDtos = [{}];
//this.snForm.deviceInfoDtos = [{}];
this
.
snForm
=
{}
this
.
snForm
=
{}
;
this
.
$set
(
this
.
snForm
,
"deviceInfoDtos"
,
[
this
.
$set
(
this
.
snForm
,
"deviceInfoDtos"
,
[
{
sn
:
""
,
deviceClassifyName
:
""
},
{
sn
:
""
,
deviceClassifyName
:
""
},
]);
]);
...
@@ -1593,7 +1593,12 @@ export default {
...
@@ -1593,7 +1593,12 @@ export default {
}
}
let
i
=
rule
.
field
.
split
(
"."
)[
1
];
let
i
=
rule
.
field
.
split
(
"."
)[
1
];
verifydevice
({
sn
:
value
}).
then
((
res
)
=>
{
let
oParams
=
{};
oParams
.
sn
=
value
;
if
(
_this
.
snForm
.
id
)
{
oParams
.
vehicleId
=
_this
.
snForm
.
id
;
}
verifydevice
(
oParams
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
checkSn
({
sn
:
value
}).
then
((
res
)
=>
{
checkSn
({
sn
:
value
}).
then
((
res
)
=>
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
...
...
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