稽查更改
parent
7d9cededbf
commit
4b31cf1196
|
@ -1052,7 +1052,7 @@ export default {
|
||||||
if (v.DataType === 'Array' || v.DataType === 'array') {
|
if (v.DataType === 'Array' || v.DataType === 'array') {
|
||||||
if (obj[v.Code] && obj[v.Code].length > 0) {
|
if (obj[v.Code] && obj[v.Code].length > 0) {
|
||||||
obj[v.Code].forEach((o) => {
|
obj[v.Code].forEach((o) => {
|
||||||
var uo = upObj ? upObj[v.Code].find(u => u[v.ChildDataLabel] == o[v.ChildDataLabel]) : null
|
var uo = upObj && upObj[v.Code] ? upObj[v.Code].find(u => u[v.ChildDataLabel] == o[v.ChildDataLabel]) : null
|
||||||
if (row.OptType === 'Add' || row.OptType === 'Init') {
|
if (row.OptType === 'Add' || row.OptType === 'Init') {
|
||||||
item = {
|
item = {
|
||||||
key: o[v.ChildDataLabel],
|
key: o[v.ChildDataLabel],
|
||||||
|
|
Loading…
Reference in New Issue