Commit 17af98b4 authored by 李苏's avatar 李苏 💬

handleSourceData 库存盘点新增走前端分页 且前端赋值

parent 75f990ba
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<BasePage ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
<BasePage :handleSourceData='handleSourceData' fePage ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -185,6 +185,11 @@
}
},
methods: {
handleSourceData(list) {
list.forEach((item, index) => {
item.id = index
})
},
save(){
let list=this.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length==0){
......
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