Commit 729ee7e0 by zhangquan

修改bug

1 parent c06f9535
...@@ -1672,7 +1672,9 @@ export default { ...@@ -1672,7 +1672,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)
...@@ -1831,6 +1833,13 @@ export default { ...@@ -1831,6 +1833,13 @@ export default {
return c return c
}) })
} }
this.customProductList?.forEach(c => {
c.groupAttributeList?.forEach(ele => {
if (ele.attributeName == 'effective_date') {
ele.disabled = false
}
})
})
} else { } else {
this.equityRadio = 1 this.equityRadio = 1
this.curSelectPro.push(targetItem.packageCode) this.curSelectPro.push(targetItem.packageCode)
...@@ -1891,6 +1900,13 @@ export default { ...@@ -1891,6 +1900,13 @@ export default {
return c return c
}) })
} }
this.productList?.forEach(c => {
c.groupAttributeList?.forEach(ele => {
if (ele.attributeName == 'effective_date') {
ele.disabled = false
}
})
})
} }
if (targetItem.printType == 2) { if (targetItem.printType == 2) {
this.showUploadInfo = true this.showUploadInfo = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!