Commit e52e111a by 朱继来

调整预付款切换时定金显示问题

parent d6067dc7
......@@ -403,13 +403,13 @@ Class OrderController extends Controller
return array('errcode'=>1, 'errmsg'=>'订单参数有误!');
}
$order_info = DB::connection('order')->table('lie_order')->where('order_id', $order_id)->first();
// $order_info = DB::connection('order')->table('lie_order')->where('order_id', $order_id)->first();
$info = $this->getPageInfo($request);
// $info = $this->getPageInfo($request);
if ($order_info->status == 1 && $order_info->adjust_count <= 2 && !in_array($info['role'], array(1, 2))) {
return array('errcode'=>-10010,'errmsg'=>'没有权限进行二次调价');
}
// if ($order_info->status == 1 && $order_info->adjust_count <= 2 && !in_array($info['role'], array(1, 2))) {
// return array('errcode'=>-10010,'errmsg'=>'没有权限进行二次调价');
// }
$url = Config('website.api_domain').'order/changeOrder';
......
......@@ -134,7 +134,7 @@
<p class="text-danger">{{$currency}}
<?php
if (!$order_info['advance_amount'] OR $order_info['advance_amount']==0) {
$price = number_format($order_info['order_amount']*(3/10), 2);
$price = number_format($order_info['order_amount']*(3/10), 2, '.', '');
echo '<input type="text" name="deposit_amount" class="only_number advance" value="'.$price.'">';
} else {
......
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