- 原逻辑 lastIndexOf 去末尾流水,导致同一天单子被合并成 PUR-日期
- 改为 split('-').slice(0,3) → PUR-20260625-1345
- 同一天不同分钟的单子正确分为不同批次;同一分钟内多条视为一批
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.