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
0814c0d5
Commit
0814c0d5
authored
Apr 11, 2023
by
赵振东
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-test' into 'v2-test'
47357 47409 求购需求单- 增加外部状态 币种符号 See merge request
!90
parents
f6e20e4a
a54ebcec
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
27 deletions
+44
-27
order.ts
src/locales/zh_CN/order.ts
+2
-1
index.tsx
src/views/CheckInquiryOrder/index.tsx
+14
-9
index.tsx
...iews/CheckInquiryOrder/pages/InquiryOrderDetail/index.tsx
+15
-9
index.tsx
src/views/RequireOrder/components/CommodityItem/index.tsx
+4
-2
index.tsx
src/views/RequireOrder/pages/RequireOrderDetail/index.tsx
+4
-1
index.tsx
...iews/RequireOrder/pages/RequirePriceOrderDetail/index.tsx
+5
-5
No files found.
src/locales/zh_CN/order.ts
View file @
0814c0d5
...
...
@@ -363,7 +363,8 @@ export default {
'order.filterBar.quotationAsTime'
:
'报价截止时间'
,
//查看询价单
'order.checkXun.placeholder'
:
'询价单摘要/询价单会员'
,
'order.checkXun.placeholder'
:
'询价单摘要/询价会员'
,
'order.checkXun.placeholder.1'
:
'询价单号/询价单摘要'
,
'order.checkXun.memberName'
:
'被询价会员'
,
'order.checkXun.memberName.1'
:
'询价会员'
,
'order.checkXun.commodityId'
:
'商品ID:'
,
...
...
src/views/CheckInquiryOrder/index.tsx
View file @
0814c0d5
...
...
@@ -165,15 +165,20 @@ const CheckInquiryOrder = () => {
<
NavBar
title=
{
''
}
extra=
{
<
SearchFilter
value=
{
innerValue
}
customLeftIcon=
{
searchImg
}
onChange=
{
handleChange
}
onSearch
=
{
handleSearchSubmit
}
onRightIcon
=
{
handleFilterPress
}
customRightIcon=
{
'filter'
}
placeholder
=
{
t
('
order
.
checkXun
.
placeholder
',
'询价单摘要/询价单会员')}
/>
}
<
SearchFilter
value=
{
innerValue
}
customLeftIcon=
{
searchImg
}
onChange=
{
handleChange
}
onSearch=
{
handleSearchSubmit
}
onRightIcon=
{
handleFilterPress
}
customRightIcon=
{
'filter'
}
placeholder=
{
role
?.
roleType
===
roleType
.
provider
?
t
(
'order.checkXun.placeholder'
,
'询价单摘要/询价会员'
)
:
t
(
'order.checkXun.placeholder.1'
,
'询价单号/询价单摘要'
)
}
/>
}
/>
{
/* <OrderNavBar
placeholder={t('order.checkXun.placeholder', '询价单号/询价单摘要')}
...
...
src/views/CheckInquiryOrder/pages/InquiryOrderDetail/index.tsx
View file @
0814c0d5
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
;
...
...
src/views/RequireOrder/components/CommodityItem/index.tsx
View file @
0814c0d5
...
...
@@ -20,9 +20,11 @@ const CommodityItem = props => {
求购需求单号:
{
item
.
askPurchaseNo
}
</
Text
>
{
item
?.
status
?
(
{
item
?.
status
||
item
?.
outerStatus
?
(
<
Text
style=
{
myStyle
[
'box-top-text'
]
}
>
{
RequireOrderStatusEnum
.
getLabelByValue
(
item
?.
status
)
}
{
RequireOrderStatusEnum
.
getLabelByValue
(
item
?.
status
||
item
?.
outerStatus
,
)
}
</
Text
>
)
:
null
}
</
View
>
...
...
src/views/RequireOrder/pages/RequireOrderDetail/index.tsx
View file @
0814c0d5
...
...
@@ -227,7 +227,10 @@ const RequireOrderDetail = ({ route, navigation }: IProp) => {
}
}
>
<
Text
>
期望单价:
</
Text
>
<
Text
>
{
formatNum
(
Goods
?.
expectedUnitPrice
,
6
)
}
</
Text
>
<
Text
>
{
`${Goods?.currencySymbol}\t`
}
{
formatNum
(
Goods
?.
expectedUnitPrice
,
6
)
}
</
Text
>
</
View
>
</
View
>
);
...
...
src/views/RequireOrder/pages/RequirePriceOrderDetail/index.tsx
View file @
0814c0d5
...
...
@@ -57,7 +57,7 @@ const RequirePriceOrderDetail: FcRoute<
const
[
askPurchaseData
,
setAskPurchaseData
]
=
useState
<
AskPurchaseDataType
>
();
const
[
popupVisibal
,
setPopupVisibal
]
=
useState
<
boolean
>
(
false
);
const
[
modalVisible
,
setModalVisible
]
=
useState
<
boolean
>
(
false
);
const
[
popupInfo
,
setPopupInfo
]
=
useState
<
PopupInfo
>
();
const
[
popupInfo
,
setPopupInfo
]
=
useState
<
any
>
();
const
insets
=
useSafeAreaInsets
();
const
fetchData
=
async
()
=>
{
console
.
log
(
quoteNoId
,
'paramsparams'
,
askPurchaseId
);
...
...
@@ -144,6 +144,7 @@ const RequirePriceOrderDetail: FcRoute<
</
Text
>
<
Text
>
{
t
(
'order.requireOrder.expectedUnitPrice'
,
'期望单价:'
)
}
{
`${Goods?.currencySymbol}\t`
}
{
formatNum
(
Goods
.
expectedUnitPrice
,
6
)
}
</
Text
>
</
View
>
...
...
@@ -160,10 +161,7 @@ const RequirePriceOrderDetail: FcRoute<
<
Text
onPress=
{
()
=>
{
setPopupVisibal
(
!
popupVisibal
);
setPopupInfo
({
supplierQuote
:
item
.
supplierQuote
,
manufacturerPrice
:
item
.
manufacturerPrice
,
});
setPopupInfo
(
item
);
}
}
style=
{
{
color
:
'#00A98F'
}
}
>
...
...
@@ -596,12 +594,14 @@ const RequirePriceOrderDetail: FcRoute<
{
t
(
'order.requireOrder.supplierQuotation'
,
'供应商报价'
)
}
</
Text
>
<
Text
style=
{
myStyle
[
'Popup-text'
]
}
>
{
`${popupInfo?.currencySymbol}\t`
}
{
formatNum
(
popupInfo
?.
supplierQuote
,
6
)
}
</
Text
>
</
View
>
<
View
style=
{
myStyle
[
'Popup-content'
]
}
>
<
Text
>
{
t
(
'order.requireOrder.factoryQuotation'
,
'厂家报价'
)
}
</
Text
>
<
Text
style=
{
myStyle
[
'Popup-text'
]
}
>
{
`${popupInfo?.currencySymbol}\t`
}
{
formatNum
(
popupInfo
?.
manufacturerPrice
,
6
)
}
</
Text
>
</
View
>
...
...
赵振东
@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