Commit 7839c920 by 朱继来

调整vp账号显示

parent 092d0dbb
...@@ -281,7 +281,7 @@ Class AddOrderController extends Controller ...@@ -281,7 +281,7 @@ Class AddOrderController extends Controller
if (!empty($intracode)) { if (!empty($intracode)) {
$user = DB::connection('order')->table('lie_user_main')->where('user_id', $intracode->user_id)->select('mobile')->first(); $user = DB::connection('order')->table('lie_user_main')->where('user_id', $intracode->user_id)->select('mobile')->first();
$info['mobile'] = $user->mobile; $info['mobile'] = $user->mobile ? $user->mobile : '';
} }
return view('addOffline', $info); return view('addOffline', $info);
......
...@@ -203,7 +203,11 @@ li { ...@@ -203,7 +203,11 @@ li {
} }
/* 响应式 */ /* 响应式 */
@media screen and (max-width: 500px) { @media screen and (max-width: 768px) {
.body-small .navbar-static-side { width: 170px; top: 48px; left: 10px; }
.search-box > div dl dd { width: 130px; }
.Wdate{ width: 110px !important; } .Wdate{ width: 110px !important; }
.btn-group { width: 220px; } .btn-group { width: 220px; }
......
...@@ -403,13 +403,19 @@ ...@@ -403,13 +403,19 @@
<tr class="caption"> <tr class="caption">
<th>商品名</th> <th>商品名</th>
@if ($order_info['order_goods_type'] == 2) @if ($order_info['order_goods_type'] == 2)
<th>型号</th> <th>型号</th>
@endif @endif
<th>制造商</th> <th>制造商</th>
<th>采购数量</th>
<th>采购单价</th> @if ($username != 'vpadmin@ichunt.com')
<!-- <th>采购小计</th> --> <th>采购数量</th>
<th>均摊后单价</th> <th>采购单价</th>
<th>均摊后单价</th>
@else
<th>商品数量</th>
<th>商品单价</th>
@endif
<th>小计</th> <th>小计</th>
<th>货期</th> <th>货期</th>
<th>供应商</th> <th>供应商</th>
...@@ -436,14 +442,15 @@ ...@@ -436,14 +442,15 @@
<td id="goods_number_{{$v['rec_id']}}">{{$v['goods_number']}}</td> <td id="goods_number_{{$v['rec_id']}}">{{$v['goods_number']}}</td>
<td> <td>
<span id="{{$v['rec_id']}}">{{$v['goods_price_format']}}</span> <span id="{{$v['rec_id']}}">{{$v['goods_price_format']}}</span>
<!-- {$currency}<span id="{$v.rec_id}">{$v.goods_price}</span> -->
</td> </td>
<!-- <td> -->
<!-- <span id="total_{{$v['rec_id']}}">{{$v['goods_amount_format']}}</span> --> @if ($username != 'vpadmin@ichunt.com')
<!-- {$currency}<span id="total_{$v.rec_id}">{$v.total}</span> --> <td>{{$v['single_pre_price_format']}}</td>
<!-- </td> --> <td>{{$v['single_pre_price_amount']}}</td>
<td>{{$v['single_pre_price_format']}}</td> @else
<td>{{$v['single_pre_price_amount']}}</td> <td>{{ $currency . number_format($v['goods_price'] * $v['goods_number'], 4, '.', '') }}</td>
@endif
<td>{{$v['delivery_time']}}</td> <td>{{$v['delivery_time']}}</td>
<td>{{$v['supplier_name']}}</td> <td>{{$v['supplier_name']}}</td>
...@@ -470,7 +477,7 @@ ...@@ -470,7 +477,7 @@
<table> <table>
<tr> <tr>
<td>商品总额:</td> <td>商品总额:</td>
<td>{{$currency}}<span id="order-total" class="amount">{{$order_price_info['goods_price']}}</span></td> <td>{{$currency}}<span id="order-total" class="amount">{{$order_price_info['goods_price'] ? $order_price_info['goods_price'] : $order_info['order_amount']}}</span></td>
</tr> </tr>
@if (isset($order_price_info['ext_price'])) @if (isset($order_price_info['ext_price']))
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<link href="/js/plugins/jsonformater/jsonFormater.css" rel="stylesheet"> <link href="/js/plugins/jsonformater/jsonFormater.css" rel="stylesheet">
<link href="/css/animate.css" rel="stylesheet"> <link href="/css/animate.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet"> <link href="/css/style.css" rel="stylesheet">
<link href="/css/detail.css" rel="stylesheet">
<style> <style>
.well .form-group { .well .form-group {
......
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
</div> </div>
</dd> </dd>
</dl> --> </dl> -->
@if ($username != 'vpadmin@ichunt.com')
<dl> <dl>
<dt>订单来源:</dt> <dt>订单来源:</dt>
<dd style="width: 115px;"> <dd style="width: 115px;">
...@@ -123,6 +124,7 @@ ...@@ -123,6 +124,7 @@
</div> </div>
</dd> </dd>
</dl> </dl>
@endif
<dl> <dl>
<dt>adtag来源:</dt> <dt>adtag来源:</dt>
<dd> <dd>
...@@ -135,6 +137,7 @@ ...@@ -135,6 +137,7 @@
<input type="text" name="order_source_ptag" value="{{$condition['order_source_ptag']}}" placeholder="请输入内容"> <input type="text" name="order_source_ptag" value="{{$condition['order_source_ptag']}}" placeholder="请输入内容">
</dd> </dd>
</dl> </dl>
@if ($username != 'vpadmin@ichunt.com')
<dl> <dl>
<dt>同步状态:</dt> <dt>同步状态:</dt>
<dd style="width: 115px;"> <dd style="width: 115px;">
...@@ -146,6 +149,7 @@ ...@@ -146,6 +149,7 @@
</div> </div>
</dd> </dd>
</dl> </dl>
@endif
<dl> <dl>
<dt>用户标签:</dt> <dt>用户标签:</dt>
<dd> <dd>
...@@ -206,9 +210,11 @@ ...@@ -206,9 +210,11 @@
<th class="pl30">订单类型</th> <th class="pl30">订单类型</th>
<th class="pl30">支付方式</th> <th class="pl30">支付方式</th>
<th class="pl30">推送业务员</th> <th class="pl30">推送业务员</th>
<th class="pl30">订单来源</th> @if ($username != 'vpadmin@ichunt.com')
<th class="pl30">同步状态</th> <th class="pl30">订单来源</th>
<th class="pl30">收货人</th> <th class="pl30">同步状态</th>
<th class="pl30">收货人</th>
@endif
<th class="pl30">下单时间</th> <th class="pl30">下单时间</th>
<th class="pl30">操作</th> <th class="pl30">操作</th>
</tr> </tr>
...@@ -258,25 +264,29 @@ ...@@ -258,25 +264,29 @@
<td class="show-list"><?php print_r(App\Http\Controllers\getPayName($v['order_id'])); ?></td> <td class="show-list"><?php print_r(App\Http\Controllers\getPayName($v['order_id'])); ?></td>
<td class="show-list"><?php print_r(App\Http\Controllers\getSalesName($v['sale_id'])); ?></td> <td class="show-list"><?php print_r(App\Http\Controllers\getSalesName($v['sale_id'])); ?></td>
<td class="show-list"><?php echo App\Http\Controllers\getOrderSource($v['order_id']); ?></td>
<td class="show-list"> @if ($username != 'vpadmin@ichunt.com')
<?php <td class="show-list"><?php echo App\Http\Controllers\getOrderSource($v['order_id']); ?></td>
if ($v['order_pay_type'] == 3) { // 账期订单待付款状态下显示未同步
$statusLimit = [-1, 1]; <td class="show-list">
} else { <?php
$statusLimit = [-1, 1, 2]; if ($v['order_pay_type'] == 3) { // 账期订单待付款状态下显示未同步
} $statusLimit = [-1, 1];
} else {
$statusLimit = [-1, 1, 2];
}
if (in_array($v['status'], $statusLimit)) {
echo '不需同步';
} else {
echo $v['erp_order_id'] != '' && $v['erp_order_id'] != '-' ? '<span class="list-text-success"><b>已同步</b></span>' : '<span class="list-text-checking"><b>未同步</b></span>';
}
?>
</td>
<td class="show-list"><?php echo App\Http\Controllers\getOrderAddress($v['order_id']); ?></td>
@endif
if (in_array($v['status'], $statusLimit)) {
echo '不需同步';
} else {
echo $v['erp_order_id'] != '' && $v['erp_order_id'] != '-' ? '<span class="list-text-success"><b>已同步</b></span>' : '<span class="list-text-checking"><b>未同步</b></span>';
}
?>
</td>
<td class="show-list"><?php echo App\Http\Controllers\getOrderAddress($v['order_id']); ?></td>
<td class="show-list">{{$username != 'vpadmin@ichunt.com' ? date('Y-m-d H:i:s', $v['create_time']) : date('Y-m-d', $v['create_time'])}}</td> <td class="show-list">{{$username != 'vpadmin@ichunt.com' ? date('Y-m-d H:i:s', $v['create_time']) : date('Y-m-d', $v['create_time'])}}</td>
<td> <td>
<div class="btn-group btn-group-xs"> <div class="btn-group btn-group-xs">
......
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