Browse Source

修改秒杀商品拼团商品规格图片问题,商品词条增加搜索

master
WIN-ISA1S7G2S9M\Administrator 2 years ago committed by Loki
parent
commit
56730da156
  1. 5
      src/mixins/crud.js
  2. 4
      src/views/bxg/activity/combination/form.vue
  3. 4
      src/views/bxg/activity/seckill/form.vue
  4. 4
      src/views/bxg/shop/afterSeals/index.vue
  5. 4
      src/views/bxg/shop/goods/form.vue
  6. 5
      src/views/bxg/shop/yxStoreEntry/index.vue

5
src/mixins/crud.js

@ -96,6 +96,11 @@ export default {
this.page = e - 1
this.init()
},
// 改变页码
pageChanges(e) {
this.page = e
this.init()
},
// 改变每页显示数
sizeChange(e) {
this.page = 0

4
src/views/bxg/activity/combination/form.vue

@ -489,8 +489,8 @@ export default {
let header = res.header;
header.pop();
if (!this.$route.params.id && this.formValidate.spec_type === 1) {
this.manyFormValidate.map((item) => {
item.pic = this.formValidate.image
this.manyFormValidate.map((item,index) => {
item.pic = this.manyFormValidate[index].pic
});
this.oneFormBatch[0].pic = this.formValidate.image;
}

4
src/views/bxg/activity/seckill/form.vue

@ -474,8 +474,8 @@ export default {
let header = res.header;
header.pop();
if (!this.$route.params.id && this.formValidate.spec_type === 1) {
this.manyFormValidate.map((item) => {
item.pic = this.formValidate.image
this.manyFormValidate.map((item,index) => {
item.pic = this.manyFormValidate[index].pic
});
this.oneFormBatch[0].pic = this.formValidate.image;
}

4
src/views/bxg/shop/afterSeals/index.vue

@ -119,11 +119,11 @@
<!--分页组件-->
<el-pagination
:total="total"
:current-page="page + 1"
:current-page="page"
style="margin-top: 20px; float: right"
layout="total, prev, pager, next, sizes"
@size-change="sizeChange"
@current-change="pageChange" />
@current-change="pageChanges" />
<!-- 审核订单详情 -->
<CheckDialog ref="addForm" :visible="addVisible" @checkSuccess="toQuery"/>

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

@ -977,7 +977,9 @@ export default {
type: 'success'
});
setTimeout(() => {
this.resetForm();
if(!this.formValidate.id){
this.resetForm();
}
this.$router.push({ path: '/bxg/shop/goods' });
}, 500);
}).catch(res => {

5
src/views/bxg/shop/yxStoreEntry/index.vue

@ -3,6 +3,11 @@
<!--工具栏-->
<div class="head-container">
<!--如果想在工具栏加入更多按钮可以使用插槽方式 slot = 'left' or 'right'-->
<div v-if="crud.props.searchToggle">
<!-- 搜索 -->
<el-input v-model="query.entryName" clearable size="small" placeholder="输入词条名称搜索" style="width: 200px;" class="filter-item" @keyup.enter.native="crud.toQuery" />
<rrOperation :crud="crud" />
</div>
<crudOperation :permission="permission" />
<!--表单组件-->
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px">

Loading…
Cancel
Save