客户查询添加操作功能

This commit is contained in:
Eamon
2026-04-09 17:08:59 +08:00
parent cc7e26561d
commit 790180a847
24 changed files with 2261 additions and 108 deletions

View File

@@ -17,7 +17,7 @@ import {
} from "@/components/ui/dialog"
import { Field, FieldError, FieldLabel } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
import type { Cust } from "@/models/cust"
import type { User } from "@/models/user"
const Schema = z.object({
deduction: z
@@ -32,7 +32,7 @@ type FormValues = z.infer<typeof Schema>
interface UpdateDeductionDialogProps {
open: boolean
onOpenChange: (open: boolean) => void
currentUser: Cust | null
currentUser: User | null
onSuccess: () => void
}