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
08d1b0fa
Commit
08d1b0fa
authored
Jul 02, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP相关_物料分拣暂存
parent
98f93c79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
0 deletions
+108
-0
index.vue
...rivateComponents/components/ERP_MaterialSorting/index.vue
+108
-0
No files found.
applications/dee-mes/src/privateComponents/components/ERP_MaterialSorting/index.vue
0 → 100644
View file @
08d1b0fa
<!--
* @Author: gjn
* @Date: 2024-07-02 15:07:29
* @Description:物料分拣
-->
<
template
>
<div
class=
"materialSorting"
>
<!--
<dee-as-com
ref=
"search"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'warehouse_search'}"
@searchEvent="searchEvent"
/> -->
<!-- tab页签 -->
<el-tabs
v-model=
"active"
type=
"border-card"
class=
"detailTabs"
>
<el-tab-pane
label=
"未分拣"
name=
"noSort"
>
<dee-as-com
ref=
"noSortTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'ErpInventory', layKey: 'noSortTable'}"
/>
</el-tab-pane>
<el-tab-pane
label=
"已分拣"
name=
"sorted"
>
<dee-as-com
ref=
"sortedTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'ErpSorting', layKey: 'defaultResult'}"
/>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
export
default
{
name
:
'ERPMaterialSorting'
,
componentName
:
'ERP_物料分拣单'
,
components
:
{},
props
:
{},
data
()
{
return
{
active
:
'noSort'
,
searchItems
:
[],
tabNames
:
[
'noSort'
,
'sorted'
]
}
},
computed
:
{},
watch
:
{},
created
()
{},
mounted
()
{},
// 组件方法
methods
:
{
searchEvent
(
val
)
{
this
.
searchItems
=
val
.
items
this
.
getTableData
()
},
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
this
[
'loading'
+
item
]
=
true
const
el
=
this
.
$refs
[
item
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
}
})
}
}
}
</
script
>
<
style
lang=
'scss'
>
.materialSorting
{
width
:
100%
;
// height: calc(100% - 50px);
height
:
100%
;
box-sizing
:
border-box
;
// padding:0 4px;
// .search-form-box-com .search-box-col{
// width: 100%!important;
// }
.detailTabs
{
height
:
calc
(
100%
-
0px
);
border
:
0
;
.dee-table-header
{
padding
:
0px
10px
;
.dee-tools
{
margin
:
4px
0
;
}
}
}
.el-tabs--border-card
>
.el-tabs__content
{
padding
:
0px
;
height
:
calc
(
100%
-
70px
);
.el-tab-pane
{
height
:
100%
;
}
}
.el-tabs--border-card
>
.el-tabs__header
{
.el-tabs__nav-wrap
{
margin
:
0px
;
}
.el-tabs__item.is-active
{
color
:
#409eff
;
}
}
}
</
style
>
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