diff --git a/src/views/main/giftBookDetails/index.vue b/src/views/main/giftBookDetails/index.vue
index e15029a..c9503c2 100644
--- a/src/views/main/giftBookDetails/index.vue
+++ b/src/views/main/giftBookDetails/index.vue
@@ -63,6 +63,9 @@
导出
+
+ 导出PDF
+
导入
@@ -120,6 +123,7 @@
v-model="form.year"
type="year"
placeholder="请选择年份"
+ value-format="YYYY"
/>
@@ -373,6 +377,17 @@ const handleExport = () => {
`礼薄明细_${new Date().getTime()}.xlsx`
);
};
+
+/** 导出按钮操作 */
+const handleExportWrod = () => {
+ proxy?.download(
+ 'main/giftBookDetails/exportPDF',
+ {
+ ...queryParams.value
+ },
+ `礼薄明细_${new Date().getTime()}.pdf`
+ );
+};
/** 查询礼薄列表 */
const getGiftBookList = async () => {
const res = await listGiftBook({ querypageNum: -1 });