Commit bc466830 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修改现货商品支付信息不请求的问题

parent e125ad17
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 17:36:45
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-09-16 10:31:19
* @LastEditTime: 2021-09-17 15:40:27
* @Description: 查看退货数量与退款金额 抽屉
*/
import React, { useEffect, useState } from 'react';
......@@ -203,7 +203,7 @@ const ReturnInfoDrawer: React.FC<ReturnInfoDrawerProps> = ({
setPayInfoLoading(true);
try {
// 编辑状态才请求支付信息,否则默认取申请信息里边的支付信息
if (isEdit && isMateriel) {
if (isEdit && !isMateriel) {
const res = await PublicApi.getOrderCommonAfterSalePaymentFind({
orderId: `${applyInfo.orderId}`,
});
......
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