客户查询添加操作功能
This commit is contained in:
@@ -30,7 +30,7 @@ import {
|
||||
SelectValue,
|
||||
} from "@/components/ui/select"
|
||||
import type { Admin } from "@/models/admin"
|
||||
import type { Cust } from "@/models/cust"
|
||||
import type { User } from "@/models/user"
|
||||
import type { ProductDiscount } from "@/models/product_discount"
|
||||
|
||||
// 表单验证规则
|
||||
@@ -69,7 +69,7 @@ export type EditUserFormValues = z.infer<typeof editUserSchema>
|
||||
interface EditUserDialogProps {
|
||||
open: boolean
|
||||
onOpenChange: (open: boolean) => void
|
||||
currentUser: Cust | null
|
||||
currentUser: User | null
|
||||
onSuccess: () => void
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user