Commit cd04336c authored by jingnan's avatar jingnan 👀

批量签审配套出库确认联调

parent 841daf1d
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<dee-as-com <dee-as-com
ref="outStorageMatch" ref="outStorageMatch"
table-height="auto" table-height="auto"
:basic-data=" { selectData: selectData }"
:lay-config="{ typeName: 'OutStorageMatch', layKey: 'batchSign_OutStorageMatch'}" :lay-config="{ typeName: 'OutStorageMatch', layKey: 'batchSign_OutStorageMatch'}"
@selectionChange="selectionChange" @selectionChange="selectionChange"
/> />
...@@ -47,15 +48,20 @@ export default { ...@@ -47,15 +48,20 @@ export default {
methods: { methods: {
selectionChange(val) { selectionChange(val) {
this.selectionRows = val this.selectionRows = val
const requestIds = val && val.map(item => item.id)
this.$refs.outStorageMatchItem.$refs.asCom.getData(requestIds)
}, },
selectionChange_item(val) { selectionChange_item(val) {
this.selectionItemRows = val this.selectionItemRows = val
const itemIds = val && val.map(item => item.id)
this.$refs.jobResponseOutStorageMatch.$refs.asCom.getData(itemIds)
}, },
selectionChange_jobRes(val) { selectionChange_jobRes(val) {
this.selectionJobResRows = val this.selectionJobResRows = val
}, },
init() { init(checkList) {
this.$refs.outStorageMatch.$refs.asCom.getData() const aoIds = checkList && checkList.map(item => item.id)
this.$refs.outStorageMatch.$refs.asCom.getData(aoIds)
} }
} }
} }
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<template slot="paneL"> <template slot="paneL">
<Left <Left
ref="left" ref="left"
:select-data="selectData"
@checkbox:change="checkboxChange" @checkbox:change="checkboxChange"
/> />
</template> </template>
...@@ -21,6 +22,7 @@ ...@@ -21,6 +22,7 @@
<Right <Right
v-show="subTypeName === '1'" v-show="subTypeName === '1'"
ref="right" ref="right"
:select-data="selectData"
@left:init="() => this.$refs.left.init()" @left:init="() => this.$refs.left.init()"
/> />
<!-- empty --> <!-- empty -->
......
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