|
@@ -277,6 +277,7 @@ export default {
|
|
}
|
|
}
|
|
this.newData()
|
|
this.newData()
|
|
this.type = 2
|
|
this.type = 2
|
|
|
|
+
|
|
this.diaLogForm = {
|
|
this.diaLogForm = {
|
|
id,
|
|
id,
|
|
name: row.name,
|
|
name: row.name,
|
|
@@ -285,7 +286,7 @@ export default {
|
|
stockCordon: row.stockCordon,
|
|
stockCordon: row.stockCordon,
|
|
type: row.type + '',
|
|
type: row.type + '',
|
|
stockIds: row.stockIds === undefined ? arr : row.stockIds,
|
|
stockIds: row.stockIds === undefined ? arr : row.stockIds,
|
|
- categoryIds: row.kingDeeCategories.map(k=>k.id)
|
|
|
|
|
|
+ categoryIds: row.kingDeeCategories !== null ? row.kingDeeCategories.map(k => k.id) : []
|
|
}
|
|
}
|
|
this.showDialogForm = true
|
|
this.showDialogForm = true
|
|
})
|
|
})
|