Commit 0b709d4e by 孙龙

合同

parent 45b64a15
......@@ -27,7 +27,7 @@ class OrderApiController extends BaseController
$params = $request->all();
$type = arrayGet($params, "type");
$order_id = 203;
$order_id = 69;
$orderAddressList = OrderService::getOrderAddress($order_id);
$orderAddressList = arrayChangeKeyByField($orderAddressList,"order_address_type");
// dump($orderAddressList);
......@@ -117,6 +117,8 @@ class OrderApiController extends BaseController
$info["orderList"] = OrderService::getOrderList($order_id);
$info["orderList"]["adminUser"] = CmsUser::getInfoByUserId($info["orderList"]["sale_id"]);
// dd($info);
if($type == "1"){
......
......@@ -79,10 +79,10 @@
<td>{{@$bill["consignee"]}}</td>
<td>
@if(!empty($info["orderList"]["scm_user"]))
@if($info["orderList"]["scm_user"]["name"])
{{$info["orderList"]["scm_user"]["name"]}}
@else
@if($info["orderList"]["scm_user"]["company_name"])
{{$info["orderList"]["scm_user"]["company_name"]}}
@else
{{$info["orderList"]["scm_user"]["name"]}}
@endif
@endif
</td>
......
......@@ -80,10 +80,10 @@
<td>{{@$bill["consignee"]}}</td>
<td>
@if(!empty($info["orderList"]["scm_user"]))
@if($info["orderList"]["scm_user"]["name"])
{{$info["orderList"]["scm_user"]["name"]}}
@else
@if($info["orderList"]["scm_user"]["company_name"])
{{$info["orderList"]["scm_user"]["company_name"]}}
@else
{{$info["orderList"]["scm_user"]["name"]}}
@endif
@endif
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment