|
@@ -7,7 +7,7 @@
|
|
|
v-show="showSearch"
|
|
|
label-width="90px"
|
|
|
>
|
|
|
- <el-form-item label="盲票组名称">
|
|
|
+ <el-form-item label="盲票组名称" prop="title">
|
|
|
<el-input
|
|
|
v-model="queryParams.title"
|
|
|
placeholder="请输入盲票组名称"
|
|
@@ -17,7 +17,7 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="订单号">
|
|
|
+ <el-form-item label="订单号" prop="orderId">
|
|
|
<el-input
|
|
|
v-model="queryParams.orderId"
|
|
|
placeholder="输入订单编号"
|
|
@@ -27,7 +27,7 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="经销商" >
|
|
|
+ <el-form-item label="经销商" prop="channelId">
|
|
|
<el-select
|
|
|
v-model="queryParams.channelId"
|
|
|
placeholder="请选择经销商"
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
// 盲票组下拉列表
|
|
|
boxData: [],
|
|
|
siteList:[],
|
|
|
- siteCopyList:[],
|
|
|
+ siteCopyList:[]
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -328,7 +328,6 @@ export default {
|
|
|
|
|
|
|
|
|
dataFilter(val) {
|
|
|
- this.value = val;
|
|
|
if (val) { //val存在
|
|
|
this.siteList = this.siteCopyList.filter((item) => {
|
|
|
if (!!~item.mobile.indexOf(val) || !!~item.mobile.toUpperCase().indexOf(val.toUpperCase())
|
|
@@ -339,10 +338,14 @@ export default {
|
|
|
} else { //val为空时,还原数组
|
|
|
this.siteList = this.siteCopyList;
|
|
|
}
|
|
|
+ console.log("this.siteList == "+JSON.stringify(this.siteList))
|
|
|
+ console.log("this.siteCopyList == "+JSON.stringify(this.siteCopyList))
|
|
|
},
|
|
|
|
|
|
//搜索
|
|
|
handleQuery() {
|
|
|
+ this.siteList = this.siteCopyList;
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
|