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
931a86a7
Commit
931a86a7
authored
Jul 24, 2023
by
arvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组件调整
parent
ac41cb1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
index.vue
...ts/components/AddOutStorageMaterialDetailDialog/index.vue
+9
-0
index.vue
...-mes/src/privateComponents/components/Warehouse/index.vue
+1
-2
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageMaterialDetailDialog/index.vue
View file @
931a86a7
...
@@ -29,6 +29,12 @@ export default {
...
@@ -29,6 +29,12 @@ export default {
componentName
:
'添加三期出库物料明细弹框'
,
componentName
:
'添加三期出库物料明细弹框'
,
name
:
'AddOutStorageMaterialDetailDialog'
,
name
:
'AddOutStorageMaterialDetailDialog'
,
components
:
{},
components
:
{},
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
data
()
{
return
{
return
{
selection
:
[],
selection
:
[],
...
@@ -43,6 +49,9 @@ export default {
...
@@ -43,6 +49,9 @@ export default {
searchEvent
(
val
)
{
searchEvent
(
val
)
{
// const materialType = this.findByNameVnode(this, 'DeeAsForm').form.materialType
// const materialType = this.findByNameVnode(this, 'DeeAsForm').form.materialType
val
.
items
.
push
({
fieldName
:
'subTypeName'
,
operator
:
'EQ'
,
value
:
'Inventory'
}
/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/
)
val
.
items
.
push
({
fieldName
:
'subTypeName'
,
operator
:
'EQ'
,
value
:
'Inventory'
}
/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/
)
if
(
this
.
basicData
.
extWorkCenteName
)
{
val
.
items
.
push
({
fieldName
:
'workcenter'
,
operator
:
'EQ'
,
value
:
this
.
basicData
.
extWorkCenteName
})
}
const
el
=
this
.
$refs
[
'materielTable'
]
const
el
=
this
.
$refs
[
'materielTable'
]
el
.
$refs
.
asCom
.
getData
(
val
.
items
,
val
.
items
)
el
.
$refs
.
asCom
.
getData
(
val
.
items
,
val
.
items
)
},
},
...
...
applications/dee-mes/src/privateComponents/components/Warehouse/index.vue
View file @
931a86a7
...
@@ -105,11 +105,10 @@ export default {
...
@@ -105,11 +105,10 @@ export default {
})
})
},
},
update
()
{
update
()
{
let
item
=
null
const
item
=
this
.
warehouseOptions
.
find
(
r
=>
(
r
.
id
+
''
)
===
this
.
cloneValue
)
if
(
this
.
dataType
===
'string'
)
{
if
(
this
.
dataType
===
'string'
)
{
this
.
$emit
(
'input'
,
this
.
cloneValue
)
this
.
$emit
(
'input'
,
this
.
cloneValue
)
}
else
{
}
else
{
item
=
this
.
warehouseOptions
.
find
(
r
=>
r
.
id
===
this
.
cloneValue
)
this
.
$emit
(
'input'
,
item
)
this
.
$emit
(
'input'
,
item
)
}
}
this
.
syncOut
(
item
)
this
.
syncOut
(
item
)
...
...
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