|
@@ -93,7 +93,7 @@ export default {
|
|
this.itemId = null
|
|
this.itemId = null
|
|
if (row) { // 新增子级
|
|
if (row) { // 新增子级
|
|
const nowData = row
|
|
const nowData = row
|
|
- nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
|
|
|
|
|
|
+ nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
|
|
this.nowData = nowData
|
|
this.nowData = nowData
|
|
} else { // 最高级
|
|
} else { // 最高级
|
|
this.nowData = null
|
|
this.nowData = null
|
|
@@ -104,7 +104,7 @@ export default {
|
|
handleEdit (row) {
|
|
handleEdit (row) {
|
|
this.itemId = row && row.id ? row.id : null
|
|
this.itemId = row && row.id ? row.id : null
|
|
const nowData = row
|
|
const nowData = row
|
|
- nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
|
|
|
|
|
|
+ nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
|
|
this.nowData = nowData
|
|
this.nowData = nowData
|
|
this.openModal = true
|
|
this.openModal = true
|
|
},
|
|
},
|