Commit 53078647 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理渠道手工下单选商品后查询支付方式异常,处理销售订单详情查看支付凭证异常

parent eb48ad23
......@@ -86,7 +86,7 @@ const OrderPayTabs:React.FC<OrderPayTabsProps> = (props) => {
</Row>
}
const urlsDatas = data.paymentInformationResponses.filter(item => item['channel'] === 5 && item['payWay'] === 2).map(_item => _item['payOrderUrls'])
const urlsDatas = data.paymentInformationResponses.filter(item => item['channel'] === 5 && item['payWay'] === 2).map(_item => _item['payOrderUrls']).filter(__item => __item.length)
return (
<>
......
......@@ -107,7 +107,7 @@ export const useProductTableChangeForPay = (ctx: ISchemaFormActions | ISchemaFor
} else if(pageStatus === PageStatus.ADD) { // 新增下 需要支付信息生成支付次数
fetchOrderApi.getPayInfoList({
productId: orderModel === OrderModalType["HAND_ORDER"] ? productItem.id : productItem.productId,
productId: (orderModel === OrderModalType["HAND_ORDER"] || orderModel === OrderModalType["CHANNEL_DIRECT_MINING_ORDER"] || orderModel === OrderModalType["CHANNEL_SPOT_MANUAL_ORDER"]) ? productItem.id : productItem.productId,
memberId: productItem?.memberId || ctx.getFieldValue('supplyMembersId'),
memberRoleId: productItem?.memberRoleId || ctx.getFieldValue('supplyMembersRoleId'),
orderModel: orderModel,
......
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