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
85444f35
Commit
85444f35
authored
Aug 14, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
供外出库
parent
855b3b0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
10 deletions
+22
-10
index.vue
...rc/privateComponents/components/JobNumberSelect/index.vue
+9
-5
index.vue
...vateComponents/components/OutStorageOfferDetail/index.vue
+5
-1
index.vue
...c/privateComponents/components/getSortiesSelect/index.vue
+8
-4
No files found.
applications/dee-mes/src/privateComponents/components/JobNumberSelect/index.vue
View file @
85444f35
...
...
@@ -30,6 +30,10 @@ export default {
type
:
Object
,
default
:
()
=>
{}
},
middleForm
:
{
type
:
Object
,
default
:
()
=>
{}
},
value
:
{
type
:
[
Number
,
String
,
Object
],
default
:
()
=>
''
...
...
@@ -43,16 +47,17 @@ export default {
},
computed
:
{},
watch
:
{
form
:
{
'form.sorties'
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
.
aircraftType
&&
val
.
sorties
)
{
console
.
log
(
'val'
,
val
)
if
(
val
)
{
const
params
=
{
searchItems
:
{
items
:
[
{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
aircraftType
},
{
'fieldName'
:
'aircraftSortiesId'
,
operator
:
'EQ'
,
value
:
val
.
s
orties
}
{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
aircraftType
.
split
(
'+'
)[
0
]
},
{
'fieldName'
:
'aircraftSortiesId'
,
operator
:
'EQ'
,
value
:
val
.
s
plit
(
'+'
)[
0
]
}
],
operator
:
'AND'
}
...
...
@@ -70,7 +75,6 @@ export default {
}
},
created
()
{
// 初始化数据
},
methods
:
{
changeVal
()
{
...
...
applications/dee-mes/src/privateComponents/components/OutStorageOfferDetail/index.vue
View file @
85444f35
...
...
@@ -132,8 +132,12 @@ export default {
this
.
dialogVisible
=
false
},
occupy
()
{
const
form
=
{
...
this
.
form
}
form
.
aircraftType
=
form
.
aircraftType
.
split
(
'+'
)[
1
]
form
.
sorties
=
form
.
sorties
.
split
(
'+'
)[
1
]
const
param
=
{
...
this
.
form
,
...
form
,
inStorageRequestItems
:
this
.
tableData
,
subTypeName
:
'OutStorageOut'
,
operator
:
'ADD'
...
...
applications/dee-mes/src/privateComponents/components/getSortiesSelect/index.vue
View file @
85444f35
...
...
@@ -30,6 +30,10 @@ export default {
type
:
Object
,
default
:
()
=>
{}
},
middleForm
:
{
type
:
Object
,
default
:
()
=>
{}
},
value
:
{
type
:
[
Number
,
String
,
Object
],
default
:
()
=>
''
...
...
@@ -43,21 +47,21 @@ export default {
},
computed
:
{},
watch
:
{
form
:
{
'form.aircraftType'
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
.
aircraftType
)
{
if
(
val
)
{
const
params
=
{
searchItems
:
{
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
aircraftType
}],
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
split
(
'+'
)[
0
]
}],
operator
:
'AND'
}
}
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
value
:
row
.
id
,
value
:
row
.
id
+
'+'
+
row
.
defName
,
label
:
row
.
defName
}
})
...
...
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