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