Commit 8f593127 by 朱继来

temp

parent 8678f987
......@@ -203,6 +203,10 @@ function getOrderSource($order_id, $order_type=1, $order_goods_type=1)
$source = '移动端';
} else if (preg_match('/pf=6/', $order_source->order_source)) {
$source = '小程序';
} else if (preg_match('/pf=8/', $order_source->order_source)) {
$source = '询报价平台';
} else if (preg_match('/pf=9/', $order_source->order_source)) {
$source = '云芯平台';
} else {
$source = '平台';
}
......
......@@ -12,6 +12,7 @@
10 => '交易成功',
],
// 订单付款方式
'order_pay_type' => [
1 => '全款',
2 => '预付款',
......@@ -19,6 +20,19 @@
4 => '货到猎芯付款',
],
// 订单来源
'order_source_pf' => [
1 => 'PC端',
2 => '移动端',
3 => '后台',
4 => '京东',
5 => 'ERP',
6 => '小程序',
7 => '开放平台',
8 => '询报价平台',
9 => '云芯平台',
],
// 支付方式
'order_paid_name' => [
1 => '微信支付',
......
......@@ -7,8 +7,11 @@
<title>订单管理后台 | {{ $title }}</title>
<script>document.domain="{{ Config::get('website.domain') }}";</script>
@include('addOffline.css')
@include('addOffline.js')
<link href="/js/layui/css/layui.css" rel="stylesheet">
<link href="/css/admin.css" rel="stylesheet">
@include('table.css')
<script src="/js/jquery-2.2.1.js"></script>
</head>
<body class="body-small">
......@@ -21,16 +24,23 @@
<div class="wrapper">
@include('layouts.header')
<div class="page-content">
<div class="page-content" style="margin-top: 10px;">
<div class="ibox float-e-margins">
<div class="ibox-content">
@include('addOrder.content')
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@include('table.js')
<script src="/js/layui/layui.js"></script>
<script src="/js/web/common.js"></script>
<script src="/js/add_order.js"></script>
</div>
</body>
......@@ -140,13 +140,11 @@
<dt>订单来源:</dt>
<dd>
<select id="order_source_pf" name="order_source_pf" class="form-control order_source_pf selectpicker" title="全部" multiple>
<option value="1">PC端</option>
<option value="2">移动端</option>
<option value="3">后台</option>
<option value="4">京东</option>
<option value="5">ERP</option>
<option value="6">小程序</option>
<option value="7">开放平台</option>
@if (Config('params.order_source_pf'))
@foreach (Config('params.order_source_pf') as $k=>$v)
<option value="{{ $k }}">{{ $v }}</option>
@endforeach
@endif
</select>
</dd>
</dl>
......
......@@ -115,12 +115,11 @@
<dt>订单来源:</dt>
<dd>
<select id="order_source_pf" name="order_source_pf" class="form-control order_source_pf selectpicker" title="全部" multiple>
<option value="1">PC端</option>
<option value="2">移动端</option>
<option value="3">后台</option>
<option value="4">京东</option>
<option value="6">小程序</option>
<option value="7">象牙宝</option>
@if (Config('params.order_source_pf'))
@foreach (Config('params.order_source_pf') as $k=>$v)
<option value="{{ $k }}">{{ $v }}</option>
@endforeach
@endif
</select>
</dd>
</dl>
......
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