Commit 914f6565 authored by XieZhiXiong's avatar XieZhiXiong

chore: 晚上样式

parent f75d1be5
......@@ -2,11 +2,12 @@
* @Author: XieZhiXiong
* @Date: 2021-01-13 13:46:08
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-13 13:46:22
* @LastEditTime: 2021-01-22 14:42:09
* @Description: 上传凭证弹窗
*/
import React, { useState, useEffect } from 'react';
import { Modal, message } from 'antd';
import styled from 'styled-components';
import { createFormActions } from '@formily/antd';
import NiceForm from '@/components/NiceForm';
import { PublicApi } from '@/services/api';
......@@ -15,6 +16,12 @@ import styles from './index.less';
const uploadVoucherFormActions = createFormActions();
const Wrap = styled(props => <div {...props} />)`
.ant-form-item {
margin-bottom: 2;
}
`
interface UploadVoucherModalProps {
/**
* 是否可见
......@@ -124,6 +131,7 @@ const UploadVoucherModal: React.FC<UploadVoucherModalProps> = (props: UploadVouc
onCancel={onCancel}
destroyOnClose
>
<Wrap>
<NiceForm
previewPlaceholder=""
initialValues={bankAccount}
......@@ -137,6 +145,7 @@ const UploadVoucherModal: React.FC<UploadVoucherModalProps> = (props: UploadVouc
schema={uploadVoucherModalSchema}
onSubmit={handleUploadVoucherSubmit}
/>
</Wrap>
</Modal>
);
};
......
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