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
377709c3
authored
Jan 15, 2021
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
完善器械消耗展示内容-厂家产品代码
parent
34bd4432
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
15 deletions
app/containers/equipConsu/module/ConsumDetailsPage.js
app/containers/equipConsu/module/FillUnitPricePage.js
app/containers/equipConsu/module/ShowDetailPage.js
app/containers/equipConsu/module/ConsumDetailsPage.js
View file @
377709c3
...
@@ -64,6 +64,7 @@ class ConsumDetailsPage extends Component {
...
@@ -64,6 +64,7 @@ class ConsumDetailsPage extends Component {
surgery_collect_number
:
orderId
surgery_collect_number
:
orderId
}
}
let
detailResult
=
await
requestEquipDetails
(
global_domain_config
,
params
)
let
detailResult
=
await
requestEquipDetails
(
global_domain_config
,
params
)
console
.
log
(
'消耗明细 res==='
,
detailResult
)
if
(
detailResult
.
error_code
===
0
)
{
if
(
detailResult
.
error_code
===
0
)
{
let
{
lines
}
=
detailResult
.
data
let
{
lines
}
=
detailResult
.
data
// 需要过滤已提过消耗的数据 raised_consume="Y"
// 需要过滤已提过消耗的数据 raised_consume="Y"
...
@@ -302,20 +303,20 @@ class ConsumDetailsPage extends Component {
...
@@ -302,20 +303,20 @@ class ConsumDetailsPage extends Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
sub_list_rig
}
>
<
View
style
=
{
styles
.
sub_list_rig
}
>
<
Text
style
=
{
styles
.
rig_tit
}
>
<
Text
style
=
{
styles
.
rig_tit
}
>
{
index
+
1
}.
{
item
.
general_name
?
item
.
general_name
:
'通用名称
无'
}
{
index
+
1
}.
{
item
.
manufacturer_product_code
?
item
.
manufacturer_product_code
:
'厂家产品代码
无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_str
]}
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_str
]}
>
物料名称
:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
物料名称
:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_one
]}
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_one
]}
>
通用名称
:
{
item
.
general_name
?
item
.
general_name
:
'无'
}
<
/Text
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_one
]}
>
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_t
wo
]}
>
<
Text
style
=
{[
styles
.
rig_ser
,
styles
.
te_ot_t
hr
]}
>
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
<
/Text
>
<
/Text
>
{
/* <Text style={styles.rig_ser}>
厂家产品代码:{item.manufacturer_product_code ? item.manufacturer_product_code : '无'}
</Text> */
}
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
)
)
...
...
app/containers/equipConsu/module/FillUnitPricePage.js
View file @
377709c3
...
@@ -96,20 +96,20 @@ class FillUnitPricePage extends Component {
...
@@ -96,20 +96,20 @@ class FillUnitPricePage extends Component {
return
(
return
(
<
View
style
=
{
styles
.
cons_sub_list
}
>
<
View
style
=
{
styles
.
cons_sub_list
}
>
<
Text
style
=
{
styles
.
cont_tit
}
>
<
Text
style
=
{
styles
.
cont_tit
}
>
{
index
+
1
}.
{
item
.
general_name
?
item
.
general_name
:
'通用名称
无'
}
{
index
+
1
}.
{
item
.
manufacturer_product_code
?
item
.
manufacturer_product_code
:
'厂家产品代码
无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_str
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_str
]}
>
物料名称:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
物料名称:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
通用名称:
{
item
.
general_name
?
item
.
general_name
:
'无'
}
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_t
wo
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_t
hr
]}
>
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
<
/Text
>
<
/Text
>
{
/* <Text style={styles.cont_ser}>
厂家产品代码:{item.manufacturer_product_code ? item.manufacturer_product_code : '无'}
</Text> */
}
<
View
style
=
{
styles
.
cont_pri
}
>
<
View
style
=
{
styles
.
cont_pri
}
>
<
Text
style
=
{
styles
.
pri_icon
}
>*<
/Text
>
<
Text
style
=
{
styles
.
pri_icon
}
>*<
/Text
>
<
Text
style
=
{
styles
.
pri_inner
}
>
单价:
<
/Text
>
<
Text
style
=
{
styles
.
pri_inner
}
>
单价:
<
/Text
>
...
...
app/containers/equipConsu/module/ShowDetailPage.js
View file @
377709c3
...
@@ -85,20 +85,20 @@ class ShowDetailPage extends Component {
...
@@ -85,20 +85,20 @@ class ShowDetailPage extends Component {
return
(
return
(
<
View
style
=
{
styles
.
cons_sub_list
}
>
<
View
style
=
{
styles
.
cons_sub_list
}
>
<
Text
style
=
{
styles
.
cont_tit
}
>
<
Text
style
=
{
styles
.
cont_tit
}
>
{
index
+
1
}.
{
item
.
general_name
?
item
.
general_name
:
'通用名称
无'
}
{
index
+
1
}.
{
item
.
manufacturer_product_code
?
item
.
manufacturer_product_code
:
'厂家产品代码
无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_str
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_str
]}
>
物料名称:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
物料名称:
{
item
.
item_name
?
item
.
item_name
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
通用名称:
{
item
.
general_name
?
item
.
general_name
:
'无'
}
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_one
]}
>
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
规格型号:
{
item
.
specification
?
item
.
specification
:
'无'
}
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_t
wo
]}
>
<
Text
style
=
{[
styles
.
cont_ser
,
styles
.
te_ot_t
hr
]}
>
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
序列号:
{
item
.
serial_number
?
item
.
serial_number
:
'无'
}
<
/Text
>
<
/Text
>
{
/* <Text style={styles.cont_ser}>
厂家产品代码:{item.manufacturer_product_code ? item.manufacturer_product_code : '无'}
</Text> */
}
<
/View
>
<
/View
>
)
)
}
}
...
...
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