695593266@qq.com 1 год назад
Родитель
Сommit
187b76e24f
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      src/views/inspectionPlan/components/edit.vue

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

@@ -40,7 +40,7 @@
             :columns="tableColumns"
             :datasource="datasource"
             :needPage="
-              btnType == 'add' || (btnType == 'edit' && (!isScheme || !isOrder))
+              btnType == 'add' || (btnType == 'edit' && !isScheme && !isOrder)
                 ? false
                 : true
             "
@@ -1121,11 +1121,11 @@
           }
           console.log('数据55555');
           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);
           // let packList = this.$refs.table12.getData();
           // this.getFullInspectionWeight(packList);