Commit 7bb8b861 by cwq0219

bug修复

1 parent a448f71d
...@@ -525,9 +525,9 @@ export default { ...@@ -525,9 +525,9 @@ export default {
this.editForm.suggestedSellingPrice = '' this.editForm.suggestedSellingPrice = ''
if (this.editForm.vehicle.invoicePrice) { if (this.editForm.vehicle.invoicePrice) {
var invoicePrice = (this.editForm.vehicle.invoicePrice * 100).toFixed(2) var invoicePrice = (this.editForm.vehicle.invoicePrice * 100).toFixed(2)
console.log(targetItem) // console.log(targetItem)
targetItem && targetItem.servicePackagePrices.forEach(item => { targetItem && targetItem.servicePackagePrices.forEach(item => {
if (invoicePrice >= item.carButtomPrice && invoicePrice < item.carHighestPrice) { if (+invoicePrice >= +item.carButtomPrice && +invoicePrice < +item.carHighestPrice) {
this.editForm.suggestedSellingPrice = (item.retailPrice / 100).toFixed(2) this.editForm.suggestedSellingPrice = (item.retailPrice / 100).toFixed(2)
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!