- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
{{ order.type === '2' && order.orderAddress ?
` ${$store.getters['delivery/points'].find(item => item['a:DeliveryShopId']._text === order.orderAddress) && $store.getters['delivery/points'].find(item => item['a:DeliveryShopId']._text === order.orderAddress)['a:StreetLine']._text ? $store.getters['delivery/points'].find(item => item['a:DeliveryShopId']._text === order.orderAddress)['a:StreetLine']._text : ''} ${$store.getters['delivery/points'].find(item => item['a:DeliveryShopId']._text === order.orderAddress) ? $store.getters['delivery/points'].find(item => item['a:DeliveryShopId']._text === order.orderAddress)['a:House']._text : ''}`
:
order.clientAddress
?
` ${$store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress)['a:SettlementName'] && $store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress) && $store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress)['a:SettlementName']._text ? $store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress)['a:SettlementName']._text + ',' : ''} ${$store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress)['a:StreetLine']._text} ${$store.getters['delivery/clientAddresses'].find(item => item['a:ClientAddressId']._text === order.clientAddress)['a:House']._text}`
:
'' }}
именно так профессиональные разработчики мобильных приложений получают строку с адресом магазина или пользователя.
gost 08.12.2019 11:32 # +2
Antifriz_otrabotanyi 08.12.2019 13:55 # +1
jerk_thehuman 08.12.2019 14:58 # 0
bootcamp_dropout 08.12.2019 15:27 # +1
gost 08.12.2019 20:52 # 0
PEAJIbHblu_npuMEP 08.12.2019 23:56 # 0
bootcamp_dropout 09.12.2019 00:27 # 0
xyu_100cm 13.12.2019 04:20 # −1
xyu_100cm 13.12.2019 04:20 # −1
xyu_100cm 13.12.2019 04:20 # −1