fix(sales): 取貨碼新增彈窗「產生數量」改為獨立整列,避免與使用次數上限重疊

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
terrylee 2026-06-29 14:10:13 +08:00
parent 6bb08a13ce
commit 9dbde50f56

View File

@ -293,11 +293,12 @@ transition-all duration-300",
</div> </div>
</div> </div>
</div> </div>
</div>
{{-- Quantity (Batch Generate) --}} {{-- Quantity (Batch Generate) 獨立整列,避免與使用次數上限擠在同一列重疊 --}}
<div class="space-y-2"> <div class="space-y-2">
<label class="text-xs font-black text-slate-500 uppercase tracking-widest pl-1">{{ <label class="text-xs font-black text-slate-500 uppercase tracking-widest pl-1">{{
__('Generate Quantity') }} (1-1000)</label> __('Generate Quantity') }} (1-1000)</label>
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<div class="flex items-center h-12 rounded-2xl border border-slate-200/50 dark:border-slate-700/50 bg-slate-50/50 dark:bg-slate-900/50 overflow-hidden flex-1 group focus-within:ring-2 focus-within:ring-cyan-500/20 transition-all"> <div class="flex items-center h-12 rounded-2xl border border-slate-200/50 dark:border-slate-700/50 bg-slate-50/50 dark:bg-slate-900/50 overflow-hidden flex-1 group focus-within:ring-2 focus-within:ring-cyan-500/20 transition-all">
<button type="button" @click="quantity = Math.max(1, parseInt(quantity || 1) - 1)" <button type="button" @click="quantity = Math.max(1, parseInt(quantity || 1) - 1)"
@ -327,7 +328,6 @@ transition-all duration-300",
{{ __('Batch mode: codes are auto-generated and the custom code is ignored.') }} {{ __('Batch mode: codes are auto-generated and the custom code is ignored.') }}
</p> </p>
</div> </div>
</div>
{{-- Pickup Code Preview Section --}} {{-- Pickup Code Preview Section --}}
<div class="space-y-2"> <div class="space-y-2">