|
@@ -452,9 +452,10 @@ export default {
|
|
|
this.tradeList = res.data.records
|
|
|
return
|
|
|
}
|
|
|
- this.tradeParentList = res.data.records
|
|
|
+ this.tradeParentList = res.data
|
|
|
if (this.detailId) {
|
|
|
const item = this.tradeParentList.find(k => k.id === this.formData.tradeParentId)
|
|
|
+ console.log(item, 999)
|
|
|
if (item.childList && item.childList.length) {
|
|
|
this.tradeList = item.childList
|
|
|
}
|