Commit 0c9a6d16 by 张杰

修复bug

1 parent c34895b6
......@@ -441,15 +441,15 @@ export default {
}
// 查找省份
let p = list.find((k) => k.name == row.province);
let p = list.find((k) => k.name == row.province) ;
// 查找市
let c = (p.childs || []).find((k) => k.name == row.city);
let c = p?(p.childs || []).find((k) => k.name == row.city):{};
// 查找区
let a = (c.childs || []).find((k) => k.name == row.district);
let a = c?(c.childs || []).find((k) => k.name == row.district):{};
return [p.id, c.id, a.id];
return [p?p.id:'', c?c.id:'', a?a.id:''];
},
// 编辑工单信息
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!