Commit e1ae334e authored by XieZhiXiong's avatar XieZhiXiong

chore: 更改变量名

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