ZJUEVA-Reimburse/README.md

27 lines
852 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# ZJUEVA 财外报销脚本助手
## 功能
将当前文件夹中以`发票-付款记录-购买记录`为一组的三张图片放在`.docx`文件的同一页面。同时会生成相应的`.pdf`文件。
会将`.pdf`、`.jpg`、`.jpeg`文件自动转换为`.png`文件再插入。
## 使用方法
1. 将`.exe`文件与待处理图片放在同一个文件夹。
2. 文件夹中所有图片按照分组命名:【两位数字】【类型】【其余内容】。
从01开始按顺序命名序号同组的文件序号相同类型发票a付款记录b购买记录c。
例如“02b公仔付款.png” -> 第二组的付款记录图片。
**一位数请在开头加上 0如 02、06。**
3. 运行`.exe`文件,根据提示进行操作。
## 所需包(已打包在`.exe`中)
- python-docx
- pillow
- fitz
- docx2pdf