Commit 15b004b0 by zhangquan

修改bug

1 parent ba0bb9ae
...@@ -1716,7 +1716,9 @@ export default { ...@@ -1716,7 +1716,9 @@ export default {
} }
this.dataSourceDisable = res.dataSource == 'car' this.dataSourceDisable = res.dataSource == 'car'
if (res?.vehicle?.invoicePrice && this.editForm.orderStatus != 2) { if (res?.vehicle?.invoicePrice && this.editForm.orderStatus != 2) {
productArrData = this.packageToPrice(res.vehicle.invoicePrice, true) // 调用详情后先过滤一边定制权益商品
let autoList = this.packageToPrice(res.vehicle.invoicePrice, true) || []
productArrData = autoList.concat(this.productList)
} }
this.editForm.packageCode && this.packageAttr(true, productArrData, res) this.editForm.packageCode && this.packageAttr(true, productArrData, res)
const spaItem = this.baseData.agreeList.find(item => item.id == this.editForm.specialAppointId) const spaItem = this.baseData.agreeList.find(item => item.id == this.editForm.specialAppointId)
...@@ -1787,9 +1789,9 @@ export default { ...@@ -1787,9 +1789,9 @@ export default {
this.changeRaido(false, item, true) this.changeRaido(false, item, true)
} }
} }
if (formDetail) return _list
}) })
this.customProductList = _list this.customProductList = _list
if (formDetail) return _list
} }
// var targetItem = this.packageList.find(item => item.packageCode == this.editForm.packageCode) // var targetItem = this.packageList.find(item => item.packageCode == this.editForm.packageCode)
// this.editForm.suggestedSellingPrice = '' // this.editForm.suggestedSellingPrice = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!