chenrui  2 жил өмнө
parent
commit
6cb08cd6fc

+ 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;