|
|
@@ -35,7 +35,7 @@
|
|
|
|
|
|
|
|
|
import ProductSearch from './product-search.vue'
|
|
|
-import { getTreeByPid, getList } from '@/api/classifyManage';
|
|
|
+import { getTreeByPid, getList,getProduceTreeByPid } from '@/api/classifyManage';
|
|
|
export default {
|
|
|
components: {
|
|
|
ProductSearch
|
|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
try {
|
|
|
this.treeLoading = true;
|
|
|
|
|
|
- const res = await getTreeByPid(4);
|
|
|
+ const res = await getProduceTreeByPid(5);
|
|
|
this.treeLoading = false;
|
|
|
if (res?.code === '0') {
|
|
|
this.treeList = res.data;
|