chenrui  преди 2 години
родител
ревизия
6cb08cd6fc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/systemSettings/queryTemplate/queryTemplateColumn.vue

+ 1 - 1
src/views/systemSettings/queryTemplate/queryTemplateColumn.vue

@@ -363,7 +363,7 @@ const btnClick = (row, index, param) => {
       index.listqueryTemplateID === "需要" ? "1" : "0";
     tableForm.needCount = index.needCount === "需要" ? "1" : "0";
     tableForm.orderNumber = index.orderNumber === "需要" ? "1" : "0";
-    tableForm.needSearch = index.needSearch;
+    tableForm.needSearch = index.needSearch === "需要" ? "1" : "0";
   } else if (param === 3) {
     msgTitle.value = "删除查询项";
     flag.value = true;