Commit 70bb79b1 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改类型

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