centerS.jsx 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import React from 'react';
  2. import { Radio, Select, Input } from 'antd';
  3. // import { $Axios } from '../../common/publish';
  4. import '../center-s/centerS.scss'
  5. export default class centerS extends React.Component {
  6. constructor(props) {
  7. super(props)
  8. this.state = {
  9. contract : [
  10. // { txt : '请选择商户签约性质', value : 0 },
  11. { txt : '个体工商户',value : 1 },
  12. { txt : '事业单位',value : 2 },
  13. { txt : '民办非企业组织',value : 3 },
  14. { txt : '社会团体',value : 4 },
  15. { txt : '非法人企业',value : 5 },
  16. { txt : '自然人',value : 6 },
  17. { txt : '政府机关',value : 7 },
  18. { txt : '其他',value : 8 },
  19. ],
  20. certificate : [
  21. { txt : '统一社会信用代码证',value : 1 },
  22. { txt : '民办非企业单位登记证书',value : 2 },
  23. { txt : '个体工商户营业执照',value : 3 },
  24. { txt : '社会团体法人登记证书',value : 4 },
  25. { txt : '事业单位法人证书',value : 5 },
  26. { txt : '基金法人登记证书',value : 6 },
  27. { txt : '营业执照',value : 7 },
  28. { txt : '其他',value : 8 },
  29. ]
  30. }
  31. }
  32. componentDidMount() {
  33. }
  34. handleChange(value) {
  35. console.log(`Selected: ${value}`);
  36. }
  37. render() {
  38. const { contract, certificate } = this.state;
  39. const { Option } = Select;
  40. const { TextArea } = Input;
  41. return(
  42. <div className='center_up'>
  43. <div className='center_left'>
  44. <div className='c-l'>
  45. <div className='titles'> 开户行 : </div>
  46. <Select size='default' placeholder="请选择开户行" onChange={ this.handleChange } style={{ width: 200 }}>
  47. {contract.map((item,index) => (
  48. <Option key={index} value={item.value}>{item.txt}</Option>
  49. ))}
  50. </Select>
  51. </div>
  52. <div className='c-l'>
  53. <div className='titles'> 支行名称 : </div>
  54. <Select size='default' placeholder="请选择支行" onChange={ this.handleChange } style={{ width: 200 }}>
  55. {certificate.map((item,index) => (
  56. <Option key={index} value={item.value}>{item.txt}</Option>
  57. ))}
  58. </Select>
  59. </div>
  60. <div className='c-l'>
  61. <div className='titles'> 开户名称 : </div>
  62. <div className='inputs'><Input placeholder="请输入开户名称" /></div>
  63. </div>
  64. <div className='c-l'>
  65. <div className='titles'> 开户账号 : </div>
  66. <div className='inputs'><Input placeholder="请输入开户账号" /></div>
  67. </div>
  68. <div className='c-l'>
  69. <div className='titles'> 市编码 : </div>
  70. <Select size='default' placeholder="请选择市编码" onChange={ this.handleChange } style={{ width: 200 }}>
  71. {certificate.map((item,index) => (
  72. <Option key={index} value={item.value}>{item.txt}</Option>
  73. ))}
  74. </Select>
  75. </div>
  76. <div className='c-l'>
  77. <div className='titles'> 省编码 : </div>
  78. <Select size='default' placeholder="请选择省编码" onChange={ this.handleChange } style={{ width: 200 }}>
  79. {certificate.map((item,index) => (
  80. <Option key={index} value={item.value}>{item.txt}</Option>
  81. ))}
  82. </Select>
  83. </div>
  84. <div className='c-l'>
  85. <div className='titles'> 结算银行卡属性 : </div>
  86. <Radio.Group name="radiogroup" defaultValue={1}>
  87. <Radio value={1}>对公</Radio>
  88. <Radio value={2}>对私</Radio>
  89. </Radio.Group>
  90. </div>
  91. <div className='c-l'>
  92. <div className='titles'> 清算方式 : </div>
  93. <Radio.Group name="radiogroup" defaultValue={1}>
  94. <Radio value={1}>提现</Radio>
  95. </Radio.Group>
  96. </div>
  97. <div className='c-l'>
  98. <div className='titles'> 提现费率类型 : </div>
  99. <Select size='default' placeholder="请选择提现费率类型" onChange={ this.handleChange } style={{ width: 200 }}>
  100. {certificate.map((item,index) => (
  101. <Option key={index} value={item.value}>{item.txt}</Option>
  102. ))}
  103. </Select>
  104. </div>
  105. <div className='c-l'>
  106. <div className='titles'> 提现费率 : </div>
  107. <div className='inputs'><Input placeholder="请输入提现费率" /></div>
  108. </div>
  109. </div>
  110. <div className='center_right'> </div>
  111. </div>
  112. )
  113. }
  114. }