更新部分功能
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user