Browse Source

优化商品清理缓存等

master
sj 2 years ago
parent
commit
975d24764b
  1. 2
      src/views/bxg/activity/seckill/index.vue
  2. 3
      src/views/bxg/shop/goods/form.vue
  3. 10
      src/views/bxg/shop/order/index.vue

2
src/views/bxg/activity/seckill/index.vue

@ -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="限购" />

3
src/views/bxg/shop/goods/form.vue

@ -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:[],

10
src/views/bxg/shop/order/index.vue

@ -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 })
},

Loading…
Cancel
Save