695593266@qq.com 1 жил өмнө
parent
commit
187b76e24f

+ 6 - 6
src/views/inspectionPlan/components/edit.vue

@@ -40,7 +40,7 @@
             :columns="tableColumns"
             :columns="tableColumns"
             :datasource="datasource"
             :datasource="datasource"
             :needPage="
             :needPage="
-              btnType == 'add' || (btnType == 'edit' && (!isScheme || !isOrder))
+              btnType == 'add' || (btnType == 'edit' && !isScheme && !isOrder)
                 ? false
                 ? false
                 : true
                 : true
             "
             "
@@ -1121,11 +1121,11 @@
           }
           }
           console.log('数据55555');
           console.log('数据55555');
           console.log(list);
           console.log(list);
-          if (list[0].categoryCode) {
-            this.$refs.table12.setData(list);
-            let packList = this.$refs.table12.getData();
-            this.getFullInspectionWeight(packList);
-          }
+          // if (list[0].categoryCode) {
+          this.$refs.table12.setData(list);
+          let packList = this.$refs.table12.getData();
+          this.getFullInspectionWeight(packList);
+          // }
           // this.$refs.table12.setData(list);
           // this.$refs.table12.setData(list);
           // let packList = this.$refs.table12.getData();
           // let packList = this.$refs.table12.getData();
           // this.getFullInspectionWeight(packList);
           // this.getFullInspectionWeight(packList);