Commit fe9fd311 by 杨明

fixed

1 parent 434399dd
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
//用车权益 //用车权益
getCarList() { getCarList() {
var params = { var params = {
...this.searchForm, isChecked: 1,
merchantId: this.merchantId merchantId: this.merchantId
} }
this.loading = true this.loading = true
......
...@@ -169,6 +169,7 @@ export default { ...@@ -169,6 +169,7 @@ export default {
if (info.activityPrice) { if (info.activityPrice) {
this.editForm.activityPrice = info.activityPrice / 100 this.editForm.activityPrice = info.activityPrice / 100
} }
this.giftValue = info.giftId || ''
setTimeout(() => { setTimeout(() => {
if (this.routerInfo.addOrEdit == 'edit') { if (this.routerInfo.addOrEdit == 'edit') {
this.handleSaveGift() this.handleSaveGift()
...@@ -267,7 +268,7 @@ export default { ...@@ -267,7 +268,7 @@ export default {
params.equityServices = equityServices.join(',') params.equityServices = equityServices.join(',')
params.activityPrice = (this.editForm.activityPrice * 100).toFixed(0) params.activityPrice = (this.editForm.activityPrice * 100).toFixed(0)
params.superMarketingCouponRelRequestList = selectedGoodsList || [] params.superMarketingCouponRelRequestList = selectedGoodsList || []
console.log(params) params.giftId = this.giftValue
this.SET_STEP(3) this.SET_STEP(3)
this.setProcess({ this.setProcess({
1: { 1: {
...@@ -431,7 +432,7 @@ export default { ...@@ -431,7 +432,7 @@ export default {
equities = JSON.parse(res.equities) equities = JSON.parse(res.equities)
} }
var params = { var params = {
...this.searchForm, isChecked: 1,
merchantId: this.merchantId merchantId: this.merchantId
} }
this.loading = true this.loading = true
...@@ -439,7 +440,7 @@ export default { ...@@ -439,7 +440,7 @@ export default {
.equityMerchant(params) .equityMerchant(params)
.then(res => { .then(res => {
this.loading = false this.loading = false
const packageConfigs = res.packageConfigs || [] const packageConfigs = (res.packageConfigs || []).filter(item => item.isChecked == 1)
if (this.isInit) { if (this.isInit) {
this.selectedCarList = [] this.selectedCarList = []
} }
......
...@@ -203,20 +203,25 @@ export default { ...@@ -203,20 +203,25 @@ export default {
align-items: center; align-items: center;
position: relative; position: relative;
z-index: 1; z-index: 1;
&:last-child {
.scene-item-box {
width: calc(100% - 80px);
}
}
&-box { &-box {
z-index: 1; z-index: 1;
cursor: pointer; cursor: pointer;
width: calc(100% - 30px); width: calc(100% - 30px);
height: 0; height: 0;
padding-bottom: 50%; padding-bottom: 80%;
padding-bottom: 50%;
background-image: url('../../../assets/marketing/scence-bg.png'); background-image: url('../../../assets/marketing/scence-bg.png');
background-size: 100% 100%; background-size: 100% 100%;
padding-left: 8%; padding-left: 12%;
padding-right: 8%; padding-right: 12%;
font-size: 1vw;
.scene-item-icon { .scene-item-icon {
text-align: center; text-align: center;
margin-top: 0.5vw; margin-top: 2vw;
img { img {
width: 1.7vw; width: 1.7vw;
vertical-align: middle; vertical-align: middle;
......
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
this.$apis.giftBag this.$apis.giftBag
.equityMerchant(params) .equityMerchant(params)
.then(res => { .then(res => {
this.EquityList = res.packageConfigs this.EquityList = (res.packageConfigs || []).filter(item => item.isChecked == 1)
this.$refs.equityRef.tableHeightValues = '52vh' this.$refs.equityRef.tableHeightValues = '52vh'
this.recoverySelected() this.recoverySelected()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!