优化商品清理缓存等
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="title" label="产品标题" />
|
||||
<el-table-column prop="price" label="秒杀价" />
|
||||
<el-table-column prop="otPrice" label="原价" />
|
||||
<el-table-column prop="otPrice" label="售价" />
|
||||
<el-table-column prop="stock" label="库存" />
|
||||
<el-table-column prop="sales" label="销量" />
|
||||
<el-table-column prop="num" label="限购" />
|
||||
|
||||
@@ -229,7 +229,6 @@
|
||||
<span style="display: flex;margin-bottom:10px">当前栏目标题:<el-input style="width:300px" v-model="item.content"></el-input></span>
|
||||
<span style="display: flex;margin-bottom:10px">当前栏目图标:<single-pic v-model="item.configuration" type="image" :num="1" :width="150" :height="150" /></span>
|
||||
|
||||
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-form-item>
|
||||
@@ -999,6 +998,8 @@ export default {
|
||||
//清空表单
|
||||
resetForm(){
|
||||
this.$refs['formValidate'].resetFields()
|
||||
this.editableTabs=[],
|
||||
this.attrs=[],
|
||||
this.formValidate = {
|
||||
parameter:[],
|
||||
imageArr:[],
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<el-select v-model="query.type" clearable placeholder="类型" class="filter-item" style="width: 130px">
|
||||
<el-option v-for="item in queryTypeOptions" :key="item.key" :label="item.display_name" :value="item.key" />
|
||||
</el-select>
|
||||
<el-select v-model="orderType" multiple
|
||||
<el-select v-model="orderType" multiple @change="change"
|
||||
clearable placeholder="订单类型" class="filter-item" style="width: 130px">
|
||||
<el-option
|
||||
v-for="item in typeOptions"
|
||||
@@ -364,6 +364,14 @@
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
change(val){
|
||||
let res=val.some(item => item=='0');
|
||||
if (res){
|
||||
this.orderType=['0']
|
||||
// console.info('val',this.orderType)
|
||||
}
|
||||
// console.info('val',val);
|
||||
},
|
||||
toDetailURL(id){
|
||||
this.$router.push({ path: '/bxg/order/detail/'+id })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user