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
4cb6757e
Commit
4cb6757e
authored
Aug 13, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP相关_领用出库下材料领用类型修改
parent
893a8228
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
17 deletions
+12
-17
index.vue
...rivateComponents/components/AddOutStorageUseCom/index.vue
+6
-11
AddOutStorageUseDetailDialog.vue
...ageUseDetails/components/AddOutStorageUseDetailDialog.vue
+2
-2
index.vue
...teComponents/components/AddOutStorageUseDetails/index.vue
+2
-2
left.vue
...s/components/ERP_OutStorageOutConfirm/components/left.vue
+1
-1
index.vue
.../src/privateComponents/components/EditReqAmount/index.vue
+1
-1
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseCom/index.vue
View file @
4cb6757e
...
...
@@ -61,17 +61,12 @@ export default {
data
()
{
const
that
=
this
return
{
typeName
:
that
.
basicData
.
typeName
||
'OutStorageMaterialUse'
,
options
:
[
{
label
:
'材料领用'
,
value
:
'OutStorageMaterialUse'
}
],
typeName
:
that
.
basicData
.
typeName
||
'materialUse'
,
options
:
[],
showCmp
:
true
,
cmpOptions
:
{
typeName
:
'OutStorageUse'
,
layKey
:
'outStorageUseApplyAdd_
OutStorageM
aterialUse'
layKey
:
'outStorageUseApplyAdd_
m
aterialUse'
},
bindForm
:
{},
outStorageUseId
:
''
//
...
...
@@ -106,7 +101,7 @@ export default {
})
},
mounted
()
{
//
this.getUseRequestTypes()
this
.
getUseRequestTypes
()
},
// 组件方法
methods
:
{
...
...
@@ -122,7 +117,7 @@ export default {
// } else {
// this.options = dicData.filter(item => item.label !== '试验领用' && item.label !== '无指令领用' && item.label !== '紧急领用')
// }
this
.
options
=
dicData
.
filter
(
item
=>
item
.
label
===
'材料领用'
)
this
.
options
=
dicData
.
filter
(
item
=>
item
.
label
===
'材料领用'
||
item
.
label
===
'换件领用'
)
},
dataChangeHandler
(
val
)
{
if
(
val
)
{
...
...
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/components/AddOutStorageUseDetailDialog.vue
View file @
4cb6757e
...
...
@@ -71,7 +71,7 @@ export default {
handler
(
val
)
{
switch
(
val
)
{
case
'useAO'
:
case
'
OutStorageM
aterialUse'
:
case
'
m
aterialUse'
:
case
'NoMachineMaterialUse'
:
case
'UrgentUse'
:
this
.
amountItemLabel
=
'申领数量'
...
...
@@ -108,7 +108,7 @@ export default {
if
(
valid
&&
this
.
selection
)
{
const
typeName
=
this
.
basicData
.
useRequestType
const
data
=
[{
'subTypeName'
:
`
${
typeName
}
Item`
,
'subTypeName'
:
`
OutStorageMaterialUse
Item`
,
'extMaterial'
:
this
.
selection
.
extMaterial
,
'extMaterialId'
:
this
.
selection
.
extMaterialId
,
'erpInventoryId'
:
this
.
selection
.
id
,
...
...
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/index.vue
View file @
4cb6757e
...
...
@@ -119,8 +119,8 @@ export default {
if
(
val
&&
val
.
useRequestType
)
{
if
(
val
.
useRequestType
===
'noAO'
||
val
.
useRequestType
===
'testUse'
||
val
.
useRequestType
===
'FOUse'
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_noAO`
)
}
else
if
(
val
.
useRequestType
===
'
OutStorageM
aterialUse'
||
val
.
useRequestType
===
'NoMachineMaterialUse'
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
OutStorageM
aterialUse`
)
}
else
if
(
val
.
useRequestType
===
'
m
aterialUse'
||
val
.
useRequestType
===
'NoMachineMaterialUse'
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
m
aterialUse`
)
}
else
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
${
val
.
useRequestType
}
`
)
}
...
...
applications/dee-mes/src/privateComponents/components/ERP_OutStorageOutConfirm/components/left.vue
View file @
4cb6757e
...
...
@@ -115,7 +115,7 @@ export default {
'items'
:
[{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'
OutStorageM
aterialUse'
'value'
:
'
m
aterialUse'
},
{
'fieldName'
:
'state'
,
...
...
applications/dee-mes/src/privateComponents/components/EditReqAmount/index.vue
View file @
4cb6757e
...
...
@@ -69,7 +69,7 @@ export default {
// this.maxNum = maxAmount
// }
this
.
$emit
(
'input'
,
this
.
reqAmount
)
if
(
this
.
form
.
id
&&
this
.
parentType_Inject
!==
'退库入库'
&&
!
this
.
form
.
subTypeName
.
includes
(
'BackItem'
)
&&
this
.
parentType_Inject
!==
'
OutStorageM
aterialUse'
)
{
if
(
this
.
form
.
id
&&
this
.
parentType_Inject
!==
'退库入库'
&&
!
this
.
form
.
subTypeName
.
includes
(
'BackItem'
)
&&
this
.
parentType_Inject
!==
'
m
aterialUse'
)
{
this
.
changeAmount
()
}
},
...
...
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