Commit fe9fd311 by 杨明

fixed

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