From 2d490943e72a4668413b5fe1e091bfaa15398f4e Mon Sep 17 00:00:00 2001
From: CD配唱片 <CD配唱片>
Date: 星期四, 08 五月 2025 14:17:46 +0800
Subject: [PATCH] 提交钣金异常料号报表静态页及联调,工艺路线下拉加载表格加入节流优化避免下拉加载1s之内多次调用接口问题

---
 src/views/mainPlan/sheetMetalSupplyGap/index.vue |   19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/src/views/mainPlan/sheetMetalSupplyGap/index.vue b/src/views/mainPlan/sheetMetalSupplyGap/index.vue
index af444f9..58092c8 100644
--- a/src/views/mainPlan/sheetMetalSupplyGap/index.vue
+++ b/src/views/mainPlan/sheetMetalSupplyGap/index.vue
@@ -87,7 +87,6 @@
 import {
   supplyGapList
 } from "@/api/basicData/sheetMetalConfig/sheetMetalConfig";
-import axios from "axios";
 import { listAll_plant } from "@/api/basicData/plant";
 import { useI18n } from "vue-i18n"; //瑕佸湪js涓娇鐢ㄥ浗闄呭寲
 const { t, locale } = useI18n();
@@ -102,9 +101,6 @@
 const total = ref(0);
 const title = ref("");
 const data = reactive({
-  form: {
-    type: "1",
-  },
   queryParams: {
     pageNum: 1,
     pageSize: 10,
@@ -112,12 +108,8 @@
     requireId: null
   },
 });
-const { queryParams, form, rules } = toRefs(data);
-const typeRadioNumber = ref(1);
+const { queryParams } = toRefs(data);
 const plantList = ref([]);
-const shopList = ref([]);
-const allShopList = ref([]);
-const processList = ref([]);
 const height = ref(document.documentElement.clientHeight - 220 + "px;");
 // 琛ㄦ牸閰嶇疆-鍒楄〃
 const columns = ref([]);
@@ -238,7 +230,7 @@
     bomLineCode: null,
     requireId: null
   };
-  proxy.resetForm("calendarRef");
+  proxy.resetForm("queryRef");
 }
 
 /** 鎼滅储鎸夐挳鎿嶄綔 */
@@ -252,13 +244,6 @@
 function resetQuery() {
   proxy.resetForm("queryRef");
   handleQuery();
-}
-
-// 澶氶�夋閫変腑鏁版嵁
-function handleSelectionChange(selection) {
-  ids.value = selection.map((item) => item.id);
-  single.value = selection.length != 1;
-  multiple.value = !selection.length;
 }
 /** 瀵煎嚭鎸夐挳鎿嶄綔 */
 function handleExport() {

--
Gitblit v1.9.3