Commit 9c9fbe5d by Denglingling

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

parent 4b7600ee
...@@ -45,7 +45,7 @@ class LoginPage extends Component{ ...@@ -45,7 +45,7 @@ class LoginPage extends Component{
subTitList: ['登录', '登录中...'], subTitList: ['登录', '登录中...'],
isSubLoding: false, isSubLoding: false,
isShowDomain: false, // 域名填写 isShowDomain: false, // 域名填写
version_apk: 'v1.2.1' version_apk: 'V1.2.2'
} }
} }
...@@ -324,18 +324,12 @@ const styles = StyleSheet.create({ ...@@ -324,18 +324,12 @@ const styles = StyleSheet.create({
right: 0 right: 0
}, },
login_inner: { login_inner: {
// flex: 1,
// position: 'relative',
// alignSelf: 'stretch',
width: Width(), width: Width(),
height: Height(), height: Height(),
paddingLeft: pxSize(33), paddingLeft: pxSize(33),
paddingRight: pxSize(33) paddingRight: pxSize(33)
// height: null
}, },
login_head: { login_head: {
// flex: 1,
// height: pxHeight(264),
height: '22%', height: '22%',
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
...@@ -356,7 +350,6 @@ const styles = StyleSheet.create({ ...@@ -356,7 +350,6 @@ const styles = StyleSheet.create({
login_content: { login_content: {
backgroundColor: '#FFF', backgroundColor: '#FFF',
borderRadius: 10, borderRadius: 10,
// height: '49%',
height: pxSize(390), height: pxSize(390),
width: pxSize(348), width: pxSize(348),
paddingHorizontal: '8%', paddingHorizontal: '8%',
...@@ -389,11 +382,8 @@ const styles = StyleSheet.create({ ...@@ -389,11 +382,8 @@ const styles = StyleSheet.create({
fontSize: third_text_size, fontSize: third_text_size,
height: 38, height: 38,
fontFamily: font_family_regular fontFamily: font_family_regular
// lineHeight: 22,
}, },
cont_footer: { cont_footer: {
// borderRadius: 50
// justifyContent: 'center',
justifyContent: 'flex-end', justifyContent: 'flex-end',
flex: 1 flex: 1
}, },
...@@ -433,15 +423,11 @@ const styles = StyleSheet.create({ ...@@ -433,15 +423,11 @@ const styles = StyleSheet.create({
fontFamily: font_family_regular fontFamily: font_family_regular
}, },
login_footer: { login_footer: {
// height: '20%',
// height: pxHeight(220),
flex: 1, flex: 1,
justifyContent: 'flex-start', justifyContent: 'flex-start',
alignItems: 'center' alignItems: 'center'
}, },
fo_box: { fo_box: {
// width: '30%',
// height: '30%'
width: pxSize(110), width: pxSize(110),
height: pxSize(30), height: pxSize(30),
marginTop: 42 marginTop: 42
...@@ -452,7 +438,6 @@ const styles = StyleSheet.create({ ...@@ -452,7 +438,6 @@ const styles = StyleSheet.create({
paddingTop: 4 paddingTop: 4
}, },
footer_img: { footer_img: {
// flex: 1
resizeMode: 'contain', resizeMode: 'contain',
width: '100%', width: '100%',
height: '100%' height: '100%'
......
...@@ -594,38 +594,6 @@ class EquipConsuPage extends Component { ...@@ -594,38 +594,6 @@ class EquipConsuPage extends Component {
},() => { },() => {
self.changeCanSub() 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 { ...@@ -427,7 +427,7 @@ class SelfOrderPage extends Component {
let that = this let that = this
this.setState({ this.setState({
listOptionData: listOptionData.map((item, index) => { listOptionData: listOptionData.map((item, index) => {
if (index > curIndex && index < 9) { if (index > curIndex && index < 6) {
item.name = localOtherObj.name item.name = localOtherObj.name
item.value = localOtherObj.value item.value = localOtherObj.value
if (listOptionData[1].value && item.title == '客户名称') { if (listOptionData[1].value && item.title == '客户名称') {
...@@ -487,9 +487,9 @@ class SelfOrderPage extends Component { ...@@ -487,9 +487,9 @@ class SelfOrderPage extends Component {
if (itemTitle === '组织') { if (itemTitle === '组织') {
that.clearInitNameAndValue(1) that.clearInitNameAndValue(1)
} }
// if (itemTitle === '客户名称') { if (itemTitle === '客户名称') {
// that.clearInitNameAndValue(2) that.clearInitNameAndValue(2)
// } }
if (itemTitle === '主治医生') { if (itemTitle === '主治医生') {
if (item.name === '其他') { if (item.name === '其他') {
chItem.showInput = true 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