Commit 20223106 by zhouzy

更改了领用的激活日期错误,更改了领用套餐宽度和新建界面的参数传递方式

1 parent 9788bf7f
...@@ -704,6 +704,7 @@ export default { ...@@ -704,6 +704,7 @@ export default {
{ {
label: '权益套餐', label: '权益套餐',
prop: 'memberName', prop: 'memberName',
minWidth: '200',
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.memberCardDefine.memberName return cellValue.memberCardDefine.memberName
} }
...@@ -796,7 +797,7 @@ export default { ...@@ -796,7 +797,7 @@ export default {
prop: 'validitDate', prop: 'validitDate',
formatter: (cellValue) => { formatter: (cellValue) => {
var date = cellValue.validitDate.split(' ')[0].split('-') var date = cellValue.validitDate.split(' ')[0].split('-')
return `${date[0]}年${date[1]}月${date[1]}日` return `${date[0]}年${date[1]}月${date[2]}日`
} }
}, },
......
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
exchangeStandard: false, exchangeStandard: false,
rescueCheckbox: false, rescueCheckbox: false,
creditCheckbox: false, creditCheckbox: false,
rescueWorryFree: null, // rescueWorryFree: null,
creditInstallment: null, creditInstallment: null,
meiTuan: null, meiTuan: null,
meituanCheckbox: false meituanCheckbox: false
...@@ -278,12 +278,14 @@ export default { ...@@ -278,12 +278,14 @@ export default {
this.jumpScroll('validity') this.jumpScroll('validity')
var equityItemJson = { var equityItemJson = {
returnDicoins: this.ruleForm.currencyInpution, returnDicoins: +this.ruleForm.currencyInpution,
oilRecommendRadius: +this.ruleForm.oilInpution, oilworry: {
oilRemindInterval: +this.ruleForm.timeInpution, oilRecommendRadius: +this.ruleForm.oilInpution,
oilRemindInterval: +this.ruleForm.timeInpution,
},
collisionPush: this.ruleForm.pushCollision, collisionPush: this.ruleForm.pushCollision,
dicoinRebateRatio: this.ruleForm.rebateRatio, dicoinRebateRatio: +this.ruleForm.rebateRatio,
rescueWorryFree: this.ruleForm.rescueWorryFree, // rescueWorryFree: this.ruleForm.rescueWorryFree,
creditInstallment: this.ruleForm.creditInstallment, creditInstallment: this.ruleForm.creditInstallment,
meiTuan: this.ruleForm.meiTuan meiTuan: this.ruleForm.meiTuan
} }
...@@ -298,49 +300,49 @@ export default { ...@@ -298,49 +300,49 @@ export default {
if (this.ruleForm.currencyCheckbox) { if (this.ruleForm.currencyCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 20, rightsId: 20,
equityItemJson: JSON.stringify(equityItem) equityItemJson: JSON.stringify({ returnDicoins: equityItem.returnDicoins })
}) })
submit = true submit = true
} }
if (this.ruleForm.oilCheckbox) { if (this.ruleForm.oilCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 21, rightsId: 21,
equityItemJson: JSON.stringify(equityItem) equityItemJson: JSON.stringify(equityItem.oilworry)
}) })
submit = true submit = true
} }
if (this.ruleForm.worryFreeCheckbox) { if (this.ruleForm.worryFreeCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 22, rightsId: 22,
equityItemJson: JSON.stringify(equityItem) // equityItemJson: JSON.stringify(equityItem)
}) })
submit = true submit = true
} }
if (this.ruleForm.specialOfferCheckbox) { if (this.ruleForm.specialOfferCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 23, rightsId: 23,
equityItemJson: JSON.stringify(equityItem) equityItemJson: JSON.stringify({dicoinRebateRatio: equityItem.dicoinRebateRatio})
}) })
submit = true submit = true
} }
if (this.ruleForm.rescueCheckbox) { if (this.ruleForm.rescueCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 24, rightsId: 24,
equityItemJson: JSON.stringify(equityItem) // equityItemJson: JSON.stringify(equityItem)
}) })
submit = true submit = true
} }
if (this.ruleForm.creditCheckbox) { if (this.ruleForm.creditCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 25, rightsId: 25,
equityItemJson: JSON.stringify(equityItem) // equityItemJson: JSON.stringify(equityItem)
}) })
submit = true submit = true
} }
if (this.ruleForm.meituanCheckbox) { if (this.ruleForm.meituanCheckbox) {
params.rightsList.push({ params.rightsList.push({
rightsId: 26, rightsId: 26,
equityItemJson: JSON.stringify(equityItem) // equityItemJson: JSON.stringify(equityItem)
}) })
submit = true submit = true
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!