Commit 70bb79b1 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改类型

parent 7b363ccc
......@@ -329,7 +329,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
return (
<MellowCard title="退款明细" {...rest}>
<PolymericTable
rowKey={record => `${record.orderNo}+${record.productId}`}
rowKey={(record: any) => `${record.orderNo}+${record.productId}`}
dataSource={dataSource}
columns={columns}
loading={false}
......@@ -341,7 +341,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
) : (
<CaretRightOutlined onClick={e => onExpand(record, e)} />
),
expandedRowRender: record => (
expandedRowRender: (record: any) => (
<Row
gutter={16}
className={styles.deliver}
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-02-24 16:52:30
* @LastEditTime: 2021-09-01 18:12:44
* @Description:
*/
import React from 'react';
......@@ -29,7 +29,7 @@ const ReturnPrConfirmResultVerify: React.FC = () => {
content: `是否本单所有退款确认到账?`,
onOk() {
return PublicApi.postAsReturnGoodsConfirmAllRefund({
dataId: id,
dataId: +id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
......
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