diff --git a/backend/app/routers/information.py b/backend/app/routers/information.py index 0c23d89..f6a8554 100644 --- a/backend/app/routers/information.py +++ b/backend/app/routers/information.py @@ -464,7 +464,7 @@ def create_information( ).count() # 编号 = 日期 + 5位自然数(如 DJ2026041100001) seq = count_today + 1 - deal_no = f'DJ{today}{seq:05d}' + deal_no = f"DJ{today[2:]}{seq:04d}" info = Information( user_id=current_user.f99_90_id, diff --git a/frontend/src/pages/News.jsx b/frontend/src/pages/News.jsx index 801782a..5d40d5d 100644 --- a/frontend/src/pages/News.jsx +++ b/frontend/src/pages/News.jsx @@ -707,31 +707,26 @@ export default function News() { else if (serial.startsWith('J3')) version = '蛇钞' return ( -