Commit 1b34101e authored by jingnan's avatar jingnan 👀

领用出库批量提交接口修改

parent c6a02181
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<dee-as-com <dee-as-com
ref="requestTable" ref="requestTable"
:basic-data=" { selectData,...currentLeftData,selectionRows}" :basic-data=" { selectData,...currentLeftData,selectionRows}"
:lay-config="{ typeName: 'OutStorageOut', layKey: 'e3b7e2e1-af45-4e28-99f6-6f7583d2c216'}" :lay-config="{ typeName: 'OutStorageOut', layKey:topLayKey}"
table-height="auto" table-height="auto"
@selectionChange="selectionChange" @selectionChange="selectionChange"
/> />
...@@ -42,7 +42,8 @@ export default { ...@@ -42,7 +42,8 @@ export default {
return { return {
selectionRows: [], selectionRows: [],
selectionRowsItem: [], selectionRowsItem: [],
selectionRowsRes: [] selectionRowsRes: [],
topLayKey: 'e3b7e2e1-af45-4e28-99f6-6f7583d2c216'
} }
}, },
computed: {}, computed: {},
...@@ -51,6 +52,11 @@ export default { ...@@ -51,6 +52,11 @@ export default {
immediate: true, immediate: true,
deep: true, deep: true,
handler(val) { handler(val) {
if (val && val.subTypeName === 'OutStorageUse') {
this.topLayKey = 'c36943cb-50d9-48f3-9e86-e1386578eb60'
} else {
this.topLayKey = 'e3b7e2e1-af45-4e28-99f6-6f7583d2c216'
}
this.$nextTick(() => { this.$nextTick(() => {
this.init() this.init()
}) })
......
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