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
75b0d033
authored
May 28, 2021
by
wong.peiyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
转单行添加目标单号
parent
99da212d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
app/containers/transOrder/module/TransSearchPage.js
app/containers/transOrder/module/TransSearchPage.js
View file @
75b0d033
...
...
@@ -143,7 +143,7 @@ class TransSearchPage extends Component {
case
LOGIN_NO
:
navigation
.
navigate
(
'LoginPage'
)
break
;
default
:
default
:
break
;
}
}
...
...
@@ -380,8 +380,9 @@ class TransSearchPage extends Component {
}
let
params
=
{
access_token
:
token
,
seller_name
:
subTransObj
.
seller_name
,
seller_name
:
subTransObj
.
seller_name
,
org_name
:
subTransObj
.
org_name
,
destination_collect_number
:
subTransObj
.
collect_number
,
...
seaForm
}
this
.
changeLodingFlag
(
true
)
...
...
@@ -424,7 +425,7 @@ class TransSearchPage extends Component {
// show('请至少输入一个查询条件')
// }
}
// 修改加载中
changeLodingFlag
(
show
)
{
this
.
setState
({
...
...
@@ -487,7 +488,7 @@ class TransSearchPage extends Component {
result
=
arr
.
reduce
(
function
(
init
,
item
)
{
if
(
!
tmp
[
item
[
typeName1
]
+
item
[
typeName2
]
+
item
[
typeName3
]])
{
tmp
[
item
[
typeName1
]
+
item
[
typeName2
]
+
item
[
typeName3
]]
=
true
init
.
push
(
item
)
init
.
push
(
item
)
}
return
init
},
[])
...
...
@@ -530,7 +531,7 @@ class TransSearchPage extends Component {
handleSubSelected
(
show
)
{
this
.
handleCloseSelectModal
(
true
)
}
// 点击 确定
handleSubmit
()
{
this
.
handleCloseSelectModal
(
false
)
...
...
@@ -545,7 +546,7 @@ class TransSearchPage extends Component {
surgery_date_from
:
listOptionData
[
2
].
value
,
surgery_date_to
:
listOptionData
[
3
].
value
}
this
.
props
.
setTransDetailOption
(
localSelectOption
,
searchForm
)
this
.
props
.
setTransDetailOption
(
localSelectOption
,
searchForm
)
this
.
props
.
navigation
.
navigate
(
'TransOrderPage'
,
{
title
:
'转单申请'
})
}
...
...
@@ -583,7 +584,7 @@ class TransSearchPage extends Component {
{
listOptionData
[
0
].
name
}
<
/ContTextStyle
>
{
this
.
renderRightArrowItem
()
}
{
/* <TouchableOpacity
activeOpacity={.8}
style={styles.sea_scan_box}
...
...
@@ -625,7 +626,7 @@ class TransSearchPage extends Component {
<
CellTextStyle
style
=
{
styles
.
cell_box
}
>
<
TitleTextStyle
style
=
{
styles
.
cell_tit_size
}
>
{
'手术时间'
}
<
/TitleTextStyle
>
<
View
style
=
{
styles
.
qui_cell_rig_date
}
>
<
TouchableOpacity
<
TouchableOpacity
activeOpacity
=
{.
8
}
style
=
{
styles
.
qui_date_box
}
onPress
=
{()
=>
this
.
handleSurDateCheck
(
'start'
)
}
...
...
@@ -636,7 +637,7 @@ class TransSearchPage extends Component {
<
/View
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
qui_date_line
}
>
—
<
/Text
>
<
TouchableOpacity
<
TouchableOpacity
activeOpacity
=
{.
8
}
style
=
{
styles
.
qui_date_box
}
onPress
=
{()
=>
this
.
handleSurDateCheck
(
'end'
)
}
...
...
@@ -678,7 +679,7 @@ class TransSearchPage extends Component {
// 返回选择器
renderPickerModel
()
{
let
{
let
{
listCurrentOption
,
currentItem
,
currentTitle
,
...
...
@@ -693,8 +694,8 @@ class TransSearchPage extends Component {
itemValue
=
{
currentItem
.
value
}
itemTitle
=
{
currentTitle
}
closeModal
=
{(
show
)
=>
this
.
handleCloseModal
(
show
)}
/>
/
>
<
/SafeAreaView
>
)
}
...
...
@@ -723,7 +724,7 @@ class TransSearchPage extends Component {
当前查询(
{
conDetaOption
.
length
}
)数据
<
/Text
>
{
!
isAllSelect
?
!
isAllSelect
?
<
TouchableOpacity
activeOpacity
=
{.
8
}
style
=
{
styles
.
tit_btn_box
}
...
...
@@ -738,15 +739,15 @@ class TransSearchPage extends Component {
>
<
Text
style
=
{[
styles
.
tit_btn
,
styles
.
cle_btn
]}
>
取消全选
<
/Text
>
<
/TouchableOpacity
>
}
}
<
/View
>
<
View
style
=
{
styles
.
cont_list
}
>
<
View
style
=
{
styles
.
cont_list
}
>
<
FlatList
style
=
{
styles
.
cons_cont
}
keyExtractor
=
{
item
=>
item
.
id
}
data
=
{
this
.
state
.
conDetaOption
}
extraData
=
{
this
.
state
}
renderItem
=
{
({
item
,
index
})
=>
this
.
renderSubListItem
(
item
,
index
)
}
renderItem
=
{
({
item
,
index
})
=>
this
.
renderSubListItem
(
item
,
index
)
}
/
>
<
/View
>
<
/View
>
...
...
@@ -768,7 +769,7 @@ class TransSearchPage extends Component {
}}
>
<
View
style
=
{
styles
.
sub_list_lef
}
>
{
item
.
select
?
{
item
.
select
?
<
TouchableOpacity
activeOpacity
=
{.
8
}
style
=
{
styles
.
sub_icon_box
}
...
...
@@ -843,10 +844,10 @@ class TransSearchPage extends Component {
)
}
render
()
{
render
()
{
let
{
navigation
}
=
this
.
props
let
{
title
}
=
navigation
.
state
.
params
return
(
return
(
<
View
style
=
{
styles
.
search_container
}
>
<
StatusBarView
isReactStackNavigator
=
{
true
}
...
...
@@ -885,9 +886,9 @@ const styles = StyleSheet.create({
},
list_cont
:
{
flex
:
1
},
},
item_container
:
{
flex
:
1
flex
:
1
},
item_btn_cont
:
{
alignItems
:
'center'
,
...
...
@@ -1082,5 +1083,5 @@ const mapDispatchToProps = (dispatch) => {
}
}
}
export
default
connect
(
mapStateToProps
,
mapDispatchToProps
)(
TransSearchPage
);
\ No newline at end of file
export
default
connect
(
mapStateToProps
,
mapDispatchToProps
)(
TransSearchPage
);
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