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
b537f4e7
Commit
b537f4e7
authored
Aug 04, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量签审_验收入库审核
parent
d420fa0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
167 additions
and
1 deletion
+167
-1
taskList.vue
...er/src/views/workflow/task-center/myPlanTask/taskList.vue
+2
-1
index.vue
...orkflow/task-center/myPlanTask/warehouseExamine/index.vue
+165
-0
No files found.
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/taskList.vue
View file @
b537f4e7
...
...
@@ -11,7 +11,8 @@ export default {
components
:
{
WarehouseApply
:
()
=>
import
(
'./warehouseApply'
),
OutStorageExpireApply
:
()
=>
import
(
'./outStorageExpireApply'
),
JobResponseInExperiment
:
()
=>
import
(
'./jobResponseInExperiment'
)
JobResponseInExperiment
:
()
=>
import
(
'./jobResponseInExperiment'
),
WarehouseExamine
:
()
=>
import
(
'./warehouseExamine'
)
},
props
:
{
selectData
:
{
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseExamine/index.vue
0 → 100644
View file @
b537f4e7
<!--
* @Author: gjn
* @Date: 2023-08-04 17:10:07
* @Description:批量签审_验收入库审核
-->
<
template
>
<div
class=
"warehouseExamine"
>
<dee-as-com
ref=
"search"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'warehouse_search'}"
:basic-data="defaultData"
@searchEvent="searchEvent"
/>
<!-- tab页签 -->
<el-tabs
v-model=
"active"
type=
"border-card"
class=
"detailTabs"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
ref=
"MaterialTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows:selectionRows['selectMaterial'] }"
:lay-config="{ typeName: 'InStorageRequestItem', layKey: 'examine_material_table'}"
@freshData="freshData('Material')"
@selectionChange="selectionChange($event,'Material')"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
ref=
"AirEquipmentTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_airEquipment_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectAirEquipment'] }"
@freshData="freshData('AirEquipment')"
@selectionChange="selectionChange($event,'AirEquipment')"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
ref=
"OutSourceTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'InStorageRequestItem', layKey: 'examine_outSource_table'}"
:basic-data=" { selectData,selectionRows:selectionRows['selectOutSource'] }"
@freshData="freshData('OutSource')"
@selectionChange="selectionChange($event,'OutSource')"
/>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
export
default
{
name
:
'WarehouseExamine'
,
components
:
{},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
active
:
'Material'
,
defaultData
:
{},
totals
:
{
MaterialTotal
:
0
,
AirEquipmentTotal
:
0
,
OutSourceTotal
:
0
},
billTypeList
:
[],
searchItems
:
[],
tabNames
:
[
'Material'
,
'AirEquipment'
,
'OutSource'
],
selectionRows
:
{}
}
},
computed
:
{
},
watch
:
{
selectData
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
&&
val
.
taskKey
)
{
this
.
$nextTick
(()
=>
{
this
.
getTableData
()
})
}
}
}
},
created
()
{
},
mounted
()
{
},
// 组件方法
methods
:
{
freshData
(
tabName
)
{
setTimeout
(()
=>
{
this
.
changeTotal
(
tabName
)
},
1000
)
},
changeTotal
(
tabName
)
{
const
el
=
this
.
$refs
[
tabName
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
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
)
{
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
}
})
},
selectionChange
(
val
,
tabName
)
{
this
.
selectionRows
[
`select
${
tabName
}
`
]
=
val
}
}
}
</
script
>
<
style
lang=
'scss'
>
.warehouseExamine
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
.search-form-box-com
.search-box-col
{
width
:
100%
!
important
;
}
.detailTabs
{
height
:
calc
(
100%
-
40px
);
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