Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
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
TFMOM
TF-MOM-WEB
Commits
bc4abd3a
Commit
bc4abd3a
authored
Mar 14, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
材料领用记录增加增删改操作
parent
ac77f9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
index.vue
.../src/privateComponents/components/StationSelect/index.vue
+13
-7
No files found.
applications/dee-mes/src/privateComponents/components/StationSelect/index.vue
View file @
bc4abd3a
...
@@ -38,6 +38,10 @@ export default {
...
@@ -38,6 +38,10 @@ export default {
disabled
:
{
disabled
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
item
:
{
type
:
Object
,
default
:
()
=>
{}
}
}
},
},
data
()
{
data
()
{
...
@@ -52,7 +56,9 @@ export default {
...
@@ -52,7 +56,9 @@ export default {
immediate
:
true
,
immediate
:
true
,
deep
:
true
,
deep
:
true
,
handler
(
val
)
{
handler
(
val
)
{
this
.
$set
(
this
.
form
,
'positionNumber'
,
''
)
if
(
this
.
item
.
key
!==
'position'
)
{
this
.
$set
(
this
.
form
,
'positionNumber'
,
''
)
}
val
&&
this
.
getOptions
()
val
&&
this
.
getOptions
()
}
}
}
}
...
@@ -73,7 +79,7 @@ export default {
...
@@ -73,7 +79,7 @@ export default {
},
},
'openProps'
:
[
'openProps'
:
[
{
{
'name'
:
'extPosition
Sorties
'
,
'name'
:
'extPosition'
,
'openProps'
:
[
'openProps'
:
[
{
{
'name'
:
'target'
'name'
:
'target'
...
@@ -85,11 +91,11 @@ export default {
...
@@ -85,11 +91,11 @@ export default {
this
.
options
=
[]
this
.
options
=
[]
this
.
loading
=
true
this
.
loading
=
true
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
if
(
res
&&
res
.
items
&&
res
.
items
.
content
&&
res
.
items
.
content
[
0
].
extPosition
Sorties
)
{
if
(
res
&&
res
.
items
&&
res
.
items
.
content
&&
res
.
items
.
content
[
0
].
extPosition
)
{
this
.
options
=
res
.
items
.
content
[
0
].
extPosition
Sorties
.
map
(
v
=>
(
v
.
target
&&
{
this
.
options
=
res
.
items
.
content
[
0
].
extPosition
.
map
(
v
=>
(
{
key
:
v
.
target
.
id
,
key
:
v
.
id
,
label
:
v
.
target
.
name
,
label
:
v
.
name
,
value
:
v
.
target
.
serialNumber
value
:
v
.
serialNumber
}))
}))
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
...
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