Commit e1ae334e authored by XieZhiXiong's avatar XieZhiXiong

chore: 更改变量名

parent 27f6f789
......@@ -192,10 +192,9 @@ const ReturnForm: React.FC<BillsFormProps> = ({
dataIndex: 'returnCount',
align: 'center',
},
// 缺
{
title: '已退款金额',
dataIndex: 'refunded',
dataIndex: 'refundAmount',
align: 'center',
},
];
......@@ -588,16 +587,17 @@ const ReturnForm: React.FC<BillsFormProps> = ({
setGoodsValue(values);
};
const handleEditReturnGood = async index => {
const handleEditReturnGood = index => {
const { getFieldValue } = addSchemaAction;
const returnGoodsListValue = getFieldValue('returnGoodsList');
const item = returnGoodsListValue[index];
setOrderInfo({
index,
...item,
payList: item.extraData.payList,
remaining: item.extraData.remaining,
returnReason: item.extraData.returnReason,
});
setVisibleReturnInfoDrawer(true)
};
......
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