更新部分功能

This commit is contained in:
孙景学
2025-07-03 10:24:33 +08:00
parent cf8e9d0820
commit e15c97d741
26 changed files with 199 additions and 114 deletions

View File

@ -44,16 +44,17 @@ interface coscoSupplierSurveyAttachments {
interface BaseInfoTabProps {
viewType?:boolean;
record?:string;
}
const BaseInfoTab: React.FC<BaseInfoTabProps> = (props) => {
const { viewType = false } = props;
const { viewType = false, record = '' } = props;
const intl = useIntl();
const [registerInfo, setRegisterInfo] = useState<Request>();
//变更说明与附件
const [changeDataValue, setChangeDataValue] = useState<changeDataValueProps>();
const fetchData = async () => {
const res = await coscoSupplierBase();
const res = await coscoSupplierBase(record);
if (res.code === 200) {
setRegisterInfo(res.data);
setChangeDataValue({