Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
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 2f277c3c
authored
Feb 24, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
e323d0fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/work/edit.vue
src/views/work/edit.vue
View file @
2f277c3
...
...
@@ -83,7 +83,7 @@
<template
v-for=
"(item,index) in editForm.snList"
>
<div
class=
"form_flex form_device_flex"
:key=
"index"
>
<el-form-item
label=
"设备SN号:"
:prop=
"'snList.' + index + '.sn'"
:rules=
"deviceRules"
>
<el-input
v-model=
"item.sn"
maxlength=
"20"
placeholder=
"请输入设备号"
></el-input>
<el-input
v-model=
"item.sn"
maxlength=
"20"
placeholder=
"请输入设备号"
:disabled=
"editForm.orderStatus == 5"
></el-input>
</el-form-item>
<el-form-item
label=
"设备型号:"
:prop=
"'snList.' + index + '.deviceClassifyName'"
:rules=
"[
{ required: true, message: '未识别到正确设备型号', trigger:['blur','change']}]">
<el-input
v-model=
"item.deviceClassifyName"
disabled
></el-input>
...
...
@@ -124,7 +124,7 @@
<plate-number-input
v-model=
"editForm.plateNo"
:disabled=
"editForm.orderStatus == 2"
></plate-number-input>
</el-form-item>
<el-form-item
label=
"车架号:"
prop=
"vin"
>
<el-input
v-model
.
trim=
"editForm.vin"
maxlength=
"17"
placeholder=
"请输入"
:disabled=
"
editForm.orderStatus == 2
"
></el-input>
<el-input
v-model
.
trim=
"editForm.vin"
maxlength=
"17"
placeholder=
"请输入"
:disabled=
"
isDisabled
"
></el-input>
</el-form-item>
</div>
<div
class=
"form_flex"
>
...
...
@@ -663,8 +663,10 @@ export default {
oParams
.
orgId
=
o
.
orgId
;
oParams
.
activateType
=
type
||
1
;
oParams
.
workOrderDocs
=
o
.
workOrderDocs
;
oParams
.
plateNo
=
o
.
plateNo
;
oParams
.
vin
=
o
.
vin
;
if
(
!
type
)
{
oParams
.
plateNo
=
o
.
plateNo
;
}
//oParams.vin = o.vin;
ACTIVATE_WORKORDER_INFO
(
oParams
).
then
((
res
)
=>
{
if
(
res
.
code
!=
200
)
{
...
...
@@ -786,7 +788,7 @@ export default {
// 批量查询校验sn
batchCheckDevices
(
arr
)
{
let
_this
=
this
;
if
(
this
.
type
!=
4
)
{
if
(
this
.
type
!=
4
)
{
return
false
;
}
if
(
!
arr
||
arr
.
length
<=
0
)
{
...
...
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