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

fix: 修改按钮位置

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