|
@@ -104,15 +104,10 @@ export default {
|
|
|
allData: [], // 所有数据
|
|
|
openModal: false, // 新增编辑调拨类型 弹框
|
|
|
itemSn: '', // 当前sn
|
|
|
- nowData: null, // 当前记录数据
|
|
|
- expandedRowKeys: [],
|
|
|
- erpPriceTypeList: []
|
|
|
+ nowData: null // 当前记录数据
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- loadedOk (data) {
|
|
|
- this.erpPriceTypeList = data
|
|
|
- },
|
|
|
// 新增/编辑
|
|
|
handleEdit (row) {
|
|
|
console.log(row)
|
|
@@ -163,7 +158,6 @@ export default {
|
|
|
treeList.forEach(item => {
|
|
|
if (item.sonList && item.sonList.length > 0) {
|
|
|
this.findChild(item.sonList)
|
|
|
- this.expandedRowKeys.push(item.allocateTypeSn)
|
|
|
} else {
|
|
|
item.root = 1
|
|
|
}
|