Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4e303644
authored
Nov 19, 2021
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
消耗历史弹窗显示生产信息
parent
273c8399
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
3 deletions
app/containers/historicalOrder/module/LineOrderPage.js
app/containers/historicalOrder/module/LineOrderPage.js
View file @
4e303644
...
...
@@ -8,6 +8,7 @@ import {
ScrollView
,
SafeAreaView
}
from
'react-native'
;
import
*
as
R
from
'ramda'
;
import
{
promary_color
,
safe_view
,
...
...
@@ -552,6 +553,11 @@ class LineOrderPage extends Component {
// 返回弹窗
renderDetailModel
()
{
let
{
popFormItem
,
toolShowPopup
}
=
this
.
state
const
{
sysProfiles
}
=
this
.
props
let
{
supIndex
}
=
this
.
props
.
navigation
.
state
.
params
const
showSalePrice
=
R
.
compose
(
R
.
equals
(
'Y'
),
R
.
prop
(
'SUR_MOBILE_HISTORY_SALE_PRICE_SHOW_FLAG'
))(
sysProfiles
)
console
.
log
(
supIndex
);
return
(
<
ShowModel
title
=
{
popFormItem
.
item_name
}
...
...
@@ -586,6 +592,36 @@ class LineOrderPage extends Component {
<
/Text> : nul
l
}
{
popFormItem
.
serial_number
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
序列号:
{
popFormItem
.
serial_number
}
<
/Text> : nul
l
}
{
popFormItem
.
production_batch_number
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
生产批号:
{
popFormItem
.
production_batch_number
}
<
/Text> : nul
l
}
{
popFormItem
.
production_serial_number
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
生产序号:
{
popFormItem
.
production_serial_number
}
<
/Text> : nul
l
}
{
popFormItem
.
production_date
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
生产日期:
{
moment
(
popFormItem
.
production_date
).
format
(
'YYYY-MM-DD'
)}
<
/Text> : nul
l
}
{
popFormItem
.
expiration_date
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
过期日期:
{
moment
(
popFormItem
.
expiration_date
).
format
(
'YYYY-MM-DD'
)}
<
/Text> : nul
l
}
{
popFormItem
.
plan_quantity
?
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
计划数量:
{
popFormItem
.
plan_quantity
}
...
...
@@ -604,10 +640,10 @@ class LineOrderPage extends Component {
<
/Text> : nul
l
}
{
popFormItem
.
sale_price
?
!
popFormItem
.
sale_price
||
!
showSalePrice
&&
supIndex
===
0
?
null
:
<
Text
style
=
{
styles
.
mo_cont_tip
}
>
销售价格:
{
popFormItem
.
sale_price
}
<
/Text>
: nul
l
<
/Text>
}
<
/View
>
<
/View
>
...
...
@@ -770,7 +806,8 @@ const mapStateToProps = (state) => {
return
{
token
:
state
.
login
.
token
,
loginState
:
state
.
login
.
loginState
,
global_domain_config
:
state
.
login
.
global_domain_config
global_domain_config
:
state
.
login
.
global_domain_config
,
sysProfiles
:
state
.
login
.
sysProfiles
,
}
}
...
...
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