浏览代码

修改bug

695593266@qq.com 7 月之前
父节点
当前提交
6884409770

+ 2 - 2
src/views/technology/route/components/chooseCategory.vue

@@ -152,7 +152,7 @@
         if (type == 1) {
         if (type == 1) {
           this.title = '工艺路线绑定产品分类';
           this.title = '工艺路线绑定产品分类';
         } else if (type == 2) {
         } else if (type == 2) {
-          this.title = '工艺路线绑定品';
+          this.title = '工艺路线绑定品';
         }
         }
         this.type = type;
         this.type = type;
         this.categoryVisible = true;
         this.categoryVisible = true;
@@ -286,7 +286,7 @@
         const messageTitle =
         const messageTitle =
           this.type == 1
           this.type == 1
             ? '此操将删除该分类所绑定的工艺路线, 是否继续?'
             ? '此操将删除该分类所绑定的工艺路线, 是否继续?'
-            : '此操将删除该品所绑定的工艺路线, 是否继续?';
+            : '此操将删除该品所绑定的工艺路线, 是否继续?';
 
 
         this.$confirm(messageTitle, '提示', {
         this.$confirm(messageTitle, '提示', {
           confirmButtonText: '确定',
           confirmButtonText: '确定',

+ 3 - 2
src/views/technology/route/components/chooseGoods.vue

@@ -64,7 +64,7 @@
   import IndexSearch from './index-search.vue';
   import IndexSearch from './index-search.vue';
 
 
   import dictMixins from '@/mixins/dictMixins';
   import dictMixins from '@/mixins/dictMixins';
-  import { getTreeByGroup } from '@/api/classifyManage';
+  import { getTreeByGroup, getTreeByPid } from '@/api/classifyManage';
   import { parameterGetByCode } from '@/api/system/dictionary/index.js';
   import { parameterGetByCode } from '@/api/system/dictionary/index.js';
 
 
   import { getInfoById } from '@/api/classifyManage';
   import { getInfoById } from '@/api/classifyManage';
@@ -143,6 +143,7 @@
     methods: {
     methods: {
       open() {
       open() {
         this.visible = true;
         this.visible = true;
+        console.log(this.$route.query.categoryLevelId, '88888');
         this.getTreeData();
         this.getTreeData();
         //是否显示code
         //是否显示code
         parameterGetByCode({
         parameterGetByCode({
@@ -162,7 +163,7 @@
         try {
         try {
           this.treeLoading = true;
           this.treeLoading = true;
 
 
-          const res = await getTreeByGroup({ type: 5 });
+          const res = await getTreeByPid(9);
           this.treeLoading = false;
           this.treeLoading = false;
           if (res?.code === '0') {
           if (res?.code === '0') {
             this.treeList = res.data;
             this.treeList = res.data;

+ 1 - 1
src/views/technology/route/index.vue

@@ -127,7 +127,7 @@
             @click="bingdingCategory(row, 2)"
             @click="bingdingCategory(row, 2)"
             v-if="isCategory"
             v-if="isCategory"
           >
           >
-            绑定
+            绑定
           </el-link>
           </el-link>
 
 
           <el-popconfirm
           <el-popconfirm