fix
parent
7847679bf8
commit
96d5ae9458
|
|
@ -12,9 +12,9 @@ export const CHONGQING_DISTRICTS = [
|
||||||
|
|
||||||
/** 企业状态 */
|
/** 企业状态 */
|
||||||
export const ENTERPRISE_STATUS_OPTIONS = [
|
export const ENTERPRISE_STATUS_OPTIONS = [
|
||||||
{ label: "正常", value: "正常" },
|
{ label: "正常", value: 1 },
|
||||||
{ label: "停业", value: "停业" },
|
{ label: "停业", value: 2 },
|
||||||
{ label: "注销", value: "注销" },
|
{ label: "注销", value: 3 },
|
||||||
];
|
];
|
||||||
|
|
||||||
/** 企业规模 */
|
/** 企业规模 */
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,7 @@ function OrgInfoPage(props) {
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="districtName"
|
name="districtCode"
|
||||||
label="属地"
|
label="属地"
|
||||||
rules={[{ required: true, message: "请选择属地" }]}
|
rules={[{ required: true, message: "请选择属地" }]}
|
||||||
>
|
>
|
||||||
|
|
@ -193,8 +193,12 @@ function OrgInfoPage(props) {
|
||||||
options={CHONGQING_DISTRICTS}
|
options={CHONGQING_DISTRICTS}
|
||||||
placeholder="请选择属地"
|
placeholder="请选择属地"
|
||||||
allowClear
|
allowClear
|
||||||
|
onChange={(value, option) => {
|
||||||
|
form.setFieldValue("districtName", option?.label || "");
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item name="districtName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|
@ -341,7 +345,7 @@ function OrgInfoPage(props) {
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="safetyDeputyPhone"
|
name="safetyDeputyPhone"
|
||||||
|
|
@ -436,22 +440,37 @@ function OrgInfoPage(props) {
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item name="enterpriseStatusName" label="企业状态">
|
<Form.Item name="enterpriseStatusCode" label="企业状态">
|
||||||
<Select
|
<Select
|
||||||
options={ENTERPRISE_STATUS_OPTIONS}
|
options={ENTERPRISE_STATUS_OPTIONS}
|
||||||
placeholder="请选择企业状态"
|
placeholder="请选择企业状态"
|
||||||
allowClear
|
allowClear
|
||||||
|
onChange={(value, option) => {
|
||||||
|
console.log(value, option);
|
||||||
|
form.setFieldValue(
|
||||||
|
"enterpriseStatusName",
|
||||||
|
option?.label || "",
|
||||||
|
);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item name="enterpriseStatusName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item name="enterpriseScaleName" label="企业规模">
|
<Form.Item name="enterpriseScaleCode" label="企业规模">
|
||||||
<Select
|
<Select
|
||||||
options={ENTERPRISE_SCALE_OPTIONS}
|
options={ENTERPRISE_SCALE_OPTIONS}
|
||||||
placeholder="请选择企业规模"
|
placeholder="请选择企业规模"
|
||||||
allowClear
|
allowClear
|
||||||
|
onChange={(value, option) => {
|
||||||
|
form.setFieldValue(
|
||||||
|
"enterpriseScaleName",
|
||||||
|
option?.label || "",
|
||||||
|
);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item name="enterpriseScaleName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item name="filingTypeCode" label="备案类型">
|
<Form.Item name="filingTypeCode" label="备案类型">
|
||||||
|
|
@ -459,7 +478,7 @@ function OrgInfoPage(props) {
|
||||||
options={REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS}
|
options={REGISTERED_ORG_FILING_TYPE_SEARCH_OPTIONS}
|
||||||
placeholder="请选择备案类型"
|
placeholder="请选择备案类型"
|
||||||
allowClear
|
allowClear
|
||||||
onChange={(value, option)=>{
|
onChange={(value, option) => {
|
||||||
form.setFieldValue("filingTypeName", option?.label);
|
form.setFieldValue("filingTypeName", option?.label);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
@ -472,12 +491,15 @@ function OrgInfoPage(props) {
|
||||||
options={REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS}
|
options={REGISTERED_ORG_FILING_RECORD_STATUS_OPTIONS}
|
||||||
placeholder="请选择备案状态"
|
placeholder="请选择备案状态"
|
||||||
allowClear
|
allowClear
|
||||||
onChange={(value, option)=>{
|
onChange={(value, option) => {
|
||||||
form.setFieldValue("filingRecordStatusName", option?.label || "");
|
form.setFieldValue(
|
||||||
|
"filingRecordStatusName",
|
||||||
|
option?.label || "",
|
||||||
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="filingRecordStatusName" noStyle />
|
<Form.Item name="filingRecordStatusName" noStyle />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<AttachmentUpload name="attachmentUrls" label="上传附件" />
|
<AttachmentUpload name="attachmentUrls" label="上传附件" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue