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

View File

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

View File

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