Commit 7fb12613 by 孙龙

订单详情

parent 51e518ea
......@@ -307,7 +307,7 @@ JS
$info["settlementInfo"]["order_total_amount_format"] = decimal_number_format_usd($info["settlementInfo"]["order_total_amount"]);
$info["settlementInfo"]["order_user_pay_type"] = $orderInfo["order_user_pay_type"];
$info["settlementInfo"]["order_user_pay_type_cn"] = Arr::get(Order::$ORDER_USER_PAY_TYPE,$orderInfo["order_user_pay_type"],"");
$info["settlementInfo"]["order_user_pay_type_cn"] = Arr::get(array_flip(Order::$ORDER_USER_PAY_TYPE),$orderInfo["order_user_pay_type"],"");
......
......@@ -227,7 +227,7 @@
<select data="1" name="country" lay-filter="countryChange" style="height: 30px;border: 1px solid #eee;background: transparent;width: 100%;">
<option value="">请选择国家</option>
@foreach(\App\Models\Country::getCountryMap() as $cid=>$cname)
<option data="{{$cname}}" value="{{$cid}}">{{$cname}}</option>
<option @if($info['receiveInfo']['country'] == $cid) selected @endif data="{{$cname}}" value="{{$cid}}">{{$cname}}</option>
@endforeach
</select>
</div>
......@@ -336,7 +336,7 @@
<select data="2" name="country" lay-filter="countryChange" style="height: 30px;border: 1px solid #eee;background: transparent;width: 100%;">
<option value="">请选择国家</option>
@foreach(\App\Models\Country::getCountryMap() as $cid=>$cname)
<option data="{{$cname}}" value="{{$cid}}">{{$cname}}</option>
<option @if($info['billingInfo']['country'] == $cid) selected @endif data="{{$cname}}" value="{{$cid}}">{{$cname}}</option>
@endforeach
</select>
</div>
......
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