@@ -145,7 +145,7 @@ def clerk_submit2_api(request): |
||
| 145 | 145 |
fields = {
|
| 146 | 146 |
'distributor_id': distributor_id, |
| 147 | 147 |
'distributor_name': distributor.distributor_name, |
| 148 |
- 'clerk_name': request.POST.get('name', ''),
|
|
| 148 |
+ 'clerk_name': request.POST.get('name', '') or request.POST.get('clerk_name ', ''),
|
|
| 149 | 149 |
'clerk_sex': int(request.POST.get('sex', 1)),
|
| 150 | 150 |
'clerk_phone': phone, |
| 151 | 151 |
'unionid': unionid, |