Commit 051c4002 authored by 前端-甘科's avatar 前端-甘科

Merge branch 'feat-jinfa-0518' into 'jinfa-0518'

fix: 提交物料审核不点击审核默认值不生效的问题修复 See merge request project/jinfa-admin!13
parents 699d2539 31f657f6
import React, { useMemo, useState } from 'react';
import React, { useMemo, useState, useEffect } from 'react';
import AnchorPage from '@/components/AnchorPage';
import AuditProcess from '@/components/AuditProcess';
import MellowCard from '@/components/MellowCard';
......@@ -65,6 +65,9 @@ const Detail = () => {
status: 1
}
useEffect(()=>{
reasonModal.setFieldsValue({status: 1})
}, [])
return (
<AnchorPage
title={"审核物料"}
......@@ -163,7 +166,7 @@ const Detail = () => {
>
<Form form={reasonModal} layout='vertical' onFinish={onExamVerifySubmit}>
<Form.Item name={'status'}>
<Radio.Group defaultValue={1}>
<Radio.Group>
<Radio value={1}>审核通过</Radio>
<Radio value={0}>审核不通过</Radio>
</Radio.Group>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment