用户地址新增距离显示字段和订单发货售后提醒
parent
28febe6ad0
commit
bd128fca7a
|
|
@ -18,12 +18,12 @@
|
|||
{{/if}}
|
||||
{{if $module_data['operate_data']['is_delivery'] eq 1}}
|
||||
{{if $module_data['order_model'] eq 2}}
|
||||
<button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-take" data-id="{{$module_data.id}}" data-user-id="{{$module_data.user_id}}" data-am-modal="{target: '#order-take-modal', closeViaDimmer: 0, width: 200, height: 160}">
|
||||
<button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-take" data-id="{{$module_data.id}}" data-user-id="{{$module_data.user_id}}" data-am-modal="{target: '#order-take-modal', closeViaDimmer: 0, width: 200, height: 160}" {{if !empty($module_data) and !empty($module_data['aftersale_first'])}}data-am-modal="{target: '#order-delivery-popup'}" data-am-popover="{content: '订单有售后、请注意核对', trigger: 'hover focus', theme: 'danger sm'}"{{/if}}>
|
||||
<i class="am-icon-check"></i>
|
||||
<span>取货</span>
|
||||
</button>
|
||||
{{else /}}
|
||||
<button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-delivery" data-url="{{:MyUrl('admin/order/delivery')}}" data-id="{{$module_data.id}}" data-user-id="{{$module_data.user_id}}" data-express-id="{{$module_data.express_id}}" data-am-modal="{target: '#order-delivery-popup'}">
|
||||
<button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-delivery" data-url="{{:MyUrl('admin/order/delivery')}}" data-id="{{$module_data.id}}" data-user-id="{{$module_data.user_id}}" data-express-id="{{$module_data.express_id}}" {{if !empty($module_data) and !empty($module_data['aftersale_first'])}}data-am-modal="{target: '#order-delivery-popup'}" data-am-popover="{content: '订单有售后、请注意核对', trigger: 'hover focus', theme: 'danger sm'}"{{/if}}>
|
||||
<i class="am-icon-send-o"></i>
|
||||
<span>发货</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -554,7 +554,7 @@ class BuyService
|
|||
'is_delete_time' => 0,
|
||||
'is_shelves' => 1,
|
||||
],
|
||||
'field' => 'id AS goods_id, title, images, inventory_unit, buy_min_number, buy_max_number, model',
|
||||
'field' => 'id,id AS goods_id, title, images, inventory_unit, buy_min_number, buy_max_number, model',
|
||||
]);
|
||||
$ret = GoodsService::GoodsList($goods_params);
|
||||
if(empty($ret['data'][0]))
|
||||
|
|
|
|||
|
|
@ -193,6 +193,10 @@ class UserAddressService
|
|||
{
|
||||
$is_default = true;
|
||||
}
|
||||
|
||||
// 地理位置距离字段
|
||||
$v['distance_value'] = null;
|
||||
$v['distance_unit'] = null;
|
||||
}
|
||||
|
||||
// 是否处理默认地址,没有默认地址将第一个设置为默认地址
|
||||
|
|
|
|||
Loading…
Reference in New Issue