|
|
|
@ -42,23 +42,7 @@ |
|
|
|
|
@change="onchangeTime" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="活动类型:" prop="activity_type"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="tableFrom.activity_type" |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
placeholder="请选择" |
|
|
|
|
class="selWidth" |
|
|
|
|
@change="getList(1),getCardList()" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in activity" |
|
|
|
|
:key="item.type" |
|
|
|
|
:label="item.name" |
|
|
|
|
:value="item.type" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="商户名称:" prop="mer_id"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="tableFrom.mer_id" |
|
|
|
@ -76,18 +60,7 @@ |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="商户类别:" prop="is_trader"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="tableFrom.is_trader" |
|
|
|
|
clearable |
|
|
|
|
placeholder="请选择" |
|
|
|
|
class="selWidth" |
|
|
|
|
@change="getList(1),getCardList()" |
|
|
|
|
> |
|
|
|
|
<el-option label="自营" value="1" /> |
|
|
|
|
<el-option label="非自营" value="0" /> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="商品名称:" prop="store_name"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="tableFrom.store_name" |
|
|
|
@ -105,43 +78,11 @@ |
|
|
|
|
class="selWidth" |
|
|
|
|
@change="getList(1),getCardList()" |
|
|
|
|
> |
|
|
|
|
<el-option label="余额" value="0" /> |
|
|
|
|
<el-option label="微信" value="1" /> |
|
|
|
|
<el-option label="支付宝" value="2" /> |
|
|
|
|
<el-option label="积分" value="7" /> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="发货方式:" prop="filter_delivery"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="tableFrom.filter_delivery" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
class="selWidth" |
|
|
|
|
clearable |
|
|
|
|
@change="getList(1),getCardList()" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dliveryWayList" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="商品类型:" prop="filter_product"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="tableFrom.filter_product" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
class="selWidth" |
|
|
|
|
clearable |
|
|
|
|
@change="getList(1),getCardList()" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in productTypeList" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="关键字:" prop="keywords"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="tableFrom.keywords" |
|
|
|
@ -167,15 +108,15 @@ |
|
|
|
|
placeholder="请输入用户昵称/手机号" |
|
|
|
|
class="selWidth" |
|
|
|
|
clearable |
|
|
|
|
/> |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button type="primary" size="small" @click="getList(1)">搜索</el-button> |
|
|
|
|
<el-button size="small" @click="searchReset()">重置</el-button> |
|
|
|
|
<el-button size="small" @click="searchReset()">重置</el-button> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</div> |
|
|
|
|
<cards-data v-if="cardLists.length>0" :card-lists="cardLists" /> |
|
|
|
|
<!-- <cards-data v-if="cardLists.length>0" :card-lists="cardLists" />--> |
|
|
|
|
<el-card> |
|
|
|
|
<el-button size="small" type="primary" class="mb20" @click="exports">导出列表</el-button> |
|
|
|
|
<el-table |
|
|
|
@ -213,16 +154,7 @@ |
|
|
|
|
<span v-show="scope.row.is_del > 0" style="color: #ED4014;display: block;">用户已删除</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="用户信息" min-width="130"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" size="small" @click.native="onUserDetails(scope.row.uid)">{{scope.row.user&&scope.row.user.nickname +'/'+ scope.row.uid}}</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="订单类型" min-width="80"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span>{{ scope.row.is_virtual == 1 ? "虚拟订单" : scope.row.order_type == 0 ? "普通订单" : "核销订单" }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
<el-table-column prop="real_name" label="收货人/订购人" min-width="120" /> |
|
|
|
|
<el-table-column label="商户名称" min-width="100"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -261,10 +193,10 @@ |
|
|
|
|
<p v-if="scope.row.finalOrder">尾款:{{ scope.row.finalOrder.pay_price }}</p> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="integral" label="支付积分" min-width="120" /> |
|
|
|
|
<el-table-column label="支付类型" min-width="80"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span v-if="scope.row.paid === 1">{{ scope.row.pay_type | orderPayType }}</span> |
|
|
|
|
<span v-else>--</span> |
|
|
|
|
<span>{{ scope.row.pay_type == 2 ? '微信' : '积分' }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="支付状态" min-width="80"> |
|
|
|
@ -636,7 +568,7 @@ export default { |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
.demo-table-expand ::v-deep label { |
|
|
|
|
width: 83px !important; |
|
|
|
|
width: 83px !important; |
|
|
|
|
} |
|
|
|
|
.el-dropdown-link { |
|
|
|
|
cursor: pointer; |
|
|
|
|