|
@@ -2,20 +2,24 @@
|
|
|
<div class="app-container">
|
|
|
<!-- 搜索模块 -->
|
|
|
<div class="filter-container">
|
|
|
+ <!-- 名称 -->
|
|
|
<span>
|
|
|
<span>{{$t("prepare.searchForm.name")}}:</span>
|
|
|
<el-input v-model="queryParams.model.name" :placeholder='$t("common.pleaseEnter")' style="width: 150px;" size="medium"/>
|
|
|
</span>
|
|
|
+ <!-- 品牌 -->
|
|
|
<span style="margin-left: 15px;">
|
|
|
<span>{{$t("prepare.searchForm.brand")}}:</span>
|
|
|
<el-select style="width:150px;" :placeholder='$t("common.pleaseSelect")' v-model="brand.key" value size="medium">
|
|
|
<el-option :key="index" :label="item" :value="key" v-for="(item, key, index) in dicts.METERIAL_BRAND" />
|
|
|
</el-select>
|
|
|
</span>
|
|
|
+ <!-- 规格 -->
|
|
|
<span style="margin-left: 15px;">
|
|
|
<span>{{$t("prepare.searchForm.model")}}:</span>
|
|
|
<el-input v-model="queryParams.model.specification" :placeholder='$t("common.pleaseEnter")' style="width: 150px;" size="medium"/>
|
|
|
</span>
|
|
|
+ <!-- 状态 -->
|
|
|
<span style="margin-left: 15px;">
|
|
|
<span>{{$t("prepare.searchForm.status")}}:</span>
|
|
|
<el-select v-model="queryParams.model.status" :placeholder='$t("common.pleaseSelect")' size="medium" style="width: 150px;">
|
|
@@ -278,6 +282,7 @@
|
|
|
},
|
|
|
reset () {
|
|
|
this.queryParams = initQueryParams({})
|
|
|
+ this.brand = {key: ''};
|
|
|
this.$refs.table.clearSort()
|
|
|
this.$refs.table.clearFilter()
|
|
|
this.search()
|