Commit 536aff7c by damodmg

Merge branch 'dev' into 'master'

Dev

See merge request !36
parents a2c3447f 11f2c2af
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet type=text/css href=./static/css/iconfont.css><link rel=stylesheet type=text/css href=./static/css/common.css><link rel="shortcut icon" type=image/x-icon href=./static/img/favicon.ico><title>积分商城</title><link href=./static/css/app.e6c9d22556f9e2442d187ec674b32414.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.03.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.02.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2a66e15144de1c0f565b.js></script><script type=text/javascript src=./static/js/app.1b6ca504fd6fbb2ffebb.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet type=text/css href=./static/css/iconfont.css><link rel=stylesheet type=text/css href=./static/css/common.css><link rel="shortcut icon" type=image/x-icon href=./static/img/favicon.ico><title>积分商城</title><link href=./static/css/app.9db5b936ded9de8a0fa3e46b23f19971.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.05.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.01.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.03.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.02.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2a66e15144de1c0f565b.js></script><script type=text/javascript src=./static/js/app.3b31b02923db7bdf43e3.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -17,9 +17,9 @@
<script src="//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js"></script>
<!-- 组件引用cdn -->
<script src="//web-1251519181.file.myqcloud.com/components/header.2.0.18.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.05.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js"></script>
<script src='//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.00.js'></script>
<script src='//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.01.js'></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/member-info.1.0.01.js"></script> -->
<script src="//web-1251519181.file.myqcloud.com/components/card.2.0.03.js"></script>
<script src="//web-1251519181.file.myqcloud.com/components/export-excel.2.0.02.js"></script>
......
......@@ -180,7 +180,7 @@ export default {
sortType: this.sortType,
sortColumn: this.sortColumn,
giftName: this.searchValue,
shelf: this.shelf === '' ? -1 : this.shelf //上架状态
shelf: this.shelf ? this.shelf : -1 //上架状态
};
this.loading = true;
request.post('/api-integral-mall/page-cards', qs.stringify(params)).then(res => {
......
......@@ -231,6 +231,12 @@ export default {
};
},
created() {
let val = {
storeType: 0,
storeGroupIds: '',
storeIds: []
};
this.getSelectGroupData(val);
this.mallProId = this.$route.query.giftId;
this.coupCardId = this.$route.query.coupCardId;
......@@ -238,7 +244,7 @@ export default {
this.getInfo();
}
this.getMemberGradeList(); //会员等级列表
this.getMemberGradeList(); //会员等级列表\
},
methods: {
refashData() {
......@@ -285,16 +291,17 @@ export default {
this.couponForm.memberGrade = [];
}
this.sendChildData.storeType = res.data.result.showStore;
this.sendChildData.storeType = res.data.result.showStore || 0;
if (this.sendChildData.storeType === 1) {
this.sendChildData.storeGroupIds = res.data.result.storeGroupIds;
this.sendChildData.storeGroupIds = res.data.result.storeGroupIds || '';
} else if (this.sendChildData.storeType === 2) {
this.sendChildData.storeIds = res.data.result.storeInfo;
// this.sendChildData.storeIds = res.data.result.storeIds.split(',').map(v => {
// return {
// storeIds: v
// };
// });
let list = [];
if (res.data.result.storeInfo) {
res.data.result.storeInfo.map(v => {
list.push(v);
});
}
this.sendChildData.storeIds = list;
}
this.getSelectGroupData(this.sendChildData);
//限兑
......
......@@ -216,6 +216,7 @@ export default {
this.$router.push({ name: 'giftExchange', query: { integralMallProId: item.integralMallProId } });
}
},
// 获取列表
getList() {
let params = {
......@@ -224,8 +225,8 @@ export default {
sortType: this.sortType,
sortColumn: this.sortColumn,
giftName: this.searchValue,
giftType: this.giftType === '' ? -1 : this.giftType,
shelf: this.shelf === '' ? -1 : this.shelf, //上架状态
giftType: this.giftType ? this.giftType : -1,
shelf: this.shelf ? this.shelf : -1, //上架状态
goodsType: this.goodsType //商品类型
};
this.loading = true;
......
......@@ -377,6 +377,13 @@ export default {
this.getInfo();
this.editChangeTypeStatus = true;
}
let val = {
storeType: 0,
storeGroupIds: '',
storeIds: []
};
this.getSelectGroupData(val);
},
mounted: function() {
this.$nextTick(function() {
......@@ -549,12 +556,13 @@ export default {
if (this.sendChildData.storeType === 1) {
this.sendChildData.storeGroupIds = res.data.result.storeGroupIds;
} else if (this.sendChildData.storeType === 2) {
// this.sendChildData.storeIds = res.data.result.storeIds.split(',').map(v => {
// return {
// storeIds: v
// };
// });
this.sendChildData.storeIds = res.data.result.storeInfo;
let list = [];
if (res.data.result.storeInfo) {
res.data.result.storeInfo.map(v => {
list.push(v);
});
}
this.sendChildData.storeIds = list;
}
this.getSelectGroupData(this.sendChildData);
//显示状态
......
......@@ -274,7 +274,6 @@ export default {
let params = {
currentPage: this.currentPage,
pageSize: this.pageSize,
changeType: '-1',
orderStatus: this.orderStatus,
searchParams: this.searchValue,
pageType: 1,
......
......@@ -111,7 +111,7 @@ export default {
},
limitCode(value) {
this.$nextTick(() => {
this.deliverdModal.courierNumber = getInputVal.getInputVal(value, 32);
this.deliverdModal.courierNumber = getInputVal.getInputVal(value, 16);
});
},
contentLimit(value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment