Commit 1c9a2cc9 authored by 武广's avatar 武广

fix: 修改按钮位置

parent f7adee2b
......@@ -164,8 +164,17 @@ const AuditModal = props => {
<Modal
title="售后操作确认"
visible={visible}
onOk={() => handleOk()}
onCancel={() => handleCancel()}
footer={[
+formData.serviceType === 2 && (
<Button type="link" onClick={openLogisticsRecord}>
查看物流
</Button>
),
<Button onClick={handleCancel}>取消</Button>,
<Button type="primary" onClick={handleOk}>
确定
</Button>,
]}
>
{+formData.serviceType === 1 && (
<div className={styles.redTip}>
......@@ -218,7 +227,14 @@ const AuditModal = props => {
pattern: /[a-zA-Z0-9_\u4e00-\u9fa5]/g,
},
],
})(<Input placeholder="最多输入50个字符" maxLength="50" allowClear />)}
})(
<TextArea
placeholder="最多输入50个字符"
maxLength="50"
allowClear
autoSize={{ minRows: 3, maxRows: 6 }}
/>,
)}
</FormItem>
<FormItem label="收件人">
{getFieldDecorator('receiverName', {
......@@ -296,11 +312,6 @@ const AuditModal = props => {
</FormItem>
)}
</Form>
{+formData.serviceType === 2 && (
<div align="right" style={{ paddingRight: '42px', marginTop: '-25px' }}>
<a onClick={openLogisticsRecord}>查看物流</a>
</div>
)}
</Modal>
<LogisticsRecordModal ref={logisticsRecordModalRef} />
</>
......
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