|
@@ -24,7 +24,29 @@
|
|
|
<template #table-header="{}">
|
|
|
<div style="width: 100%">
|
|
|
<el-row style="padding: 0 0 10px 80px">
|
|
|
- <el-col :span="4" style="width: 120px">
|
|
|
+ <el-col :span="4" style="width: 150px">
|
|
|
+ <el-select
|
|
|
+ v-model="parmValue.exam_status"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ :size="searchSize"
|
|
|
+ placeholder="状态"
|
|
|
+ style="width: 100%"
|
|
|
+ @change="
|
|
|
+ pageInfo.curr = 1;
|
|
|
+ parmValue.page = 1;
|
|
|
+ searchList();
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options8"
|
|
|
+ :key="'status' + item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="width: 130px; padding: 0 0 0 10px">
|
|
|
<el-select
|
|
|
v-model="parmValue.good_type"
|
|
|
filterable
|
|
@@ -57,26 +79,6 @@
|
|
|
/>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :span="6" style="width: 310px; padding: 0 0 0 10px">
|
|
|
- <good-class
|
|
|
- :value="parmValue.cat_id"
|
|
|
- @handleChange="goods_class_change"
|
|
|
- :disabled="false"
|
|
|
- :size="searchSize"
|
|
|
- :isDetail="false"
|
|
|
- :placeholder="'分类'"
|
|
|
- />
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col
|
|
|
- :span="3"
|
|
|
- class="fr"
|
|
|
- style="width: 66px; padding: 0 0 0 10px"
|
|
|
- >
|
|
|
- <el-button type="primary" :size="searchSize" @click="searchList">
|
|
|
- 刷新
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
<el-col
|
|
|
:span="3"
|
|
|
class="fr"
|
|
@@ -89,28 +91,26 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
|
|
- <el-col :span="4" style="width: 150px">
|
|
|
- <el-select
|
|
|
- v-model="parmValue.exam_status"
|
|
|
- filterable
|
|
|
- clearable
|
|
|
+ <el-col :span="6" style="width: 310px">
|
|
|
+ <good-class
|
|
|
+ :value="parmValue.cat_id"
|
|
|
+ @handleChange="goods_class_change"
|
|
|
+ :disabled="false"
|
|
|
:size="searchSize"
|
|
|
- placeholder="状态"
|
|
|
- style="width: 100%"
|
|
|
- @change="
|
|
|
- pageInfo.curr = 1;
|
|
|
- parmValue.page = 1;
|
|
|
- searchList();
|
|
|
- "
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options8"
|
|
|
- :key="'status' + item.id"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
+ :isDetail="false"
|
|
|
+ :placeholder="'分类'"
|
|
|
+ />
|
|
|
</el-col>
|
|
|
+
|
|
|
+ <el-col :span="6" style="width: 240px; padding: 0 0 0 10px">
|
|
|
+ <search-terrace
|
|
|
+ :value="parmValue.platform_code"
|
|
|
+ :disabled="false"
|
|
|
+ :size="'mini'"
|
|
|
+ :isDetail="false"
|
|
|
+ :placeholder="'所属平台'"
|
|
|
+ @searchChange="platform_codeChange"
|
|
|
+ /></el-col>
|
|
|
<el-col :span="4" style="width: 210px; padding: 0 0 0 10px">
|
|
|
<search-brand
|
|
|
:value="brandid"
|
|
@@ -122,8 +122,18 @@
|
|
|
@searchChange="brandidsearchChange"
|
|
|
/>
|
|
|
</el-col>
|
|
|
-
|
|
|
- <el-col :span="4" style="width: 430px; padding: 0 0 0 10px">
|
|
|
+ <el-col
|
|
|
+ :span="3"
|
|
|
+ class="fr"
|
|
|
+ style="width: 66px; padding: 0 0 0 10px"
|
|
|
+ >
|
|
|
+ <el-button type="primary" :size="searchSize" @click="searchList">
|
|
|
+ 刷新
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row style="padding: 10px 0 0 0">
|
|
|
+ <el-col :span="4" style="width: 450px">
|
|
|
<el-input
|
|
|
:size="searchSize"
|
|
|
v-model="sinput"
|
|
@@ -464,10 +474,17 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
platform_codesearchChange(e) {
|
|
|
- const { id, code, label } = e;
|
|
|
+ const { id } = e;
|
|
|
this.ruleForm.platform_id = id || "";
|
|
|
this.$refs.ruleForm.validateField("platform_id");
|
|
|
},
|
|
|
+ async platform_codeChange(e) {
|
|
|
+ const { id } = e;
|
|
|
+ this.parmValue.platform_code = id || "";
|
|
|
+ this.pageInfo.curr = 1;
|
|
|
+ this.parmValue.page = 1;
|
|
|
+ await this.searchList();
|
|
|
+ },
|
|
|
//导出
|
|
|
async goodsExport() {
|
|
|
// console.log(this.$refs.ruleForm)
|