Commit 6199318c by 杨北旺

修复线上bug

1 parent e4ebe274
...@@ -992,12 +992,12 @@ export default { ...@@ -992,12 +992,12 @@ export default {
concactArr.forEach(item => { concactArr.forEach(item => {
this.formatProduct = Object.assign(this.formatProduct, item) this.formatProduct = Object.assign(this.formatProduct, item)
}) })
console.log(this.formatProduct, '自选权益') // console.log(this.formatProduct, '自选权益')
} else { } else {
concactArr.forEach(item => { concactArr.forEach(item => {
this.autoFormatProduct = Object.assign(this.autoFormatProduct, item) this.autoFormatProduct = Object.assign(this.autoFormatProduct, item)
}) })
console.log(this.autoFormatProduct, '定制权益') // console.log(this.autoFormatProduct, '定制权益')
} }
}, },
// 处理传参价格问题 // 处理传参价格问题
...@@ -1135,6 +1135,8 @@ export default { ...@@ -1135,6 +1135,8 @@ export default {
// var idxPrice = this.editForm.attributeList.findIndex(i => i.attributeName == 'additional_price') // var idxPrice = this.editForm.attributeList.findIndex(i => i.attributeName == 'additional_price')
// this.editForm.attributeList[idxPrice].attributeValue = this.editForm.attributeList[idxPrice].attributeValue ? (this.editForm.attributeList[idxPrice].attributeValue / 100).toFixed(2) : '' // this.editForm.attributeList[idxPrice].attributeValue = this.editForm.attributeList[idxPrice].attributeValue ? (this.editForm.attributeList[idxPrice].attributeValue / 100).toFixed(2) : ''
// } // }
const spaItem = this.baseData.agreeList.find(item => item.id == this.editForm.specialAppointId)
this.editForm.specialAppoint = spaItem.spaContent
this.editForm.vehicle.billingDate = this.editForm.vehicle.billingDate ? new Date(this.editForm.vehicle.billingDate) : '' this.editForm.vehicle.billingDate = this.editForm.vehicle.billingDate ? new Date(this.editForm.vehicle.billingDate) : ''
this.editForm.effectiveDate = this.editForm.effectiveDate ? new Date(this.editForm.effectiveDate) : '' this.editForm.effectiveDate = this.editForm.effectiveDate ? new Date(this.editForm.effectiveDate) : ''
if ([2, 3, 4].includes(this.routeInfo.addOrEdit)) { if ([2, 3, 4].includes(this.routeInfo.addOrEdit)) {
......
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
mounted() { mounted() {
this.getHotline() this.getHotline()
this.getActiveCode() // this.getActiveCode()
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.footerLeft = document.querySelector('.base-container-right').offsetLeft
this.footerWidth = document.documentElement.clientWidth - this.footerLeft this.footerWidth = document.documentElement.clientWidth - this.footerLeft
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!