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
1da96892
Commit
1da96892
authored
Jan 11, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领用出库增加FO领用和试验领用
parent
03b68bad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
AddOutStorageUseDetailDialog.vue
...ageUseDetails/components/AddOutStorageUseDetailDialog.vue
+9
-2
index.vue
...teComponents/components/AddOutStorageUseDetails/index.vue
+7
-3
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/components/AddOutStorageUseDetailDialog.vue
View file @
1da96892
...
...
@@ -69,18 +69,25 @@ export default {
'basicData.useRequestType'
:
{
immediate
:
true
,
handler
(
val
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
switch
(
val
)
{
case
'useAO'
:
case
'noAO'
:
case
'materialUse'
:
this
.
amountItemLabel
=
'申领数量'
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
break
case
'noAO'
:
case
'testUse'
:
case
'FOUse'
:
this
.
amountItemLabel
=
'申领数量'
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_noAO`
)
break
case
'swapUse'
:
this
.
amountItemLabel
=
'换件数量'
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
break
case
'scrapUse'
:
this
.
amountItemLabel
=
'报废数量'
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
break
default
:
break
...
...
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/index.vue
View file @
1da96892
...
...
@@ -117,10 +117,14 @@ export default {
deep
:
true
,
handler
(
val
)
{
if
(
val
&&
val
.
useRequestType
)
{
if
(
val
.
useRequestType
===
'noAO'
||
val
.
useRequestType
===
'testUse'
||
val
.
useRequestType
===
'FOUse'
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_noAO`
)
}
else
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
${
val
.
useRequestType
}
`
)
}
}
}
}
},
mounted
()
{
if
(
this
.
basicData
&&
this
.
basicData
.
id
)
{
...
...
@@ -255,8 +259,8 @@ export default {
},
occupy
()
{
const
form
=
Object
.
assign
({},
this
.
form
)
form
.
aircraftType
=
form
.
aircraftType
.
includes
(
'+'
)
&&
form
.
aircraftType
.
split
(
'+'
)[
1
]
||
form
.
aircraftType
form
.
sorties
=
form
.
sorties
.
includes
(
'+'
)
&&
form
.
sorties
.
split
(
'+'
)[
1
]
||
form
.
sorties
form
.
aircraftType
=
form
.
aircraftType
&&
form
.
aircraftType
.
includes
(
'+'
)
&&
form
.
aircraftType
.
split
(
'+'
)[
1
]
||
form
.
aircraftType
form
.
sorties
=
form
.
sorties
&&
form
.
sorties
.
includes
(
'+'
)
&&
form
.
sorties
.
split
(
'+'
)[
1
]
||
form
.
sorties
const
typeName
=
this
.
basicData
.
useRequestType
const
param
=
{
...
form
,
...
...
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