|
@@ -51,17 +51,45 @@
|
|
<input type="text" name="store_name" class="layui-input" placeholder="订单号,账号,昵称,编号">
|
|
<input type="text" name="store_name" class="layui-input" placeholder="订单号,账号,昵称,编号">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="layui-col-lg12">
|
|
+ <div class="layui-inline">
|
|
- <label class="layui-form-label">创建状态:</label>
|
|
+ <label class="layui-form-label" style="top: -4.5px">商品名称</label>
|
|
- <div class="layui-input-block" v-cloak="">
|
|
+ <div class="layui-input-inline">
|
|
- <button class="layui-btn layui-btn-sm" type="button" v-for="item in statusList"
|
|
+ <input type="text" name="product_name" class="layui-input" placeholder="商品名称">
|
|
- @click="where.status = item.value"
|
|
+ </div>
|
|
- :class="{'layui-btn-primary':where.status!==item.value}">{{item.name}}
|
|
+ </div>
|
|
- </button>
|
|
+ <div class="layui-inline">
|
|
|
|
+ <label class="layui-form-label" style="top: -4.5px">所有场次</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <select name="auction_id">
|
|
|
|
+ <option value=" ">全部</option>
|
|
|
|
+ {volist name='auction' id='vo'}
|
|
|
|
+ <option value="{$vo.id}">{$vo.nickname}</option>
|
|
|
|
+ {/volist}
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-inline">
|
|
|
|
+ <label class="layui-form-label" style="top: -4.5px">所有场馆</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <select name="gu_id">
|
|
|
|
+ <option value=" ">全部</option>
|
|
|
|
+ {volist name='gu' id='vo'}
|
|
|
|
+ <option value="{$vo.id}">{$vo.name}</option>
|
|
|
|
+ {/volist}
|
|
|
|
+ </select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="layui-col-lg12">
|
|
+ <div class="layui-col-lg12" id="app1">
|
|
|
|
+ <div class="layui-col-lg12">
|
|
|
|
+ <label class="layui-form-label">创建状态:</label>
|
|
|
|
+ <div class="layui-input-block" v-cloak="">
|
|
|
|
+ <button class="layui-btn layui-btn-sm" type="button" v-for="item in statusList"
|
|
|
|
+ @click="where.status = item.value"
|
|
|
|
+ :class="{'layui-btn-primary':where.status!==item.value}">{{item.name}}
|
|
|
|
+ </button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<label class="layui-form-label">创建时间:</label>
|
|
<label class="layui-form-label">创建时间:</label>
|
|
<div class="layui-input-block" data-type="data" v-cloak="">
|
|
<div class="layui-input-block" data-type="data" v-cloak="">
|
|
<button class="layui-btn layui-btn-sm" type="button" v-for="item in dataList"
|
|
<button class="layui-btn layui-btn-sm" type="button" v-for="item in dataList"
|
|
@@ -76,11 +104,18 @@
|
|
v-show="showtime==true" ref="date_time">{$year.0} - {$year.1}
|
|
v-show="showtime==true" ref="date_time">{$year.0} - {$year.1}
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
+ <button @click="excel" type="button"
|
|
|
|
+ class="layui-btn layui-btn-warm layui-btn-sm export" type="button">
|
|
|
|
+ <i class="fa fa-floppy-o" style="margin-right: 3px;"></i>导出
|
|
|
|
+ </button>
|
|
</div>
|
|
</div>
|
|
<div class="layui-inline" style="top: -5px">
|
|
<div class="layui-inline" style="top: -5px">
|
|
<div class="layui-input-inline">
|
|
<div class="layui-input-inline">
|
|
|
|
+
|
|
<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="search" lay-filter="search" >
|
|
<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="search" lay-filter="search" >
|
|
- <i class="layui-icon layui-icon-search"></i>搜索</button>
|
|
+ <i class="layui-icon layui-icon-search"></i>搜索
|
|
|
|
+ </button>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -111,6 +146,10 @@
|
|
<script type="text/html" id="image" >
|
|
<script type="text/html" id="image" >
|
|
<img style="cursor: pointer" lay-event="open_image" src="{{d.image}}" style="cursor: pointer">
|
|
<img style="cursor: pointer" lay-event="open_image" src="{{d.image}}" style="cursor: pointer">
|
|
</script>
|
|
</script>
|
|
|
|
+ <script type="text/html" id="au_name" >
|
|
|
|
+ <div>{{d.gu_name}}</div>
|
|
|
|
+ <div>{{d.au_name}}</div>
|
|
|
|
+ </script>
|
|
<script type="text/html" id="status">
|
|
<script type="text/html" id="status">
|
|
{{
|
|
{{
|
|
<button type="button" name="status" class="layui-btn-disabled layui-btn-xs" id="">
|
|
<button type="button" name="status" class="layui-btn-disabled layui-btn-xs" id="">
|
|
@@ -136,7 +175,7 @@
|
|
未上传打款凭证
|
|
未上传打款凭证
|
|
</button>
|
|
</button>
|
|
{{
|
|
{{
|
|
- <img style="cursor: pointer" lay-event="open_image" src="{{d.upload_image}}" style="cursor: pointer">
|
|
+ <img style="cursor: pointer" lay-event="open_upload_image" src="{{d.upload_image}}" style="cursor: pointer">
|
|
{{
|
|
{{
|
|
</script>
|
|
</script>
|
|
<script type="text/html" id="act">
|
|
<script type="text/html" id="act">
|
|
@@ -165,12 +204,14 @@
|
|
{type: 'checkbox'},
|
|
{type: 'checkbox'},
|
|
{field: 'id', title: 'ID', sort: true, event: 'id', width: '5%', templet: '#id'},
|
|
{field: 'id', title: 'ID', sort: true, event: 'id', width: '5%', templet: '#id'},
|
|
{field: 'image', title: '图片', templet: '#image', align: 'center', width: '5%'},
|
|
{field: 'image', title: '图片', templet: '#image', align: 'center', width: '5%'},
|
|
- {field: 'upload_image', title: '打款凭证', templet: '#upload_image', align: 'center',width: '5%'},
|
|
|
|
{field: 'order_id', title: '订单号', templet: '#order_id', align: 'center'},
|
|
{field: 'order_id', title: '订单号', templet: '#order_id', align: 'center'},
|
|
|
|
+ {field: 'au_name', title: '场次', templet: '#au_name', align: 'center'},
|
|
{field: 'account', title: '购买用户账号', templet: '#account', align: 'center'},
|
|
{field: 'account', title: '购买用户账号', templet: '#account', align: 'center'},
|
|
{field: 'nickname', title: '购买用户呢称', templet: '#nickname', align: 'center'},
|
|
{field: 'nickname', title: '购买用户呢称', templet: '#nickname', align: 'center'},
|
|
|
|
+ {field: 'us_account', title: '卖家账号', templet: '#us_account', align: 'us_account'},
|
|
{field: 'name', title: '商品', templet: '#name', align: 'center'},
|
|
{field: 'name', title: '商品', templet: '#name', align: 'center'},
|
|
{field: 'price', title: '购买价格', templet: '#price', align: 'center', style : 'color: #DC143C;'},
|
|
{field: 'price', title: '购买价格', templet: '#price', align: 'center', style : 'color: #DC143C;'},
|
|
|
|
+ {field: 'upload_image', title: '打款凭证', templet: '#upload_image', align: 'center',width: '5%'},
|
|
{field: 'status', title: '状态', templet: '#status', align: 'center'},
|
|
{field: 'status', title: '状态', templet: '#status', align: 'center'},
|
|
{field: 'create_time', title: '预约时间', templet: '#date', align: 'center'},
|
|
{field: 'create_time', title: '预约时间', templet: '#date', align: 'center'},
|
|
{field: 'right', title: '操作', align: 'center', toolbar: '#act'},
|
|
{field: 'right', title: '操作', align: 'center', toolbar: '#act'},
|
|
@@ -214,6 +255,9 @@
|
|
case 'open_image':
|
|
case 'open_image':
|
|
$eb.openImage(data.image);
|
|
$eb.openImage(data.image);
|
|
break;
|
|
break;
|
|
|
|
+ case 'open_upload_image':
|
|
|
|
+ $eb.openImage(data.upload_image);
|
|
|
|
+ break;
|
|
case 'edit':
|
|
case 'edit':
|
|
location.href = layList.U({a:'edit',q:{id:data.id}});
|
|
location.href = layList.U({a:'edit',q:{id:data.id}});
|
|
break;
|
|
break;
|
|
@@ -222,7 +266,6 @@
|
|
|
|
|
|
|
|
|
|
layList.search('search',function(where){
|
|
layList.search('search',function(where){
|
|
- console.log(111);
|
|
|
|
layList.reload(where,true);
|
|
layList.reload(where,true);
|
|
});
|
|
});
|
|
|
|
|
|
@@ -244,7 +287,7 @@
|
|
});
|
|
});
|
|
require(['vue'], function (Vue) {
|
|
require(['vue'], function (Vue) {
|
|
new Vue({
|
|
new Vue({
|
|
- el: "#app",
|
|
+ el: "#app1",
|
|
data: {
|
|
data: {
|
|
badge: [],
|
|
badge: [],
|
|
dataList: [
|
|
dataList: [
|
|
@@ -273,22 +316,12 @@
|
|
showtime: false,
|
|
showtime: false,
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
- 'where.status': function () {
|
|
+ 'where.store_name': function () {
|
|
- this.where.excel = 0;
|
|
|
|
- this.getBadge();
|
|
|
|
- layList.reload(this.where, true);
|
|
|
|
- },
|
|
|
|
- 'where.data': function () {
|
|
|
|
- this.where.excel = 0;
|
|
|
|
- this.getBadge();
|
|
|
|
- layList.reload(this.where, true);
|
|
|
|
- },
|
|
|
|
- 'where.type': function () {
|
|
|
|
this.where.excel = 0;
|
|
this.where.excel = 0;
|
|
this.getBadge();
|
|
this.getBadge();
|
|
layList.reload(this.where, true);
|
|
layList.reload(this.where, true);
|
|
},
|
|
},
|
|
- 'where.pay_type': function () {
|
|
+ 'where.product_name': function () {
|
|
this.where.excel = 0;
|
|
this.where.excel = 0;
|
|
this.getBadge();
|
|
this.getBadge();
|
|
layList.reload(this.where, true);
|
|
layList.reload(this.where, true);
|
|
@@ -321,8 +354,9 @@
|
|
this.getBadge();
|
|
this.getBadge();
|
|
},
|
|
},
|
|
excel: function () {
|
|
excel: function () {
|
|
|
|
+ console.log(11111);
|
|
this.where.excel = 1;
|
|
this.where.excel = 1;
|
|
- location.href = layList.U({c: 'order.store_order', a: 'order_list', q: this.where});
|
|
+ location.href = layList.U({c: 'Auction.auction_order', a: 'list', q: this.where});
|
|
this.where.excel = 0;
|
|
this.where.excel = 0;
|
|
}
|
|
}
|
|
},
|
|
},
|