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
9c9fbe5d
authored
Jan 16, 2021
by
Denglingling
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整自助下单,获取供应商的请求参数等
parent
4b7600ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
52 deletions
app/containers/login/LoginPage.js
app/containers/quickOrder/QuickOrderPage.js
app/containers/selfOrder/SelfOrderPage.js
app/containers/selfOrder/module/ChooseProductPage.js
app/containers/login/LoginPage.js
View file @
9c9fbe5d
...
...
@@ -45,7 +45,7 @@ class LoginPage extends Component{
subTitList
:
[
'登录'
,
'登录中...'
],
isSubLoding
:
false
,
isShowDomain
:
false
,
// 域名填写
version_apk
:
'
v1.2.1
'
version_apk
:
'
V1.2.2
'
}
}
...
...
@@ -324,18 +324,12 @@ const styles = StyleSheet.create({
right
:
0
},
login_inner
:
{
// flex: 1,
// position: 'relative',
// alignSelf: 'stretch',
width
:
Width
(),
height
:
Height
(),
paddingLeft
:
pxSize
(
33
),
paddingRight
:
pxSize
(
33
)
// height: null
},
login_head
:
{
// flex: 1,
// height: pxHeight(264),
height
:
'22%'
,
display
:
'flex'
,
flexDirection
:
'column'
,
...
...
@@ -356,7 +350,6 @@ const styles = StyleSheet.create({
login_content
:
{
backgroundColor
:
'#FFF'
,
borderRadius
:
10
,
// height: '49%',
height
:
pxSize
(
390
),
width
:
pxSize
(
348
),
paddingHorizontal
:
'8%'
,
...
...
@@ -389,11 +382,8 @@ const styles = StyleSheet.create({
fontSize
:
third_text_size
,
height
:
38
,
fontFamily
:
font_family_regular
// lineHeight: 22,
},
cont_footer
:
{
// borderRadius: 50
// justifyContent: 'center',
justifyContent
:
'flex-end'
,
flex
:
1
},
...
...
@@ -433,15 +423,11 @@ const styles = StyleSheet.create({
fontFamily
:
font_family_regular
},
login_footer
:
{
// height: '20%',
// height: pxHeight(220),
flex
:
1
,
justifyContent
:
'flex-start'
,
alignItems
:
'center'
},
fo_box
:
{
// width: '30%',
// height: '30%'
width
:
pxSize
(
110
),
height
:
pxSize
(
30
),
marginTop
:
42
...
...
@@ -452,7 +438,6 @@ const styles = StyleSheet.create({
paddingTop
:
4
},
footer_img
:
{
// flex: 1
resizeMode
:
'contain'
,
width
:
'100%'
,
height
:
'100%'
...
...
app/containers/quickOrder/QuickOrderPage.js
View file @
9c9fbe5d
...
...
@@ -594,38 +594,6 @@ class EquipConsuPage extends Component {
},()
=>
{
self
.
changeCanSub
()
})
// this.setState({
// listOptionData: listOptionData.map((chItem, index) => {
// if(chItem.title === itemTitle) {
// chItem.name = item.name
// chItem.value = item.value
// if(itemTitle === '组织') {
// self.clearInitNameAndValue(1)
// }
// if(itemTitle === '客户名称') {
// self.clearInitNameAndValue(2)
// }
// if (itemTitle === '主治医生') {
// if(item.name === '其他') {
// chItem.showInput = true
// } else {
// chItem.showInput = false
// chItem.inputValue = ''
// }
// self.clearInitNameAndValue(5)
// }
// if(itemTitle === '手术类型') {
// self.clearInitNameAndValue(6)
// }
// if (itemTitle === '手术模板') {
// listOptionData[10].value = item.desc
// }
// }
// return chItem
// })
// }, () => {
// self.changeCanSub()
// })
}
// 关闭弹窗
...
...
app/containers/selfOrder/SelfOrderPage.js
View file @
9c9fbe5d
...
...
@@ -427,7 +427,7 @@ class SelfOrderPage extends Component {
let
that
=
this
this
.
setState
({
listOptionData
:
listOptionData
.
map
((
item
,
index
)
=>
{
if
(
index
>
curIndex
&&
index
<
9
)
{
if
(
index
>
curIndex
&&
index
<
6
)
{
item
.
name
=
localOtherObj
.
name
item
.
value
=
localOtherObj
.
value
if
(
listOptionData
[
1
].
value
&&
item
.
title
==
'客户名称'
)
{
...
...
@@ -487,9 +487,9 @@ class SelfOrderPage extends Component {
if
(
itemTitle
===
'组织'
)
{
that
.
clearInitNameAndValue
(
1
)
}
//
if (itemTitle === '客户名称') {
//
that.clearInitNameAndValue(2)
//
}
if
(
itemTitle
===
'客户名称'
)
{
that
.
clearInitNameAndValue
(
2
)
}
if
(
itemTitle
===
'主治医生'
)
{
if
(
item
.
name
===
'其他'
)
{
chItem
.
showInput
=
true
...
...
app/containers/selfOrder/module/ChooseProductPage.js
View file @
9c9fbe5d
This diff is collapsed.
Click to expand it.
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