Преглед на файлове

关联清表按钮修改

duy преди 2 години
родител
ревизия
2292eccaac
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/views/manager/projectinfo/tree.vue

+ 4 - 4
src/views/manager/projectinfo/tree.vue

@@ -390,7 +390,7 @@
                     <el-link
                       class="mg-l-10"
                       type="primary"
-                      :disabled="scope.row.excelId == -1"
+                      :disabled="scope.row.excelId == -1||scope.row.excelId == null"
                       @click="
                         rightClick(
                           scope.row.pkeyId,
@@ -405,7 +405,7 @@
                     <el-link
                       class="mg-l-10"
                       type="primary"
-                      :disabled="scope.row.excelId == -1"
+                      :disabled="scope.row.excelId == -1||scope.row.excelId == null"
                       @click="adjustExcel(scope.row.pkeyId, scope.row.excelId)"
                       >调整表单</el-link
                     >
@@ -504,7 +504,7 @@
                     <el-link
                       class="mg-l-10"
                       type="primary"
-                      :disabled="scope.row.excelId == -1"
+                      :disabled="scope.row.excelId == -1||scope.row.excelId == null"
                       @click="
                         rightClick(
                           scope.row.pkeyId,
@@ -519,7 +519,7 @@
                     <el-link
                       class="mg-l-10"
                       type="primary"
-                      :disabled="scope.row.excelId == -1"
+                      :disabled="scope.row.excelId == -1||scope.row.excelId == null"
                       @click="adjustExcel(scope.row.pkeyId, scope.row.excelId)"
                       >调整表单</el-link
                     >