表格与页面样式调整
This commit is contained in:
@@ -6,6 +6,7 @@ import { Controller, useForm } from "react-hook-form"
|
||||
import { z } from "zod"
|
||||
import { getPageBatch } from "@/actions/batch"
|
||||
import { DataTable, useDataTable } from "@/components/data-table"
|
||||
import { Page } from "@/components/page"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import {
|
||||
Field,
|
||||
@@ -100,9 +101,9 @@ export default function BatchPage() {
|
||||
})
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<Page>
|
||||
{/* 搜索表单 */}
|
||||
<form onSubmit={onFilter} className="bg-white p-4 rounded-lg">
|
||||
<form onSubmit={onFilter} className="bg-card p-4 rounded-lg">
|
||||
<div className="flex flex-wrap items-end gap-4">
|
||||
<Controller
|
||||
name="batch_no"
|
||||
@@ -270,6 +271,6 @@ export default function BatchPage() {
|
||||
]}
|
||||
/>
|
||||
</Suspense>
|
||||
</div>
|
||||
</Page>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user