0814 需求变更
parent
7ad0d419a3
commit
ea152b1ad9
|
|
@ -27,10 +27,8 @@ function CorpInfoList(props) {
|
|||
items: [
|
||||
{ bianma: "0", name: "分子公司" },
|
||||
{ bianma: "1", name: "集团单位" },
|
||||
{ bianma: "2", name: "股份单位" },
|
||||
{ bianma: "3", name: "相关方企业" },
|
||||
{ bianma: "4", name: "货主单位" },
|
||||
{ bianma: "5", name: "驻港单位" },
|
||||
{ bianma: "6", name: "物资中心" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
|
|
|||
|
|
@ -2,18 +2,41 @@ import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
|||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Page from "zy-react-library/components/Page";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
import Table from "zy-react-library/components/Table";
|
||||
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||
import useTable from "zy-react-library/hooks/useTable";
|
||||
import { NS_AVERAGE } from "~/enumerate/namespace";
|
||||
|
||||
function List(props) {
|
||||
const [form] = Form.useForm();
|
||||
const { tableProps } = useTable(props["averageRepeatHiddenCount"], {
|
||||
const { tableProps, getData } = useTable(props["averageRepeatHiddenCount"], {
|
||||
form,
|
||||
});
|
||||
|
||||
return (
|
||||
<Page isShowAllAction={false}>
|
||||
<Search
|
||||
values={{
|
||||
type: "0",
|
||||
}}
|
||||
options={[
|
||||
{ name: "corpName", label: "企业名称" },
|
||||
{
|
||||
name: "type",
|
||||
label: "企业类型",
|
||||
render: FORM_ITEM_RENDER_ENUM.SELECT,
|
||||
items: [
|
||||
{ bianma: "0", name: "分子公司" },
|
||||
{ bianma: "1", name: "集团单位" },
|
||||
{ bianma: "5", name: "驻港单位" },
|
||||
{ bianma: "6", name: "物资中心" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
form={form}
|
||||
onFinish={getData}
|
||||
/>
|
||||
<Table
|
||||
columns={[
|
||||
{ title: "企业名称", dataIndex: "corpName" },
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { Button, Form, Space } from "antd";
|
|||
import Page from "zy-react-library/components/Page";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
import Table from "zy-react-library/components/Table";
|
||||
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||
import useTable from "zy-react-library/hooks/useTable";
|
||||
import { NS_IGNORE } from "~/enumerate/namespace";
|
||||
|
||||
|
|
@ -14,8 +15,22 @@ function CorpInfoList(props) {
|
|||
return (
|
||||
<Page isShowAllAction={false}>
|
||||
<Search
|
||||
values={{
|
||||
type: "0",
|
||||
}}
|
||||
options={[
|
||||
{ name: "corpName", label: "企业名称" },
|
||||
{
|
||||
name: "type",
|
||||
label: "企业类型",
|
||||
render: FORM_ITEM_RENDER_ENUM.SELECT,
|
||||
items: [
|
||||
{ bianma: "0", name: "分子公司" },
|
||||
{ bianma: "1", name: "集团单位" },
|
||||
{ bianma: "5", name: "驻港单位" },
|
||||
{ bianma: "6", name: "物资中心" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
form={form}
|
||||
onFinish={getData}
|
||||
|
|
|
|||
|
|
@ -30,10 +30,8 @@ function List(props) {
|
|||
items: [
|
||||
{ bianma: "0", name: "分子公司" },
|
||||
{ bianma: "1", name: "集团单位" },
|
||||
{ bianma: "2", name: "股份单位" },
|
||||
{ bianma: "3", name: "相关方企业" },
|
||||
{ bianma: "4", name: "货主单位" },
|
||||
{ bianma: "5", name: "驻港单位" },
|
||||
{ bianma: "6", name: "物资中心" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
|
|
|||
Loading…
Reference in New Issue