|
|
|
|
@ -8,9 +8,20 @@
|
|
|
|
|
<div style="display: flex;align-items: center;">
|
|
|
|
|
<div style="margin-right: 10px;">是否包含历史记录</div>
|
|
|
|
|
|
|
|
|
|
<el-switch v-model="select.show_history" :active-value="1" :inactive-value="0"></el-switch>
|
|
|
|
|
<el-switch v-model="select.show_history" :active-value="1" :inactive-value="0" style="margin-right: 10px;"></el-switch>
|
|
|
|
|
|
|
|
|
|
<Button type="primary" @click="getList" style="margin-left: 10px">查询</Button>
|
|
|
|
|
<div style="margin-right: 10px;">订单状态</div>
|
|
|
|
|
|
|
|
|
|
<el-select size="mini" placeholder="请选择状态" v-model="select.state" style="width: 140px;margin-right: 10px;">
|
|
|
|
|
<el-option v-for="(item,index) in status" :key="index" :label="item.label" :value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
<div style="margin-right: 10px;">关键词</div>
|
|
|
|
|
|
|
|
|
|
<el-input size="mini" placeholder="请输入关键词" v-model="select.keyword" style="width: 160px;margin-right: 10px;"></el-input>
|
|
|
|
|
|
|
|
|
|
<el-button size="medium" type="primary" @click="getList" style="margin-left: 10px">查询</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</slot>
|
|
|
|
|
</LxHeader>
|
|
|
|
|
@ -58,8 +69,48 @@ export default {
|
|
|
|
|
select:{
|
|
|
|
|
page:1,
|
|
|
|
|
rows:10,
|
|
|
|
|
show_history:0
|
|
|
|
|
show_history:0,
|
|
|
|
|
state:'',
|
|
|
|
|
keyword:''
|
|
|
|
|
},
|
|
|
|
|
status:[
|
|
|
|
|
{
|
|
|
|
|
label:'待处理',
|
|
|
|
|
value:'pending'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'已分发',
|
|
|
|
|
value:'assigned'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'已退回',
|
|
|
|
|
value:'returned'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'已接收',
|
|
|
|
|
value:'accepted'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'确认有效',
|
|
|
|
|
value:'confirmed'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'用户申请取消',
|
|
|
|
|
value:'canceled_by_user'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'商家标注无效单',
|
|
|
|
|
value:'canceled_by_merchant'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'已完成',
|
|
|
|
|
value:'finished'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'已取消',
|
|
|
|
|
value:'canceled'
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
total:0,
|
|
|
|
|
data:[],
|
|
|
|
|
logs:[],
|
|
|
|
|
@ -93,25 +144,37 @@ export default {
|
|
|
|
|
label:'客户姓名',
|
|
|
|
|
sortable:false,
|
|
|
|
|
prop:'member_name',
|
|
|
|
|
width:160
|
|
|
|
|
width:140
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'客户电话',
|
|
|
|
|
sortable:false,
|
|
|
|
|
prop:'member_phone',
|
|
|
|
|
width: 200
|
|
|
|
|
width: 180
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'预产期',
|
|
|
|
|
sortable:false,
|
|
|
|
|
prop:'member_due_date',
|
|
|
|
|
width: 180
|
|
|
|
|
width: 160
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'产品类型',
|
|
|
|
|
sortable:false,
|
|
|
|
|
prop:'product_type.name',
|
|
|
|
|
width: 180
|
|
|
|
|
width: 140
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop:'order.serial',
|
|
|
|
|
label:'订单编号',
|
|
|
|
|
width:180,
|
|
|
|
|
sortable:false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop:'order.created_at',
|
|
|
|
|
label:'订单创建时间',
|
|
|
|
|
width:180,
|
|
|
|
|
sortable:false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label:'状态',
|
|
|
|
|
@ -123,6 +186,8 @@ export default {
|
|
|
|
|
label:'操作',
|
|
|
|
|
sortable:false,
|
|
|
|
|
align:'left',
|
|
|
|
|
fixed:'right',
|
|
|
|
|
minWidth:200,
|
|
|
|
|
customFn:row => {
|
|
|
|
|
const _this = this
|
|
|
|
|
let map = new Map([
|
|
|
|
|
@ -218,4 +283,7 @@ export default {
|
|
|
|
|
//::v-deep .el-button + .el-button{
|
|
|
|
|
// margin-left: 0 !important;
|
|
|
|
|
//}
|
|
|
|
|
::v-deep .el-button{
|
|
|
|
|
padding: 5px 8px !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|