Compare commits

..

2 Commits

Author SHA1 Message Date
d514e82e9b Merge branch 'main' of https://git.yum2.cc/luff/inventory_check 2025-03-17 16:32:41 +08:00
0c602a8ccd 更新 inventory_check/views.py 2025-03-17 16:30:43 +08:00
5 changed files with 1 additions and 1 deletions

BIN
data.db Normal file

Binary file not shown.

BIN
data.xlsx Normal file

Binary file not shown.

View File

@@ -97,7 +97,7 @@ def import_file():
@app.route('/download-xlsx')
def download_xlsx():
filename = "盘点表" + time.strftime("%Y%m%d.xlsx", time.localtime())
filename = "PD-" + time.strftime("%Y%m%d", time.localtime()) + ".xlsx"
# 创建一个 Excel 工作簿
inventorys = Inventory.query.all() # 查询所有数据, and sort data by sort
# 创建一个工作簿

BIN
sheet.xlsx Normal file

Binary file not shown.

Binary file not shown.