|
@@ -123,10 +123,10 @@ export default withLayout((props) => {
|
123
|
123
|
Taro.showToast({ title: '姓名不能为空', icon: 'none', duration: 2000 })
|
124
|
124
|
return false
|
125
|
125
|
}
|
126
|
|
- if (FormData.realtyConsultant === '') {
|
127
|
|
- Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
|
128
|
|
- return false
|
129
|
|
- }
|
|
126
|
+ // if (FormData.realtyConsultant === '') {
|
|
127
|
+ // Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
|
|
128
|
+ // return false
|
|
129
|
+ // }
|
130
|
130
|
} else if (CurrentStatusId === 4) { // 签约
|
131
|
131
|
|
132
|
132
|
}
|
|
@@ -138,6 +138,9 @@ export default withLayout((props) => {
|
138
|
138
|
if (CurrentStatusId === 3) {
|
139
|
139
|
fetch({ url: API_SURE_CHIP, method: 'put', payload: { customerId: id, customerPreparatory: { ...FormData, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
|
140
|
140
|
Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
|
|
141
|
+ setTimeout(() => {
|
|
142
|
+ Taro.navigateBack({ delta: 1 })
|
|
143
|
+ }, 2000)
|
141
|
144
|
})
|
142
|
145
|
} else if (CurrentStatusId === 4) {
|
143
|
146
|
let params = {}
|
|
@@ -149,6 +152,9 @@ export default withLayout((props) => {
|
149
|
152
|
params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
|
150
|
153
|
fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
|
151
|
154
|
Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
|
|
155
|
+ setTimeout(() => {
|
|
156
|
+ Taro.navigateBack({ delta: 1 })
|
|
157
|
+ }, 2000)
|
152
|
158
|
})
|
153
|
159
|
} else if (CurrentStatusId === 5) {
|
154
|
160
|
let params = {}
|
|
@@ -160,6 +166,9 @@ export default withLayout((props) => {
|
160
|
166
|
params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
|
161
|
167
|
fetch({ url: API_SURE_BUY, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
|
162
|
168
|
Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
|
|
169
|
+ setTimeout(() => {
|
|
170
|
+ Taro.navigateBack({ delta: 1 })
|
|
171
|
+ }, 2000)
|
163
|
172
|
})
|
164
|
173
|
}
|
165
|
174
|
}
|
|
@@ -211,7 +220,7 @@ export default withLayout((props) => {
|
211
|
220
|
</view>
|
212
|
221
|
</view>
|
213
|
222
|
|
214
|
|
- <text className='required'>内场接待</text>
|
|
223
|
+ <text>内场接待</text>
|
215
|
224
|
<view className='FormLine flex-h'>
|
216
|
225
|
<view className='flex-item'>
|
217
|
226
|
<Picker range-key='name' range={ConsultantList} value={0} onChange={PickerChange.bind(this, 'realtyConsultant')}>{CurrnetConsultant.name || '请选择'}</Picker>
|