...
|
...
|
@@ -169,6 +169,9 @@ class OrderSalesmanController extends WeChatBaseController |
|
|
$indent_ids = [];
|
|
|
foreach($data as $key => $vo){
|
|
|
$indent_goods = $indentGoodsModel->selectData(['indent_id'=>$vo['id']]);
|
|
|
foreach ($indent_goods as &$vi) {
|
|
|
$vi['thumbnail'] = cmf_get_image_url($vi['thumbnail']);
|
|
|
}
|
|
|
$data[$key]['indent_goods'] = $indent_goods;
|
|
|
if($vo['is_courier'] == 2){
|
|
|
$address = Db::name('address')->where(['id'=>$vo['indent_address']])->find();
|
...
|
...
|
|