From fd4d5934e89f7dee284cb78b6d4d276b2f283d7d Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 15 四月 2026 10:53:30 +0800
Subject: [PATCH] 优化销售台账页面:新增产品信息的内联编辑功能,支持产品类别、规格型号、尺寸、数量、含税单价等字段的动态修改,提升用户交互体验
---
src/views/personnelManagement/classsSheduling/index.vue | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/views/personnelManagement/classsSheduling/index.vue b/src/views/personnelManagement/classsSheduling/index.vue
index e932f50..5c0169b 100644
--- a/src/views/personnelManagement/classsSheduling/index.vue
+++ b/src/views/personnelManagement/classsSheduling/index.vue
@@ -674,10 +674,12 @@
})
.then(res => {
proxy.$modal.msgSuccess("涓嬭浇鎴愬姛");
- downLoading.value = false;
- const blob = new Blob([res], {
- type: "application/force-download",
- });
+ const blob =
+ res instanceof Blob
+ ? res
+ : new Blob([res], {
+ type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+ });
let fileName = "";
if (query.month) {
fileName = year + "-" + query.month + " 鐝淇℃伅";
@@ -687,6 +689,8 @@
proxy.$download.saveAs(blob, fileName + ".xlsx");
})
.catch(err => {
+ })
+ .finally(() => {
downLoading.value = false;
});
};
@@ -974,7 +978,7 @@
.user-stats {
/* display: flex; */
/* flex-wrap: wrap;
- gap: 10px; */
+ gap: 10px; */
margin-bottom: 4px;
}
@@ -1224,6 +1228,7 @@
display: flex;
flex-direction: column;
align-items: center;
+ height: 65px;
}
/* 鏈堝害鍑哄嫟 */
--
Gitblit v1.9.3