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
5d322fb7
Commit
5d322fb7
authored
Aug 03, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验收入库申请
parent
786ef599
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
index.vue
.../workflow/task-center/myPlanTask/warehouseApply/index.vue
+13
-10
No files found.
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseApply/index.vue
View file @
5d322fb7
...
...
@@ -19,7 +19,7 @@
class=
"list-table"
:basic-data=
"
{ selectData: selectData }"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'material_table'}"
@freshData="freshData"
@freshData="freshData
('Material')
"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
...
...
@@ -28,6 +28,7 @@
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'airEquipment_table'}"
:basic-data=" { selectData: selectData }"
@freshData="freshData('AirEquipment')"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
...
...
@@ -36,6 +37,7 @@
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'outSource_table'}"
:basic-data=" { selectData: selectData }"
@freshData="freshData('OutSource')"
/>
</el-tab-pane>
</el-tabs>
...
...
@@ -91,21 +93,22 @@ export default {
},
// 组件方法
methods
:
{
freshData
()
{
freshData
(
tabName
)
{
setTimeout
(()
=>
{
this
.
changeTotal
()
this
.
changeTotal
(
tabName
)
},
1000
)
},
changeTotal
(
init
)
{
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
changeTotal
(
tabName
)
{
const
el
=
this
.
$refs
[
tabName
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
this
.
$set
(
this
.
totals
,
item
+
'Total'
,
el
.
$refs
.
asCom
.
pagination
.
total
)
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
el
.
$refs
.
asCom
.
pagination
.
total
)
}
})
},
searchEvent
(
val
)
{
this
.
searchItems
=
val
.
items
this
.
getTableData
()
},
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
...
...
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