Commit 7c84554c authored by 张伯涛's avatar 张伯涛

判空

parent 8a0a1e1e
......@@ -1663,12 +1663,14 @@ export default {
}
projectBYID(queryID).then(res => {
const formList = res.data
for (let i = 0, l = formList.ZAWARDMAI.split(',').length; i < l; i++) {
const ZBP = formList.ZAWARDMAI.split(',')[i]
const ZBPNAME_ZH = formList.ZAWARDMAINAME.split(',')[i]
const list = { ZBP, ZBPNAME_ZH }
console.log('获取详情', list)
this.ZBZTList.push(list)
if (formList.ZAWARDMAI) {
for (let i = 0, l = formList.ZAWARDMAI.split(',').length; i < l; i++) {
const ZBP = formList.ZAWARDMAI.split(',')[i]
const ZBPNAME_ZH = formList.ZAWARDMAINAME.split(',')[i]
const list = { ZBP, ZBPNAME_ZH }
console.log('获取详情', list)
this.ZBZTList.push(list)
}
}
if (formList.ZCY2NDORG) {
formList.ZCY2NDORG = formList.ZCY2NDORG.split(',')
......
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