Commit 15062dfb by wong.peiyi

转单及加大填写

parent 75b0d033
......@@ -52,7 +52,7 @@ class ChargeDetailsPage extends Component {
case LOGIN_NO:
navigation.navigate('LoginPage')
break;
default:
default:
break;
}
}
......@@ -502,7 +502,10 @@ const styles = StyleSheet.create({
marginBottom: 30,
borderRadius: 10,
},
add_btn_cont: {},
add_btn_cont: {
alignItems: 'center',
width: '100%'
},
add_btn_txt: {
height: 46,
lineHeight: 46
......@@ -529,4 +532,4 @@ const mapDispatchToProps = (dispatch) => {
}
}
export default connect(mapStateToProps, mapDispatchToProps)(ChargeDetailsPage);
\ No newline at end of file
export default connect(mapStateToProps, mapDispatchToProps)(ChargeDetailsPage);
......@@ -994,14 +994,16 @@ class TransOrderPage extends Component {
// 耗材明细 点击
handleConsumDetailCheck() {
let { listOptionData } = this.state
let { listOptionData, sysValues } = this.state
let subTransObj = {
seller_name: listOptionData[0].name,
seller_code: listOptionData[0].value,
org_name: listOptionData[1].name,
org_code: listOptionData[1].value,
customer_code: listOptionData[2].value,
collect_number: listOptionData[3].value
collect_number: listOptionData[3].value,
department_code: listOptionData[9].value,
sysValues
}
if(!listOptionData[7].subOption.length) {
this.props.setTransDetailOption([], {})
......
......@@ -231,10 +231,15 @@ class TransSearchPage extends Component {
let params = {
access_token: props.token,
org_code: subTransObj.org_code,
seller_code: props.userInfo.user_name,
// seller_code: props.userInfo.user_name,
collect_header_status: 'COLLECTING_WAITING_CONFIRM,CONFIRM_COLLECT,COLLECTED_WAITING_CONFIRMED,APPROVED,COLLECTED',
setting_type: 'COLLECT'
}
if (subTransObj.sysValues.OBS_MOBILE_TRANS_DEPARTMENT_DISPLAY > 0) {
params.department_code = subTransObj.department_code
} else {
params.seller_code = props.userInfo.user_name
}
let { global_domain_config } = that.props
that.changeLodingFlag(true)
let sourResult = await requestSubSourBorOrdNum(global_domain_config, params)
......@@ -380,10 +385,15 @@ class TransSearchPage extends Component {
}
let params = {
access_token: token,
seller_name: subTransObj.seller_name,
org_name: subTransObj.org_name,
destination_collect_number: subTransObj.collect_number,
...seaForm
// seller_name: subTransObj.seller_name,
}
if (subTransObj.sysValues.OBS_MOBILE_TRANS_DEPARTMENT_DISPLAY > 0) {
params.department_code = subTransObj.department_code
} else {
params.seller_name = subTransObj.seller_name
}
this.changeLodingFlag(true)
let { global_domain_config } = that.props
......
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