|
@@ -38,7 +38,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="所属公司">
|
|
<el-form-item label="所属公司">
|
|
|
- <el-select style="width: 240px" v-model="companyId" multiple placeholder="请选择企业" clearable size="small" >
|
|
|
|
|
|
|
+ <el-select style="width: 240px" v-model="companyId" multiple placeholder="请选择企业" clearable size="small" >
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in companyOptions"
|
|
v-for="item in companyOptions"
|
|
|
:key="item.companyId"
|
|
:key="item.companyId"
|
|
@@ -1577,13 +1577,18 @@ export default {
|
|
|
},
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
handleQuery() {
|
|
|
- this.queryParams.pageNum = 1;
|
|
|
|
|
- this.queryParams.companyIds = this.companyId +''
|
|
|
|
|
|
|
+ this.queryParams.pageNum = 1
|
|
|
|
|
+ if (this.companyId){
|
|
|
|
|
+ this.queryParams.companyIds = this.companyId +''
|
|
|
|
|
+ }
|
|
|
this.getList();
|
|
this.getList();
|
|
|
},
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
this.resetForm("queryForm");
|
|
|
|
|
+ this.companyId = null;
|
|
|
|
|
+ this.queryParams.companyIds = null;
|
|
|
|
|
+ this.queryParams.storeIds = null;
|
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
|
},
|
|
},
|
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|