|
@@ -14,6 +14,7 @@
|
|
|
@onFixedClick="rows"
|
|
|
:specialKey="[{key:'itemclass',value:null},{key:'tradefield',value:null},{key:'brand',value:null}]"
|
|
|
@checkboxCallBack="rows"
|
|
|
+ :autoQuery="false"
|
|
|
:detailPath="{
|
|
|
path:'/productmagDetail'
|
|
|
}"
|
|
@@ -57,7 +58,7 @@
|
|
|
<template #custom>
|
|
|
<div class="mt-10">
|
|
|
<label class="search__label" >是否上架:</label>
|
|
|
- <el-select class="inline-24" v-model="selectParam.isonsale" placeholder="请选择是否上架" @change="selectChange" size="small" clearable>
|
|
|
+ <el-select class="inline-24" v-model="selectParam.isonsale" placeholder="请选择是否上架" @change="selectChange" size="small" >
|
|
|
<el-option
|
|
|
v-for="item in isOnSaleData"
|
|
|
:key="item.value"
|
|
@@ -221,7 +222,7 @@ export default {
|
|
|
}
|
|
|
],
|
|
|
selectParam:{
|
|
|
- isonsale:'',
|
|
|
+ isonsale:1,
|
|
|
begindate:'',
|
|
|
enddate:'',
|
|
|
status:'',
|
|
@@ -364,10 +365,15 @@ export default {
|
|
|
this.$store.dispatch('optiontypeselect','tradefield').then(res=>{
|
|
|
this.tradefieldData = res.data
|
|
|
})
|
|
|
+ },
|
|
|
+ listData(){
|
|
|
+ this.$refs.basicLayout.param.content.where = this.selectParam
|
|
|
+ this.$refs.basicLayout.listData()
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.querytradefield()
|
|
|
+ this.listData()
|
|
|
}
|
|
|
}
|
|
|
|