Commit 33896e0e by Denglingling

调整部分多余代码

parent c7fefdfb
...@@ -136,6 +136,17 @@ android { ...@@ -136,6 +136,17 @@ android {
} }
} }
} }
// new add...
signingConfigs {
debug {
v1SigningEnabled true
v2SigningEnabled true
}
release {
v1SigningEnabled true
v2SigningEnabled true
}
}
} }
dependencies { dependencies {
......
...@@ -115,7 +115,7 @@ class EquipConsuPage extends Component { ...@@ -115,7 +115,7 @@ class EquipConsuPage extends Component {
}, },
{ {
"id": "7", "id": "7",
title: '配台模板', title: '手术模板',
name: '请选择', name: '请选择',
value: '' value: ''
}, },
...@@ -157,7 +157,7 @@ class EquipConsuPage extends Component { ...@@ -157,7 +157,7 @@ class EquipConsuPage extends Component {
// surgery_name: '', // 手术名称 // surgery_name: '', // 手术名称
surgery_date: '', // 手术时间 surgery_date: '', // 手术时间
// surgery_type_code: '', // 手术类型 // surgery_type_code: '', // 手术类型
template_collect_number: '', // 配台模板 template_collect_number: '', // 手术模板
order_type_code: '', // 订单类型 order_type_code: '', // 订单类型
surgery_desc: '', // 备注信息 surgery_desc: '', // 备注信息
voice_url: '', // 录音地址 voice_url: '', // 录音地址
...@@ -586,7 +586,7 @@ class EquipConsuPage extends Component { ...@@ -586,7 +586,7 @@ class EquipConsuPage extends Component {
if(itemTitle === '手术类型') { if(itemTitle === '手术类型') {
self.clearInitNameAndValue(6) self.clearInitNameAndValue(6)
} }
if (itemTitle === '配台模板') { if (itemTitle === '手术模板') {
listOptionData[10].value = item.desc listOptionData[10].value = item.desc
} }
} }
...@@ -641,7 +641,7 @@ class EquipConsuPage extends Component { ...@@ -641,7 +641,7 @@ class EquipConsuPage extends Component {
resultArr.push(obj) resultArr.push(obj)
}) })
tempOption = [...resultArr] tempOption = [...resultArr]
} else if (currentTitle === '配台模板') { } else if (currentTitle === '手术模板') {
let resultArr = [] let resultArr = []
quickOrderOption.forEach(item => { quickOrderOption.forEach(item => {
let obj = {} let obj = {}
...@@ -933,12 +933,12 @@ class EquipConsuPage extends Component { ...@@ -933,12 +933,12 @@ class EquipConsuPage extends Component {
}) })
} }
} }
// 配台模板 点击 // 手术模板 点击
handleMatchTempCheck() { handleMatchTempCheck() {
let { state, props } = this let { state, props } = this
if(this.judgeOrgIsNull() && this.judgeCustomerIsNull()) { if(this.judgeOrgIsNull() && this.judgeCustomerIsNull()) {
this.setState({ this.setState({
currentTitle: '配台模板', currentTitle: '手术模板',
currentItem: { currentItem: {
name: state.listOptionData[7].name, name: state.listOptionData[7].name,
value: state.listOptionData[7].value value: state.listOptionData[7].value
...@@ -1283,7 +1283,7 @@ class EquipConsuPage extends Component { ...@@ -1283,7 +1283,7 @@ class EquipConsuPage extends Component {
> >
<CellTextStyle> <CellTextStyle>
<AsteriskTextStyle>*</AsteriskTextStyle> <AsteriskTextStyle>*</AsteriskTextStyle>
<TitleTextStyle>{'配台模板'}</TitleTextStyle> <TitleTextStyle>{'手术模板'}</TitleTextStyle>
<ContTextStyle>{listOptionData[7].name}</ContTextStyle> <ContTextStyle>{listOptionData[7].name}</ContTextStyle>
{ this.renderRightArrowItem() } { this.renderRightArrowItem() }
</CellTextStyle> </CellTextStyle>
......
...@@ -7,8 +7,7 @@ import { ...@@ -7,8 +7,7 @@ import {
Text, Text,
Image, Image,
FlatList, FlatList,
ScrollView, ScrollView
Animated
} from 'react-native'; } from 'react-native';
import { import {
home_background_color, home_background_color,
...@@ -56,14 +55,6 @@ class TransSearchPage extends Component { ...@@ -56,14 +55,6 @@ class TransSearchPage extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
serchForm: {
seller_name: '', // 销售员
org_code: '', // 组织
surgery_collect_number: '', // 来源借货订单号
serial_number: '', // 序列号
surgery_date_from: '', // 手术时间开始
surgery_date_to: '', // 手术时间结束
},
listOptionData: [ listOptionData: [
{ {
"id": "0", "id": "0",
...@@ -558,7 +549,7 @@ class TransSearchPage extends Component { ...@@ -558,7 +549,7 @@ class TransSearchPage extends Component {
// 返回顶部查询 // 返回顶部查询
renderTopProItem() { renderTopProItem() {
let { serchForm, listOptionData } = this.state let { listOptionData } = this.state
return( return(
<View style={styles.list_cont}> <View style={styles.list_cont}>
{/* <Text style={styles.search_top_tip}>查询条件,至少输入一个条件</Text> */} {/* <Text style={styles.search_top_tip}>查询条件,至少输入一个条件</Text> */}
......
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