Commit 51c92a59 by zujiaozhang

'id-315-处理老数据已‘,’开头问题'

parent 2155d79a
......@@ -746,7 +746,11 @@ checkedState:'',
}else{
$('.content_body_reimbursement_has,.content_body_drugCost_has').hide()
}
console.log(targetedTherapy.preTreatmentTypeVal)
// 处理老数据 以,开头的数据 不处理会报错
if(targetedTherapy.preTreatmentTypeVal.startsWith(',')){
targetedTherapy.preTreatmentTypeVal = targetedTherapy.preTreatmentTypeVal.substring(1,targetedTherapy.preTreatmentTypeVal.length)
}
var acceptingCureArr = targetedTherapy.preTreatmentTypeVal.split(',')
console.log(acceptingCureArr)
var accArr = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment