客户查询添加操作功能
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user