Commit 9c9fbe5d by Denglingling

调整自助下单,获取供应商的请求参数等

parent 4b7600ee
......@@ -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%'
......
......@@ -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()
// })
}
// 关闭弹窗
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment