feat(yihandeled): 添加仓储导出功能

This commit is contained in:
woody 2025-05-13 10:13:03 +08:00
parent e5e01cdeee
commit a2714d3c71
1 changed files with 24 additions and 0 deletions

View File

@ -37,6 +37,16 @@
class="thebtn1"
@click="handleExport"
>{{ '导出' }}</el-button>
<<<<<<< Updated upstream
=======
<el-button
v-hasButtons="['DeliveryHandledExport']"
size="small"
class="thebtn1"
@click="handleWaresExport"
>仓储导出</el-button>
>>>>>>> Stashed changes
</div>
</div>
<el-table
@ -1286,6 +1296,20 @@ export default {
`${'已合单'}${new Date().getTime()}.xlsx`
)
})
},
handleWaresExport() {
this.params.pkDeliverList = this.idList
this.$confirm('是否确认导出所有数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then((_) => {
this.download(
'/sale/manage/deliver-handled/wms-export',
{ ...this.params },
`${'已合单-仓储导出'}${new Date().getTime()}.xlsx`
)
})
}
}
}