Commit 1ecc234b by 张权

去掉10%加装价格

1 parent 9576a41a
......@@ -750,16 +750,16 @@ export default {
})
}
}
if (item.attributeList[0].attributeName === 'additional_price') {
this.editRulePro[item.attributeList[0].attributeName] = [
{
validator: (rule, value, callback) => {
return +this.editForm.vehicle.invoicePrice*0.1 < + value ? callback(new Error('输入价格有误')) : callback()
},
trigger: 'change'
}
]
}
// if (item.attributeList[0].attributeName === 'additional_price') {
// this.editRulePro[item.attributeList[0].attributeName] = [
// {
// validator: (rule, value, callback) => {
// return +this.editForm.vehicle.invoicePrice*0.1 < + value ? callback(new Error('输入价格有误')) : callback()
// },
// trigger: 'change'
// }
// ]
// }
})
// const targetObj = this.editFormDataPro[0].optionList.find(item => {
// return item.packageCode === this.editForm.packageCode
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!