Commit 15062dfb by wong.peiyi

转单及加大填写

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