Commit 97b75680 authored by jingnan's avatar jingnan 👀

配套出库流程bug修改

parent 70458417
......@@ -131,6 +131,14 @@ export default {
'openProps': [
{
'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
}
],
'sortItem': [
......
......@@ -56,8 +56,9 @@
</template>
<ul v-if="request.lists.length">
<!-- 带复选框 -->
<template v-for="(item, subIndex) in request.lists">
<template>
<li
v-for="(item, subIndex) in request.lists"
:key="item.id"
class="blue"
:class="{active: subIndex === active,'active-background':item.activeBackground}"
......@@ -163,6 +164,14 @@ export default {
'openProps': [
{
'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
}
],
'sortItem': [
......
......@@ -67,7 +67,16 @@ export default {
},
init(checkList) {
const aoIds = checkList && checkList.map(item => item.id)
this.$refs.outStorageMatch.$refs.asCom.getData(aoIds)
if (aoIds && aoIds.length) {
this.$refs.outStorageMatch.$refs.asCom.getData(aoIds)
} else {
this.$refs.outStorageMatch.$refs.asCom.pagination.total = 0
this.$refs.outStorageMatchItem.$refs.asCom.pagination.total = 0
this.$refs.jobResponseOutStorageMatch.$refs.asCom.pagination.total = 0
this.$refs.outStorageMatch.$refs.asCom.showData = []
this.$refs.outStorageMatchItem.$refs.asCom.showData = []
this.$refs.jobResponseOutStorageMatch.$refs.asCom.showData = []
}
}
}
}
......
......@@ -43,8 +43,9 @@
<section class="collapse-title">| {{ request.name }}{{ request.lists.length }}</section>
</template>
<ul v-if="request.lists.length">
<template v-for="(item, subIndex) in request.lists">
<template>
<li
v-for="(item, subIndex) in request.lists"
:key="item.id"
class="blue"
:class="{active: subIndex === active,'active-background':item.activeBackground}"
......@@ -130,6 +131,14 @@ export default {
'openProps': [
{
'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
}
],
'sortItem': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment