Commit 8f593127 by 朱继来

temp

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