Commit a7be9857 by 张立顺

线上权益报价bug修复

1 parent f0d72d8e
...@@ -114,6 +114,7 @@ Component({ ...@@ -114,6 +114,7 @@ Component({
// }, // },
onChangeInsurance(e) { onChangeInsurance(e) {
console.log(e) console.log(e)
// vdQuotationGoodsList
let { detail } = e let { detail } = e
let { id } = e.currentTarget.dataset let { id } = e.currentTarget.dataset
console.log(detail, 'detail') console.log(detail, 'detail')
......
...@@ -198,7 +198,10 @@ Page({ ...@@ -198,7 +198,10 @@ Page({
insurance.forEach(item => { insurance.forEach(item => {
delete orderInfo[item] delete orderInfo[item]
}) })
if (!orderInfo.vdQuotationGoodsList) {
//修复为null或则空时,后台报错
orderInfo.vdQuotationGoodsList = []
}
// delete orderInfo.quotedPriceUpdate // delete orderInfo.quotedPriceUpdate
return orderInfo return orderInfo
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!