This commit is contained in:
bb_pan 2025-04-21 09:44:53 +08:00
parent ee012f54b5
commit 514d7f226d
2 changed files with 19 additions and 3 deletions

View File

@ -68,6 +68,7 @@
</vue-easy-print>
<div>
<el-button type="primary" @click="print">打印</el-button>
<el-button @click="handleExport">导出</el-button>
</div>
</div>
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
@ -169,6 +170,20 @@ export default {
},
remarksPrint() {
this.$refs.remarksPrintRef.print();
},
handleExport() {
const params = {
id: this.rowObj.id,
agreementId: this.rowObj.agreementId,
}
try {
let fileName = `退料单_${new Date().getTime()}.xLsx`
let url = 'material/backApply/exportMaterialReturnList'
console.log('🚀 ~ 导出 ~ params:', params)
this.download(url, params, fileName)
} catch (error) {
console.log('导出数据失败', error)
}
}
// submit() {

View File

@ -9,13 +9,14 @@
</div>
<div class="bullshit">
<div class="bullshit__oops">
404错误!
<!-- 404错误! -->
暂无权限访问
</div>
<div class="bullshit__headline">
{{ message }}
<!-- {{ message }} -->
</div>
<div class="bullshit__info">
对不起您正在寻找的页面不存在尝试检查URL的错误然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容
<!-- 对不起您正在寻找的页面不存在尝试检查URL的错误然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容 -->
</div>
<router-link to="/" class="bullshit__return-home">
返回首页