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 | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/views/mainPlan/plateProcessStat/index.vue b/src/views/mainPlan/plateProcessStat/index.vue
index 39326ea..f8e8ce9 100644
--- a/src/views/mainPlan/plateProcessStat/index.vue
+++ b/src/views/mainPlan/plateProcessStat/index.vue
@@ -95,13 +95,13 @@
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);
const total = ref(0);
const title = ref("");
-const height = ref(document.documentElement.clientHeight - 270 + "px;")
+const height = ref(document.documentElement.clientHeight - 220 + "px;")
const data = reactive({
@@ -140,50 +140,50 @@
{
title: '宸ュ簭鍚嶇О',
field: 'processName',
- width: 250,
},
{
title: '宸ュ簭鍙�',
field: 'routeProcessNumberTxt',
- width: 150,
+ width: 100,
},
{
title: '褰撳墠宸ュ簭鍙�',
field: 'currentProcessNumberTxt',
- width: 150,
+ width: 100,
},
{
title: '鐢熶骇鏁伴噺',
field: 'productionQuantity',
- width: 100,
+ width: 80,
},
{
title: '鏍囧噯宸ユ椂',
field: 'standardTime',
- width: 100,
+ width: 80,
},
{
title: '宸ュ簭鎬诲伐鏃�',
field: 'processTotalTime',
- width: 100,
+ width: 80,
},
{
title: '璁″垝寮�宸ユ棩',
field: 'processPlanStartDaytxt',
- width: 200,
+ width: 140,
type:'html'
},
{
title: '璁″垝瀹屽伐鏃�',
field: 'processPlanEndDaytxt',
- width: 200,
+ width: 140,
type:'html'
},
{
title: '璁㈠崟瀹屽伐鏃�',
field: 'orderPlanEndDay',
- width: 200,
+ width: 120,
+ format: 'YYYY-MM-DD'
}
]);
@@ -203,7 +203,6 @@
});
aps_plate_process_statList.value =listValue
- debugger;
total.value = response.total;
loading.value = false;
});
@@ -267,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