Ver código fonte

不良名称

yusheng 6 meses atrás
pai
commit
2c1ed605b0

+ 1 - 2
src/views/inspectionWork/components/newQualityContentTabs.vue

@@ -1239,11 +1239,10 @@
         this.badTypeList = res.list;
       },
       // 查询不良名称
-      async getBadNameList(badTypeId = 0) {
+      async getBadNameList() {
         const res = await getBadNameList({
           pageNum: 1,
           size: 999,
-          badTypeId: badTypeId
         });
         this.badNameList = res.list;
       },

+ 1 - 2
src/views/unqualifiedProduct/unqualifiedList/components/create.vue

@@ -699,11 +699,10 @@
         this.badTypeList = res.list;
       },
       // 查询不良名称
-      async getBadNameList( badTypeId = 0) {
+      async getBadNameList() {
         const res = await getBadNameList({
           pageNum: 1,
           size: 999,
-          badTypeId: badTypeId
         });
         console.log('this.badNameList', this.badNameList);
         this.badNameList = res.list;