Commit 43c27248 authored by GuanHua's avatar GuanHua
parents 8057832d 601f5a12
This diff is collapsed.
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 17:36:45
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-09-03 17:16:15
* @LastEditTime: 2021-09-07 10:02:55
* @Description: 查看退货数量与退款金额 抽屉
*/
import React, { useEffect, useState } from 'react';
......@@ -266,7 +266,7 @@ const ReturnInfoDrawer: React.FC<ReturnInfoDrawerProps> = ({
return (
<Drawer
title="查看退货数量与退款金额"
title={`${isEdit ? '编辑' : '查看'}退货数量与退款金额`}
placement="right"
width={1120}
onClose={handleClose}
......
......@@ -872,7 +872,7 @@ const ReturnForm: React.FC<BillsFormProps> = ({
applyInfo={applyInfo}
onClose={() => setVisibleReturnInfoDrawer(false)}
onSubmit={handleReturnInfoSubmit}
isEdit={!id}
isEdit={isEdit}
/>
<Prompt when={unsaved} message="您还有未保存的内容,是否确定要离开?" />
......
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