· 退回对话框新增「退回后自动生成补发单」勾选框 + 补发数量(勾选时默认 = 本次 退回量,可调小;上限即退回量)。 · 文案明写两条关键后果:生成的是**免审批**出库单;**库存不足时整笔退回会一并 取消**,取消勾选即可只做退回过账 —— 避免库管对着失败提示发懵。 · 提交前做同口径前置校验(数量 > 0 且 <= 退回量),不白跑一趟。 · resetReturnDialog / openReturnDialog 同步重置这两个字段。 默认**不勾选**:有些退回是项目结束退还,根本不需要补,不该默认给所有人挂上。
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.