Commit dd1a0f50 by 杨北旺

修复bug

1 parent 3a5ce221
......@@ -1135,8 +1135,7 @@ export default {
// 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) : ''
// }
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.effectiveDate = this.editForm.effectiveDate ? new Date(this.editForm.effectiveDate) : ''
if ([2, 3, 4].includes(this.routeInfo.addOrEdit)) {
......@@ -1160,6 +1159,10 @@ export default {
this.editForm.effectiveDate = new Date(new Date().setDate(new Date().getDate() + 1))
}
this.editForm.packageCode && this.packageAttr(true, productArrData, res)
const spaItem = this.baseData.agreeList.find(item => item.id == this.editForm.specialAppointId)
if(spaItem){
this.editForm.specialAppoint = spaItem.spaContent
}
})
},
getPackageList() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!