import React from "react";
//第三方UI库/组件
import { Modal } from "antd";
//本地组件、业务逻辑
import CompanyInfo from '@/components/CompanyInfo';
//主体接口
interface SupplierViewModalProps {
  visible: boolean;
  onCancel: () => void;
  record?: any;
}
// 查看主体
const SupplierViewModal: React.FC<SupplierViewModalProps> = ({ visible, onCancel, record }) => {
  return (
    <Modal visible={visible} title="供应商信息查看" onCancel={onCancel} footer={null} width='80%'  destroyOnClose >
       <CompanyInfo />
    </Modal>
  );
};

export default SupplierViewModal;
