zlisen пре 3 година
родитељ
комит
eaa03099b6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/pages/mine/addCustomer/index.jsx

+ 1
- 1
src/pages/mine/addCustomer/index.jsx Прегледај датотеку

@@ -59,7 +59,7 @@ export default withLayout((props) => {
59 59
       if (type === 'consultant') {
60 60
         params = { name: FormData.name, phone: FormData.phone, sex: SexId }
61 61
       } else {
62
-        params = { ...FormData, sex: SexId, intention: BuildingId, realtyConsultant: CardId }
62
+        params = { ...FormData, sex: SexId, buildingId: BuildingId, realtyConsultant: CardId }
63 63
       }
64 64
       if (type === 'estateAgent') {
65 65
         params.channelCustomerId = PersonId