tangjie 2026-08-05 18:03:46 +08:00
parent 0a7476358d
commit 8458ca95ed
3 changed files with 17 additions and 5 deletions

View File

@ -48,7 +48,8 @@ export default function CommitmentStep({
form, form,
disabled, disabled,
personnelOptions = [], personnelOptions = [],
commitment, handleVerifyConfirm,
mode
}) { }) {
const legalRepName = Form.useWatch("legalRepName", form); const legalRepName = Form.useWatch("legalRepName", form);
const filingUnitName = Form.useWatch("filingUnitName", form); const filingUnitName = Form.useWatch("filingUnitName", form);
@ -67,6 +68,7 @@ export default function CommitmentStep({
legalRepName: selected?.staffName || selected?.label || "", legalRepName: selected?.staffName || selected?.label || "",
legalRepSignatureUrl: null legalRepSignatureUrl: null
}); });
handleVerifyConfirm({ isSaveDraft: true, isSign: true });
}; };
return ( return (
@ -113,6 +115,7 @@ export default function CommitmentStep({
> >
<Select <Select
allowClear allowClear
disabled={disabled || mode === 'change'}
placeholder="请选择" placeholder="请选择"
options={personnelOptions} options={personnelOptions}
showSearch showSearch

View File

@ -141,6 +141,10 @@ function FilingFormPage(props) {
return; return;
} }
const currentDetail = collectCurrentDetail(); const currentDetail = collectCurrentDetail();
if(!currentDetail?.commitment.legalRepSignatureUrl){
message.warning("法定代表人尚未签字");
return;
}
if (!currentDetail?.personnelList?.length) { if (!currentDetail?.personnelList?.length) {
message.warning("请至少添加一位备案人员"); message.warning("请至少添加一位备案人员");
setActiveStep("personnel"); setActiveStep("personnel");
@ -212,11 +216,15 @@ function FilingFormPage(props) {
setVerifyOpen(false); setVerifyOpen(false);
if (Array.isArray(result.data) && result.data.length) { if (Array.isArray(result.data) && result.data.length) {
setVerifyFailItems(result.data); setVerifyFailItems(result.data);
} else {
if (config.isSign) {
message.success("已推送签字");
} else { } else {
message.success(config.isSaveDraft ? "暂存成功" : "提交成功"); message.success(config.isSaveDraft ? "暂存成功" : "提交成功");
props.history.goBack(); props.history.goBack();
} }
} }
}
setSubmitting(false); setSubmitting(false);
}; };
@ -360,7 +368,9 @@ function FilingFormPage(props) {
children: ( children: (
<CommitmentStep <CommitmentStep
form={commitmentForm} form={commitmentForm}
handleVerifyConfirm={handleVerifyConfirm}
disabled={readOnly} disabled={readOnly}
mode={mode}
commitment={detail?.commitment} commitment={detail?.commitment}
personnelOptions={personnelOptions} personnelOptions={personnelOptions}
/> />
@ -471,7 +481,6 @@ function FilingFormPage(props) {
{ title: "检查项", dataIndex: "title", width: 120 }, { title: "检查项", dataIndex: "title", width: 120 },
{ title: "资质要求", dataIndex: "description", width: 280 }, { title: "资质要求", dataIndex: "description", width: 280 },
{ title: "当前值", dataIndex: "currentValue", width: 260 }, { title: "当前值", dataIndex: "currentValue", width: 260 },
]} ]}
/> />
</Modal> </Modal>

View File

@ -69,7 +69,7 @@ export default function FilingListTable({
setReviewList([]); setReviewList([]);
try { try {
const res = await qualFilingReviewGet({ const res = await qualFilingReviewGet({
filingId: record.filingId || record.id, filingId:record.id,
current: 1, current: 1,
size: 999, size: 999,
}); });