|
|
|
@ -4,42 +4,73 @@
|
|
|
|
<lx-header icon="md-apps" text="订单管理" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
<lx-header icon="md-apps" text="订单管理" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<div style="display: flex">
|
|
|
|
<div style="display: flex">
|
|
|
|
<Input v-model="select.keyword" class="select" style="width: 200px; margin-right: 10px" placeholder="关键字搜索" />
|
|
|
|
<Input v-model="select.keyword" class="select" style="width: 200px; margin-right: 10px"
|
|
|
|
<Button class="select" type="primary" style="margin-right: 10px;" @click="getOrders">查询</Button>
|
|
|
|
placeholder="关键字搜索" />
|
|
|
|
<xy-selectors @search="getOrders">
|
|
|
|
<Button class="select" type="primary" style="margin-right: 10px;" @click="searchOrder">查询</Button>
|
|
|
|
|
|
|
|
<xy-selectors @search="searchOrder">
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item-label">所属商户</div>
|
|
|
|
<div class="select-content-item-label">所属商户</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<el-select size="small" :value="select.merchant ? select.merchant.name : ''" placeholder="所属商户" @change="e => select.merchant = e">
|
|
|
|
<el-select size="small" :value="select.merchant ? select.merchant.name : ''" placeholder="所属商户"
|
|
|
|
<el-option v-for="item in merchants" :key="item.id" :value="item" :label="item.name"></el-option>
|
|
|
|
@change="e => select.merchant = e">
|
|
|
|
|
|
|
|
<el-option v-for="item in merchants" :key="item.id" :value="item" :label="item.name">
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
<el-checkbox style="margin-left: 10px;" v-model="select.is_merchant">包含历史服务商家</el-checkbox>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item-label">产品类别</div>
|
|
|
|
<div class="select-content-item-label">产品类别</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<el-cascader
|
|
|
|
<el-cascader ref="cascader" :value="select.productTypeName" clearable :show-all-levels="false"
|
|
|
|
ref="cascader"
|
|
|
|
size="small" :options="productTypes" :props="{checkStrictly:true,label:'name',value:'id'}"
|
|
|
|
:value="select.productTypeName"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
:show-all-levels="false"
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
:options="productTypes"
|
|
|
|
|
|
|
|
:props="{checkStrictly:true,label:'name',value:'id'}"
|
|
|
|
|
|
|
|
@change="productTypeChange"></el-cascader>
|
|
|
|
@change="productTypeChange"></el-cascader>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item">
|
|
|
|
<div class="select-content-item-label">订单状态</div>
|
|
|
|
<div class="select-content-item-label">订单状态</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<template v-for="(value,key) of orderStates">
|
|
|
|
<template v-for="(value,key) of orderStates">
|
|
|
|
<el-tag size="small" :effect="select.orderStates.key === key ? 'dark' : 'plain'" @click="select.orderStates = {key,value}" style="margin-right: 6px;">{{value}}</el-tag>
|
|
|
|
<el-tag size="small" :effect="select.orderStates.key === key ? 'dark' : 'plain'"
|
|
|
|
|
|
|
|
@click="select.orderStates = {key,value}" style="margin-right: 6px;">{{value}}</el-tag>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<div class="select-content-item">
|
|
|
|
|
|
|
|
<div class="select-content-item-label">下单日期</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<el-date-picker @change="changeCreatedDate" v-model="select.createdDate" type="daterange"
|
|
|
|
|
|
|
|
:picker-options="pickerOptions" value-format="yyyy-MM-dd" range-separator="至"
|
|
|
|
|
|
|
|
start-placeholder="开始日期" end-placeholder="结束日期" align="right">
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12"></el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<div class="select-content-item">
|
|
|
|
|
|
|
|
<div class="select-content-item-label">支付日期</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<el-date-picker @change="changePayDate" v-model="select.payDate" type="daterange"
|
|
|
|
|
|
|
|
:picker-options="pickerOptions" value-format="yyyy-MM-dd" range-separator="至"
|
|
|
|
|
|
|
|
start-placeholder="开始日期" end-placeholder="结束日期" align="right">
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-slot:selected>
|
|
|
|
<template v-slot:selected>
|
|
|
|
<div style="display: flex;padding: 0 0 10px 20px;">
|
|
|
|
<div style="display: flex;padding: 0 0 10px 20px;">
|
|
|
|
@ -73,7 +104,8 @@
|
|
|
|
</lx-header>
|
|
|
|
</lx-header>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<xy-table :list="list" :table-item="table" :total="total" @pageSizeChange="e => select.pageSize = e" @pageIndexChange="pageChange">
|
|
|
|
<xy-table :list="list" :table-item="table" :total="total" @pageSizeChange="e => select.pageSize = e"
|
|
|
|
|
|
|
|
@pageIndexChange="pageChange">
|
|
|
|
<template v-slot:btns>
|
|
|
|
<template v-slot:btns>
|
|
|
|
<el-table-column fixed="right" label="操作" width="400" header-align="center">
|
|
|
|
<el-table-column fixed="right" label="操作" width="400" header-align="center">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -93,9 +125,16 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import {getList,index as getTypes} from "@/api/order"
|
|
|
|
import {
|
|
|
|
import {parseTime} from "@/utils"
|
|
|
|
getList,
|
|
|
|
import {download} from '@/utils/downloadRequest'
|
|
|
|
index as getTypes
|
|
|
|
|
|
|
|
} from "@/api/order"
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
|
|
|
parseTime
|
|
|
|
|
|
|
|
} from "@/utils"
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
|
|
|
download
|
|
|
|
|
|
|
|
} from '@/utils/downloadRequest'
|
|
|
|
|
|
|
|
|
|
|
|
import orderLog from '@/views/order/component/orderLog'
|
|
|
|
import orderLog from '@/views/order/component/orderLog'
|
|
|
|
import actions from '@/views/order/component/actions'
|
|
|
|
import actions from '@/views/order/component/actions'
|
|
|
|
@ -120,13 +159,46 @@ export default {
|
|
|
|
keyword: '',
|
|
|
|
keyword: '',
|
|
|
|
productType: '',
|
|
|
|
productType: '',
|
|
|
|
orderStates: '',
|
|
|
|
orderStates: '',
|
|
|
|
productTypeName:""
|
|
|
|
productTypeName: "",
|
|
|
|
|
|
|
|
is_merchant: false,
|
|
|
|
|
|
|
|
createdDate: [],
|
|
|
|
|
|
|
|
paidDate: [],
|
|
|
|
|
|
|
|
start_created: "",
|
|
|
|
|
|
|
|
end_created: "",
|
|
|
|
|
|
|
|
start_paid: "",
|
|
|
|
|
|
|
|
end_paid: "",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
pickerOptions: {
|
|
|
|
|
|
|
|
shortcuts: [{
|
|
|
|
|
|
|
|
text: '最近一周',
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
|
|
|
|
|
|
|
picker.$emit('pick', [start, end]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}, {
|
|
|
|
|
|
|
|
text: '最近一个月',
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
|
|
|
|
|
|
|
picker.$emit('pick', [start, end]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}, {
|
|
|
|
|
|
|
|
text: '最近三个月',
|
|
|
|
|
|
|
|
onClick(picker) {
|
|
|
|
|
|
|
|
const end = new Date();
|
|
|
|
|
|
|
|
const start = new Date();
|
|
|
|
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
|
|
|
|
|
|
|
picker.$emit('pick', [start, end]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
list: [],
|
|
|
|
list: [],
|
|
|
|
table:[
|
|
|
|
table: [{
|
|
|
|
{
|
|
|
|
|
|
|
|
prop: "order.serial",
|
|
|
|
prop: "order.serial",
|
|
|
|
label: "订单编号",
|
|
|
|
label: "订单编号",
|
|
|
|
width: 150,
|
|
|
|
width: 150,
|
|
|
|
@ -136,24 +208,24 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "order_name",
|
|
|
|
prop: "order_name",
|
|
|
|
label: "订单名称",
|
|
|
|
label: "订单名称",
|
|
|
|
width:340,
|
|
|
|
width: 220,
|
|
|
|
align: 'left'
|
|
|
|
align: 'left'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: 'bookable_name',
|
|
|
|
prop: 'bookable_name',
|
|
|
|
label: "订购类型",
|
|
|
|
label: "订购类型",
|
|
|
|
width:110
|
|
|
|
width: 80
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "order_total",
|
|
|
|
prop: "order_total",
|
|
|
|
label: "金额",
|
|
|
|
label: "金额",
|
|
|
|
width: 140,
|
|
|
|
width: 80,
|
|
|
|
align: 'right'
|
|
|
|
align: 'right'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "created_at",
|
|
|
|
prop: "created_at",
|
|
|
|
label: "下单时间",
|
|
|
|
label: "下单时间",
|
|
|
|
width: 200,
|
|
|
|
width: 180,
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
return parseTime(new Date(value))
|
|
|
|
return parseTime(new Date(value))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -161,7 +233,7 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "paid_at",
|
|
|
|
prop: "paid_at",
|
|
|
|
label: "支付时间",
|
|
|
|
label: "支付时间",
|
|
|
|
width: 200,
|
|
|
|
width: 180,
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
if (value)
|
|
|
|
if (value)
|
|
|
|
return parseTime(new Date(value))
|
|
|
|
return parseTime(new Date(value))
|
|
|
|
@ -170,9 +242,9 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "updated_at",
|
|
|
|
prop: "updated_at",
|
|
|
|
label: "更新时间",
|
|
|
|
label: "更新时间",
|
|
|
|
width: 200,
|
|
|
|
width: 180,
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
formatter: (cell, data, value, index) => {
|
|
|
|
return parseTime(new Date(value),"{y}-{m}-{d}")
|
|
|
|
return parseTime(new Date(value))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -180,27 +252,55 @@ export default {
|
|
|
|
label: "推广渠道",
|
|
|
|
label: "推广渠道",
|
|
|
|
width: 110
|
|
|
|
width: 110
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: "客户服务地址",
|
|
|
|
|
|
|
|
width: 220,
|
|
|
|
|
|
|
|
align:"left",
|
|
|
|
|
|
|
|
customFn: (row) => {
|
|
|
|
|
|
|
|
return ( <div style = {
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
display: 'flex',
|
|
|
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
|
|
|
justifyContent: 'center',
|
|
|
|
|
|
|
|
cursor:'pointer',
|
|
|
|
|
|
|
|
color:"blue"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} > {row.order.member_address?row.order.member_address:"修改服务地址"}</div > )
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: "用户信息",
|
|
|
|
label: "用户信息",
|
|
|
|
Fprop: 'member',
|
|
|
|
Fprop: 'member',
|
|
|
|
multiHd:[
|
|
|
|
multiHd: [{
|
|
|
|
{
|
|
|
|
|
|
|
|
prop: "name",
|
|
|
|
prop: "name",
|
|
|
|
label: "姓名",
|
|
|
|
label: "姓名",
|
|
|
|
width: 110
|
|
|
|
width: 110
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
prop: "wechat_nickname",
|
|
|
|
|
|
|
|
label: "微信昵称",
|
|
|
|
|
|
|
|
width: 110
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: "头像",
|
|
|
|
label: "头像",
|
|
|
|
width: 80,
|
|
|
|
width: 80,
|
|
|
|
customFn: (row) => {
|
|
|
|
customFn: (row) => {
|
|
|
|
return (<div style={{display:'flex',alignItems:'center',justifyContent:'center'}}><el-avatar src={row.member?.avatar}></el-avatar></div>)
|
|
|
|
return ( < div style = {
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
display: 'flex',
|
|
|
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
|
|
|
justifyContent: 'center'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} > <el-avatar src = {
|
|
|
|
|
|
|
|
row.member?.avatar
|
|
|
|
|
|
|
|
} > </el-avatar></div > )
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "phone",
|
|
|
|
prop: "phone",
|
|
|
|
label: "联系电话",
|
|
|
|
label: "联系电话",
|
|
|
|
width: 190
|
|
|
|
width: 120
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "area",
|
|
|
|
prop: "area",
|
|
|
|
@ -210,39 +310,69 @@ export default {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "due_date",
|
|
|
|
prop: "due_date",
|
|
|
|
label: "预产期",
|
|
|
|
label: "预产期",
|
|
|
|
width: 145
|
|
|
|
width: 120
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '订单明细',
|
|
|
|
label: '订单明细',
|
|
|
|
multiHd: [
|
|
|
|
multiHd: [{
|
|
|
|
{
|
|
|
|
|
|
|
|
prop: "product_type.name",
|
|
|
|
prop: "product_type.name",
|
|
|
|
label: "产品类型",
|
|
|
|
label: "产品类型",
|
|
|
|
width: 200
|
|
|
|
width: 100
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "merchant.name",
|
|
|
|
prop: "merchant.name",
|
|
|
|
label: "服务商家",
|
|
|
|
label: "服务商家",
|
|
|
|
|
|
|
|
align: "left",
|
|
|
|
width: 220
|
|
|
|
width: 220
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: "历史商家",
|
|
|
|
|
|
|
|
width: 220,
|
|
|
|
|
|
|
|
align: "left",
|
|
|
|
|
|
|
|
customFn: (row) => {
|
|
|
|
|
|
|
|
return row.assign_merchant.map(item => {
|
|
|
|
|
|
|
|
return ( < div > {
|
|
|
|
|
|
|
|
item.name
|
|
|
|
|
|
|
|
} < /div>)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prop: "state_name",
|
|
|
|
prop: "state_name",
|
|
|
|
label: "状态",
|
|
|
|
label: "状态",
|
|
|
|
width: 140
|
|
|
|
width: 80
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
prop: "order.remark",
|
|
|
|
|
|
|
|
label: "备注"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
changePayDate(e) {
|
|
|
|
|
|
|
|
this.select.start_paid = e[0];
|
|
|
|
|
|
|
|
this.select.end_paid = e[1];
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
changeCreatedDate(e) {
|
|
|
|
|
|
|
|
this.select.start_created = e[0];
|
|
|
|
|
|
|
|
this.select.end_created = e[1];
|
|
|
|
|
|
|
|
},
|
|
|
|
productTypeChange(e) {
|
|
|
|
productTypeChange(e) {
|
|
|
|
this.select.productType = this.$refs['cascader'].getCheckedNodes()[0].data.id;
|
|
|
|
this.select.productType = this.$refs['cascader'].getCheckedNodes()[0].data.id;
|
|
|
|
this.select.productTypeName = this.$refs['cascader'].getCheckedNodes()[0].data.name;
|
|
|
|
this.select.productTypeName = this.$refs['cascader'].getCheckedNodes()[0].data.name;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
searchOrder(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.select.page = 1
|
|
|
|
|
|
|
|
this.getOrders()
|
|
|
|
|
|
|
|
},
|
|
|
|
pageChange(e) {
|
|
|
|
pageChange(e) {
|
|
|
|
this.select.page = e
|
|
|
|
this.select.page = e
|
|
|
|
this.getOrders()
|
|
|
|
this.getOrders()
|
|
|
|
@ -257,14 +387,17 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
async getOrders() {
|
|
|
|
async getOrders() {
|
|
|
|
|
|
|
|
let is_merchant = this.select.is_merchant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.select.is_merchant= is_merchant ? 1 : 0;
|
|
|
|
const res = await getList({
|
|
|
|
const res = await getList({
|
|
|
|
page:this.select.page,
|
|
|
|
|
|
|
|
page_size: this.select.pageSize,
|
|
|
|
page_size: this.select.pageSize,
|
|
|
|
keyword:this.select.keyword,
|
|
|
|
|
|
|
|
product_type_id: this.select.productType,
|
|
|
|
product_type_id: this.select.productType,
|
|
|
|
merchant_id: this.select.merchant.id,
|
|
|
|
merchant_id: this.select.merchant.id,
|
|
|
|
order_state:this.select.orderStates.key
|
|
|
|
order_state: this.select.orderStates.key,
|
|
|
|
|
|
|
|
...this.select
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
this.select.is_merchant=is_merchant;
|
|
|
|
this.total = res.total
|
|
|
|
this.total = res.total
|
|
|
|
this.list = res.rows
|
|
|
|
this.list = res.rows
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -277,8 +410,7 @@ export default {
|
|
|
|
downloadExel() {
|
|
|
|
downloadExel() {
|
|
|
|
download(
|
|
|
|
download(
|
|
|
|
'/api/admin/order/get-list',
|
|
|
|
'/api/admin/order/get-list',
|
|
|
|
'get',
|
|
|
|
'get', {
|
|
|
|
{
|
|
|
|
|
|
|
|
order_state: this.select.orderStates.key,
|
|
|
|
order_state: this.select.orderStates.key,
|
|
|
|
keyword: this.select.keyword,
|
|
|
|
keyword: this.select.keyword,
|
|
|
|
product_type_id: this.select.productType,
|
|
|
|
product_type_id: this.select.productType,
|
|
|
|
@ -297,12 +429,12 @@ export default {
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
|
|
|
|
.select-content-item {
|
|
|
|
.select-content-item {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
&-label {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -311,6 +443,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$primaryColor: #bf617c;
|
|
|
|
$primaryColor: #bf617c;
|
|
|
|
|
|
|
|
|
|
|
|
::v-deep .ivu-alert-success {
|
|
|
|
::v-deep .ivu-alert-success {
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
border-color: $primaryColor !important;
|
|
|
|
border-color: $primaryColor !important;
|
|
|
|
@ -319,6 +452,7 @@ $primaryColor: #bf617c;
|
|
|
|
margin: auto 0;
|
|
|
|
margin: auto 0;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
::v-deep .ivu-icon-ios-close:before {
|
|
|
|
::v-deep .ivu-icon-ios-close:before {
|
|
|
|
//color: #fff;
|
|
|
|
//color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|