|
@@ -15,9 +15,9 @@ import { getCodeMessage } from '@/services/getCode'
|
15
|
15
|
import { checkIDCard, isEmpty } from '@/utils/tools'
|
16
|
16
|
import ContactConsultant from '../../components/ContactConsultant'
|
17
|
17
|
|
18
|
|
-const getRaiseProfile = ({ raiseId, salesBatchId, personId }) => {
|
|
18
|
+const getRaiseProfile = ({ salesBatchId, raiseRecordId, personId}) => {
|
19
|
19
|
const queryString = [
|
20
|
|
- `${raiseId ? 'raiseId=' + raiseId : ''}`,
|
|
20
|
+ `${raiseRecordId ? 'raiseRecordId=' + raiseRecordId : ''}`,
|
21
|
21
|
`${salesBatchId ? 'salesBatchId=' + salesBatchId : ''}`,
|
22
|
22
|
`${personId ? 'personId=' + personId : ''}`,
|
23
|
23
|
].filter(Boolean).join('&')
|
|
@@ -58,11 +58,10 @@ export default class raiseMoney extends Component {
|
58
|
58
|
componentWillMount() {
|
59
|
59
|
ready.queue(() => {
|
60
|
60
|
const {
|
61
|
|
- salesBatchId, // 批次, 备用
|
62
|
|
- houseId, // 房源号, 从房源详情进入的
|
|
61
|
+ salesBatchId, // 批次, 从房源详情进入的
|
|
62
|
+ houseId, // 房源号, 备用
|
63
|
63
|
raiseRecordId, // 认筹单ID, // 从认筹列表进入
|
64
|
64
|
} = this.$router.params
|
65
|
|
- console.log(this.state.record,"recordrecordrecordrecord")
|
66
|
65
|
|
67
|
66
|
if (!salesBatchId && !raiseRecordId) {
|
68
|
67
|
Taro.showToast({
|
|
@@ -72,7 +71,7 @@ export default class raiseMoney extends Component {
|
72
|
71
|
return;
|
73
|
72
|
}
|
74
|
73
|
|
75
|
|
- this.loadInfo(houseId, salesBatchId, raiseRecordId)
|
|
74
|
+ this.loadInfo(salesBatchId, raiseRecordId)
|
76
|
75
|
|
77
|
76
|
if (this.$router.params.type == 'pay') {
|
78
|
77
|
this.setState({ current: 3 })
|
|
@@ -80,7 +79,8 @@ export default class raiseMoney extends Component {
|
80
|
79
|
})
|
81
|
80
|
}
|
82
|
81
|
|
83
|
|
- loadInfo = (houseId, salesBatchId, raiseRecordId) => {
|
|
82
|
+ loadInfo(salesBatchId, raiseRecordId) {
|
|
83
|
+ console.log(raiseRecordId, "raiseRecordIdraiseRecordIdraiseRecordIdraiseRecordId")
|
84
|
84
|
const { userInfo, house } = this.props
|
85
|
85
|
const { personId, nickname, idcard, tel, phone } = userInfo.person
|
86
|
86
|
|
|
@@ -293,7 +293,7 @@ export default class raiseMoney extends Component {
|
293
|
293
|
<Text style="color:#FF3C3C;font-size:32rpx;margin-right:8rpx">*</Text>
|
294
|
294
|
验证码
|
295
|
295
|
</View>
|
296
|
|
- <Input className='inputCode' placeholder-style="color:#999" type='text' disabled={disabled} onInput={this.handleInput.bind(this, 'captcha')} placeholder='请填写验证码' />
|
|
296
|
+ <Input className='inputCode' placeholder-style="color:#999" type='text' disabled={disabled} onInput={this.handleInput.bind(this, 'captcha')} placeholder='请填写验证码' />
|
297
|
297
|
<Captcha countdown={captchaCountdown} require={this.prepareGetCaptcha.bind(this)} onClick={this.handleCaptcha} />
|
298
|
298
|
</View>
|
299
|
299
|
<View className="profile-flex" style="margin-top:20rpx">
|
|
@@ -438,7 +438,7 @@ export default class raiseMoney extends Component {
|
438
|
438
|
<View className="tip">支付结果请留意微信支付通知</View>
|
439
|
439
|
{/* <ContactConsultant buildingId={buildingId} style=" position: absolute;bottom: 8vh;" /> */}
|
440
|
440
|
<ContactConsultant style=" position: absolute;bottom: 11vh;" />
|
441
|
|
- <View className="look-btn"onClick={()=>this.toRaiseProfile()}>查看认筹单</View>
|
|
441
|
+ <View className="look-btn" onClick={() => this.toRaiseProfile()}>查看认筹单</View>
|
442
|
442
|
</View>
|
443
|
443
|
|
444
|
444
|
);
|