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
a54ebcec
Commit
a54ebcec
authored
Apr 11, 2023
by
赵振东
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
47357 47409 求购需求单- 增加外部状态 币种符号
parent
04e9bef7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
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/views/RequireOrder/components/CommodityItem/index.tsx
View file @
a54ebcec
...
...
@@ -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 @
a54ebcec
...
...
@@ -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 @
a54ebcec
...
...
@@ -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