From 17f743d0efbae8a606d3bfaf9d4912d6f9ac7f1d Mon Sep 17 00:00:00 2001
From: CD配唱片 <CD配唱片>
Date: 星期日, 27 四月 2025 15:10:33 +0800
Subject: [PATCH] 提交计划大表,详细计划更新loading
---
src/views/mainPlan/plateProcessStat/index.vue | 4 +++-
src/views/mainPlan/platePlanList/index.vue | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/mainPlan/platePlanList/index.vue b/src/views/mainPlan/platePlanList/index.vue
index e00cd68..77e6b39 100644
--- a/src/views/mainPlan/platePlanList/index.vue
+++ b/src/views/mainPlan/platePlanList/index.vue
@@ -122,7 +122,7 @@
const dynamicList = ref([]);
const generateColumnList = ref([]);
const open = ref(false);
-const loading = ref(true);
+const loading = ref(false);
const showSearch = ref(true);
const single = ref(true);
const multiple = ref(true);
@@ -400,12 +400,14 @@
/** 淇敼鎸夐挳鎿嶄綔 */
function handleUpdate(row) {
+ loading.value = true;
listApsPlateProcessShopStatUpdate().then((response) => {
// form.value = response.data;
ElMessage({
message: "鏁版嵁鏇存柊鎴愬姛",
type: "success",
});
+ loading.value = false;
getList();
});
}
diff --git a/src/views/mainPlan/plateProcessStat/index.vue b/src/views/mainPlan/plateProcessStat/index.vue
index 1c9d002..f8e8ce9 100644
--- a/src/views/mainPlan/plateProcessStat/index.vue
+++ b/src/views/mainPlan/plateProcessStat/index.vue
@@ -95,7 +95,7 @@
const aps_plate_process_statList = ref([]);
const open = ref(false);
-const loading = ref(true);
+const loading = ref(false);
const showSearch = ref(true);
const single = ref(true);
const multiple = ref(true);
@@ -266,8 +266,10 @@
/** 淇敼鎸夐挳鎿嶄綔 */
function handleUpdate(row) {
reset();
+ loading.value = true;
updateStat().then(response => {
form.value = response.data;
+ loading.value = false;
ElMessage({
message: '鏁版嵁鏇存柊鎴愬姛',
type: 'success',
--
Gitblit v1.9.3