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
Show 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 {
...
@@ -30,6 +30,10 @@ export default {
type
:
Object
,
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{}
},
},
middleForm
:
{
type
:
Object
,
default
:
()
=>
{}
},
value
:
{
value
:
{
type
:
[
Number
,
String
,
Object
],
type
:
[
Number
,
String
,
Object
],
default
:
()
=>
''
default
:
()
=>
''
...
@@ -43,16 +47,17 @@ export default {
...
@@ -43,16 +47,17 @@ export default {
},
},
computed
:
{},
computed
:
{},
watch
:
{
watch
:
{
form
:
{
'form.sorties'
:
{
immediate
:
true
,
immediate
:
true
,
deep
:
true
,
deep
:
true
,
handler
(
val
)
{
handler
(
val
)
{
if
(
val
.
aircraftType
&&
val
.
sorties
)
{
console
.
log
(
'val'
,
val
)
if
(
val
)
{
const
params
=
{
const
params
=
{
searchItems
:
{
searchItems
:
{
items
:
[
items
:
[
{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
aircraftType
},
{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
aircraftType
.
split
(
'+'
)[
0
]
},
{
'fieldName'
:
'aircraftSortiesId'
,
operator
:
'EQ'
,
value
:
val
.
s
orties
}
{
'fieldName'
:
'aircraftSortiesId'
,
operator
:
'EQ'
,
value
:
val
.
s
plit
(
'+'
)[
0
]
}
],
],
operator
:
'AND'
operator
:
'AND'
}
}
...
@@ -70,7 +75,6 @@ export default {
...
@@ -70,7 +75,6 @@ export default {
}
}
},
},
created
()
{
created
()
{
// 初始化数据
},
},
methods
:
{
methods
:
{
changeVal
()
{
changeVal
()
{
...
...
applications/dee-mes/src/privateComponents/components/OutStorageOfferDetail/index.vue
View file @
85444f35
...
@@ -132,8 +132,12 @@ export default {
...
@@ -132,8 +132,12 @@ export default {
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
occupy
()
{
occupy
()
{
const
form
=
{
...
this
.
form
}
form
.
aircraftType
=
form
.
aircraftType
.
split
(
'+'
)[
1
]
form
.
sorties
=
form
.
sorties
.
split
(
'+'
)[
1
]
const
param
=
{
const
param
=
{
...
this
.
form
,
...
form
,
inStorageRequestItems
:
this
.
tableData
,
inStorageRequestItems
:
this
.
tableData
,
subTypeName
:
'OutStorageOut'
,
subTypeName
:
'OutStorageOut'
,
operator
:
'ADD'
operator
:
'ADD'
...
...
applications/dee-mes/src/privateComponents/components/getSortiesSelect/index.vue
View file @
85444f35
...
@@ -30,6 +30,10 @@ export default {
...
@@ -30,6 +30,10 @@ export default {
type
:
Object
,
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{}
},
},
middleForm
:
{
type
:
Object
,
default
:
()
=>
{}
},
value
:
{
value
:
{
type
:
[
Number
,
String
,
Object
],
type
:
[
Number
,
String
,
Object
],
default
:
()
=>
''
default
:
()
=>
''
...
@@ -43,21 +47,21 @@ export default {
...
@@ -43,21 +47,21 @@ export default {
},
},
computed
:
{},
computed
:
{},
watch
:
{
watch
:
{
form
:
{
'form.aircraftType'
:
{
immediate
:
true
,
immediate
:
true
,
deep
:
true
,
deep
:
true
,
handler
(
val
)
{
handler
(
val
)
{
if
(
val
.
aircraftType
)
{
if
(
val
)
{
const
params
=
{
const
params
=
{
searchItems
:
{
searchItems
:
{
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
aircraftType
}],
items
:
[{
'fieldName'
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
val
.
split
(
'+'
)[
0
]
}],
operator
:
'AND'
operator
:
'AND'
}
}
}
}
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
).
then
(
res
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
this
.
options
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
return
{
value
:
row
.
id
,
value
:
row
.
id
+
'+'
+
row
.
defName
,
label
:
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