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
6d513986
Commit
6d513986
authored
Jul 14, 2023
by
wangdanlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库申请
parent
5e406f18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
index.vue
...ts/components/AddPutStorageMaterialDetailDialog/index.vue
+8
-4
index.vue
...s/src/privateComponents/components/materialType/index.vue
+1
-0
No files found.
applications/dee-mes/src/privateComponents/components/AddPutStorageMaterialDetailDialog/index.vue
View file @
6d513986
...
...
@@ -36,12 +36,12 @@ export default {
},
computed
:
{},
mounted
()
{
},
mounted
()
{},
methods
:
{
searchEvent
(
val
)
{
// const materialType = this.findByNameVnode(this, 'DeeAsForm').form.materialType
val
.
items
.
push
({
fieldName
:
'subTypeName'
,
operator
:
'EQ'
,
value
:
'JobResponseOutStorageExpire'
}
/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/
)
val
.
items
.
push
({
fieldName
:
'subTypeName'
,
operator
:
'EQ'
,
value
:
'JobResponseOutStorageExpire'
}
/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/
,
{
fieldName
:
'state'
,
operator
:
'EQ'
,
value
:
'Finish'
})
const
el
=
this
.
$refs
[
'materielTable'
]
el
.
$refs
.
asCom
.
getData
(
val
.
items
,
val
.
items
)
},
...
...
@@ -57,7 +57,11 @@ export default {
},
submitEvent
()
{
if
(
this
.
selection
.
length
)
{
this
.
$emit
(
'submitEvent'
,
{
formData
:
this
.
selection
.
map
(
item
=>
item
.
inventory
)
})
const
showData
=
this
.
findByNameVnode
(
this
,
'DeeAsTable'
).
showData
if
(
showData
.
length
)
{
this
.
selection
=
this
.
selection
.
filter
(
item
=>
!
showData
.
some
(
x
=>
x
.
inventoryId
===
item
.
inventoryId
))
}
this
.
$emit
(
'submitEvent'
,
{
formData
:
this
.
selection
})
}
},
cancelEvent
()
{
...
...
applications/dee-mes/src/privateComponents/components/materialType/index.vue
View file @
6d513986
...
...
@@ -32,6 +32,7 @@ export default {
watch
:
{
'form.billType'
(
val
)
{
if
(
val
)
{
this
.
$set
(
this
.
form
,
'materialType'
,
this
.
form
.
materialTypeId
||
''
)
if
(
!
this
.
isFirst
)
{
this
.
$set
(
this
.
form
,
'materialType'
,
''
)
}
...
...
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