chenrui  2 年之前
父節點
當前提交
d2ed2667d4
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/systemSettings/queryTemplate/queryTemplateColumn.vue

+ 3 - 2
src/views/systemSettings/queryTemplate/queryTemplateColumn.vue

@@ -364,8 +364,9 @@ const btnClick = (row, index, param) => {
     tableForm.needShow = index.needShow === "需要" ? "1" : "0";
     tableForm.needGroup = index.needGroup === "需要" ? "1" : "0";
     tableForm.dataType = index.dataType;
-    tableForm.listqueryTemplateID =
-      index.listqueryTemplateID === "需要" ? "1" : "0";
+    tableForm.listqueryTemplateID = index.listqueryTemplateID
+      ? index.listqueryTemplateID
+      : null;
     tableForm.needCount = index.needCount === "需要" ? "1" : "0";
     tableForm.orderNumber = index.orderNumber === "需要" ? "1" : "0";
     tableForm.needSearch = index.needSearch === "需要" ? "1" : "0";