Commit f4b0b41e by 朱继来

调整

parent 4cbff26b
Showing with 2 additions and 0 deletions
...@@ -263,6 +263,8 @@ Class AddOrderController extends Controller ...@@ -263,6 +263,8 @@ Class AddOrderController extends Controller
$invoice = TaxInfoModel::where('tax_id', $tax_id)->first(); $invoice = TaxInfoModel::where('tax_id', $tax_id)->first();
if (!$invoice) return ['errcode' => 0, 'errmsg' => ''];
$invoice->province_val = $invoice->consignee_province ? $this->getAddress($invoice->consignee_province) : ''; $invoice->province_val = $invoice->consignee_province ? $this->getAddress($invoice->consignee_province) : '';
$invoice->city_val = $invoice->consignee_city ? $this->getAddress($invoice->consignee_city) : ''; $invoice->city_val = $invoice->consignee_city ? $this->getAddress($invoice->consignee_city) : '';
$invoice->district_val = $invoice->consignee_district ? $this->getAddress($invoice->consignee_district) : ''; $invoice->district_val = $invoice->consignee_district ? $this->getAddress($invoice->consignee_district) : '';
......
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