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
881bb66c
Commit
881bb66c
authored
Jul 27, 2023
by
arvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出库物料选择
parent
2f02c5c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
index.vue
...ts/components/AddOutStorageMaterialDetailDialog/index.vue
+11
-4
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageMaterialDetailDialog/index.vue
View file @
881bb66c
...
...
@@ -52,8 +52,9 @@ export default {
val
.
items
.
push
({
fieldName
:
'status'
,
operator
:
'EQ'
,
value
:
'disposed'
})
val
.
items
.
push
({
fieldName
:
'usableAmount'
,
operator
:
'GT'
,
value
:
0
})
val
.
items
.
push
({
fieldName
:
'disposeDes'
,
operator
:
'LIKE'
,
value
:
'三期'
})
if
(
this
.
basicData
.
extWorkCenteName
)
{
val
.
items
.
push
({
fieldName
:
'workcenter'
,
operator
:
'EQ'
,
value
:
this
.
basicData
.
extWorkCenteName
})
const
extWorkCenterName
=
this
.
basicData
.
extWorkCenteName
||
(
this
.
basicData
.
extWorkCeter
&&
this
.
basicData
.
extWorkCeter
.
extname
)
if
(
extWorkCenterName
)
{
val
.
items
.
push
({
fieldName
:
'workcenter'
,
operator
:
'EQ'
,
value
:
extWorkCenterName
})
}
const
el
=
this
.
$refs
[
'materielTable'
]
el
.
$refs
.
asCom
.
getData
(
val
.
items
,
val
.
items
)
...
...
@@ -70,8 +71,14 @@ export default {
},
submitEvent
()
{
console
.
log
(
this
.
selection
)
if
(
this
.
selection
.
length
)
{
const
data
=
this
.
selection
.
map
(
r
=>
{
const
selection
=
this
.
selection
.
filter
(
r
=>
{
if
(
!
this
.
basicData
.
inStorageRequestItems
)
{
return
true
}
return
!
this
.
basicData
.
inStorageRequestItems
.
find
(
item
=>
r
.
id
===
item
.
inventoryId
)
})
if
(
selection
.
length
)
{
const
data
=
selection
.
map
(
r
=>
{
return
{
'subTypeName'
:
'OutStorageExpireItem'
,
'reqStatus'
:
'Apply'
,
...
...
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