问题: 同一个码扫两遍输入两个数,后端 draft/add 直接覆盖,无任何提示 可能误改已盘数量 改进: - 后端 draft/list 支持 uuid 过滤,可精确查某物料是否已盘 - 扫码弹输入框前,先精确查询该物料是否已盘 - 已盘过 → 弹窗提示『当前实盘为 X,是否修改?』 确认后预填旧值供修改,取消则不改变
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.