Commit 97b75680 authored by jingnan's avatar jingnan 👀

配套出库流程bug修改

parent 70458417
...@@ -131,6 +131,14 @@ export default { ...@@ -131,6 +131,14 @@ export default {
'openProps': [ 'openProps': [
{ {
'name': 'joExecutePlan' 'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
} }
], ],
'sortItem': [ 'sortItem': [
......
...@@ -56,8 +56,9 @@ ...@@ -56,8 +56,9 @@
</template> </template>
<ul v-if="request.lists.length"> <ul v-if="request.lists.length">
<!-- 带复选框 --> <!-- 带复选框 -->
<template v-for="(item, subIndex) in request.lists"> <template>
<li <li
v-for="(item, subIndex) in request.lists"
:key="item.id" :key="item.id"
class="blue" class="blue"
:class="{active: subIndex === active,'active-background':item.activeBackground}" :class="{active: subIndex === active,'active-background':item.activeBackground}"
...@@ -163,6 +164,14 @@ export default { ...@@ -163,6 +164,14 @@ export default {
'openProps': [ 'openProps': [
{ {
'name': 'joExecutePlan' 'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
} }
], ],
'sortItem': [ 'sortItem': [
......
...@@ -67,7 +67,16 @@ export default { ...@@ -67,7 +67,16 @@ export default {
}, },
init(checkList) { init(checkList) {
const aoIds = checkList && checkList.map(item => item.id) const aoIds = checkList && checkList.map(item => item.id)
if (aoIds && aoIds.length) {
this.$refs.outStorageMatch.$refs.asCom.getData(aoIds) 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 @@ ...@@ -43,8 +43,9 @@
<section class="collapse-title">| {{ request.name }}{{ request.lists.length }}</section> <section class="collapse-title">| {{ request.name }}{{ request.lists.length }}</section>
</template> </template>
<ul v-if="request.lists.length"> <ul v-if="request.lists.length">
<template v-for="(item, subIndex) in request.lists"> <template>
<li <li
v-for="(item, subIndex) in request.lists"
:key="item.id" :key="item.id"
class="blue" class="blue"
:class="{active: subIndex === active,'active-background':item.activeBackground}" :class="{active: subIndex === active,'active-background':item.activeBackground}"
...@@ -130,6 +131,14 @@ export default { ...@@ -130,6 +131,14 @@ export default {
'openProps': [ 'openProps': [
{ {
'name': 'joExecutePlan' 'name': 'joExecutePlan'
},
{
'name': 'extSupportings',
'openProps': [
{
'name': 'outStorageRequests'
}
]
} }
], ],
'sortItem': [ '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