|
@@ -327,7 +327,7 @@
|
|
|
import EDescItem from '../common/e-desc-item'
|
|
|
import { dealStepData, dealStepLogs } from '@/api/util'
|
|
|
import { getOrderDetail } from '@/api/sale'
|
|
|
- import { getChildren } from '@/api/product'
|
|
|
+ import { getChildren2 } from '@/api/product'
|
|
|
import uploadComponent from '../common/upload-component'
|
|
|
import ApproveComponent from '../common/approve-component'
|
|
|
import PreviewComponent from '@/views/modules/common/preview-component'
|
|
@@ -448,7 +448,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
loadingData (row, treeNode, resolve) {
|
|
|
- getChildren(row.productId).then(({data}) => {
|
|
|
+ getChildren2(row.productId, row.id).then(({data}) => {
|
|
|
+ // console.log(JSON.stringify(data))
|
|
|
if (data && data.code === '200') {
|
|
|
data.data.forEach(item => {
|
|
|
if (item.attachList2 && item.attachList2.length > 0) {
|