Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gaohuaxue-mobile-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project
gaohuaxue-mobile-app
Commits
a3ecf7df
Commit
a3ecf7df
authored
Apr 11, 2023
by
赵振东
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 47422 询价单详情页-提供者 修改显示为询价会员字段
parent
f6e20e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
index.tsx
...iews/CheckInquiryOrder/pages/InquiryOrderDetail/index.tsx
+15
-9
No files found.
src/views/CheckInquiryOrder/pages/InquiryOrderDetail/index.tsx
View file @
a3ecf7df
import
React
,
{
use
Ref
,
use
Effect
,
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
;
...
...
赵振东
@zhaozhendong
mentioned in commit
ef9cc178
·
Apr 11, 2023
mentioned in commit
ef9cc178
mentioned in commit ef9cc17817d9add5b93735824cbd5991e4bd7a8a
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment