Commit a35a7955d4f82a90590228464fcbb022e07d86e9
1 parent
350949eb
fix:收寄件字段名
Showing
2 changed files
with
6 additions
and
6 deletions
src/pages/contract/ExpressChargingStandardSetting/components/AddModel/index.tsx
... | ... | @@ -22,10 +22,10 @@ function AddModel({visible, row, compList, cityList, onCancel, onRefresh}:Props) |
22 | 22 | const { tradeCompName, sendAreaName, firstWeight, continuedWeight, arriveAreaName } = row || {}; |
23 | 23 | form.setFieldsValue({ |
24 | 24 | tradeComp: compList.filter(it => tradeCompName === it.name).map(item => ({value: item.id, label: item.name}))[0], |
25 | - sendArea: cityList.filter(it => sendAreaName === it.name).map(item => ({value: item.bh, label: item.name}))[0], | |
25 | + sendArea: cityList.filter(it => sendAreaName === it.fullName).map(item => ({value: item.bh, label: item.fullName}))[0], | |
26 | 26 | firstWeight, |
27 | 27 | continuedWeight, |
28 | - arriveAreas: cityList.filter(it => arriveAreaName === it.name).map(item => ({value: item.bh, label: item.name}))[0] | |
28 | + arriveAreas: cityList.filter(it => arriveAreaName === it.fullName).map(item => ({value: item.bh, label: item.fullName}))[0] | |
29 | 29 | |
30 | 30 | }); |
31 | 31 | } |
... | ... | @@ -131,7 +131,7 @@ function AddModel({visible, row, compList, cityList, onCancel, onRefresh}:Props) |
131 | 131 | { |
132 | 132 | cityList.map(item => ( |
133 | 133 | <Select.Option value={item.bh} key={item.bh}> |
134 | - {item.name} | |
134 | + {item.fullName} | |
135 | 135 | </Select.Option> |
136 | 136 | )) |
137 | 137 | } |
... | ... | @@ -158,7 +158,7 @@ function AddModel({visible, row, compList, cityList, onCancel, onRefresh}:Props) |
158 | 158 | { |
159 | 159 | cityList.map(item => ( |
160 | 160 | <Select.Option value={item.bh} key={item.bh}> |
161 | - {item.name} | |
161 | + {item.fullName} | |
162 | 162 | </Select.Option> |
163 | 163 | )) |
164 | 164 | } | ... | ... |
src/pages/contract/ExpressChargingStandardSetting/components/Filter/index.tsx
... | ... | @@ -55,7 +55,7 @@ function Filter({ compList, cityList, setParams, innerParams }:Props) { |
55 | 55 | { |
56 | 56 | cityList.map(item => ( |
57 | 57 | <Select.Option value={item.bh} key={item.bh}> |
58 | - {item.name} | |
58 | + {item.fullName} | |
59 | 59 | </Select.Option> |
60 | 60 | )) |
61 | 61 | } |
... | ... | @@ -76,7 +76,7 @@ function Filter({ compList, cityList, setParams, innerParams }:Props) { |
76 | 76 | { |
77 | 77 | cityList.map(item => ( |
78 | 78 | <Select.Option value={item.bh} key={item.bh}> |
79 | - {item.name} | |
79 | + {item.fullName} | |
80 | 80 | </Select.Option> |
81 | 81 | )) |
82 | 82 | } | ... | ... |