Commit a3ecf7df authored by 赵振东's avatar 赵振东

fix: 47422 询价单详情页-提供者 修改显示为询价会员字段

parent f6e20e4a
import React, { useRef, useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';
import {
View,
Text,
......@@ -143,13 +143,13 @@ const InquiryOrderDetail: FcRoute<'InquiryOrderDetail', Param> = props => {
return (
<View style={myStyle['Mcell-content']}>
<View style={myStyle['Mcell-item']}>
<Text style={myStyle['Mcell-text']}>{title}</Text>
<Text style={{ color: '#252D37' }}>
{item.formatNum
? formatNum(Goods?.[value], 6)
: Goods?.[value]}
</Text>
</View>
<Text style={myStyle['Mcell-text']}>{title}</Text>
<Text style={{ color: '#252D37' }}>
{item.formatNum
? formatNum(Goods?.[value], 6)
: Goods?.[value]}
</Text>
</View>
</View>
);
}}
......@@ -168,7 +168,7 @@ const InquiryOrderDetail: FcRoute<'InquiryOrderDetail', Param> = props => {
},
{
title: t('order.checkXun.memberName', '被询价会员'),
value: orderData?.memberName,
value: orderData?.memberName, //服务消费者
},
{
title: t('order.requireOrder.detail', '需求摘要'),
......@@ -315,6 +315,12 @@ const InquiryOrderDetail: FcRoute<'InquiryOrderDetail', Param> = props => {
</View>
{basicInfoList.map((item, index) => {
if (item.value) {
if (index === 1 && role?.roleType === roleType.provider) {
item = {
title: t('order.checkXun.memberName.1'),
value: orderData?.inquiryListMemberName,
};
}
return renderCommonList(item, index);
}
return false;
......
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