From 0c5b607e028bd756079cb328dd0914db2c9093f5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 十二月 2025 14:59:55 +0800
Subject: [PATCH] 1.部署修改

---
 src/views/productionManagement/operationScheduling/index.vue |   39 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/src/views/productionManagement/operationScheduling/index.vue b/src/views/productionManagement/operationScheduling/index.vue
index 983101f..129ccf9 100644
--- a/src/views/productionManagement/operationScheduling/index.vue
+++ b/src/views/productionManagement/operationScheduling/index.vue
@@ -32,6 +32,7 @@
 			<div style="text-align: right" class="mb10">
 				<el-button type="primary" @click="openForm">宸ュ簭鎺掍骇</el-button>
 				<el-button type="danger" @click="handleDelete" plain>鍙栨秷鎺掍骇</el-button>
+				<el-button @click="handleOut">瀵煎嚭</el-button>
 			</div>
 			<PIMTable
 				rowKey="id"
@@ -60,12 +61,9 @@
 	searchForm: {
 		staffName: "",
 		status: 1,
-		entryDate: [
-			dayjs().format("YYYY-MM-DD"),
-			dayjs().add(1, "day").format("YYYY-MM-DD"),
-		], // 褰曞叆鏃ユ湡
+		entryDate: [dayjs().format("YYYY-MM-DD"), dayjs().format("YYYY-MM-DD")], // 褰曞叆鏃ユ湡锛岄粯璁ゅ綋澶�
 		entryDateStart: dayjs().format("YYYY-MM-DD"),
-		entryDateEnd: dayjs().add(1, "day").format("YYYY-MM-DD"),
+		entryDateEnd: dayjs().format("YYYY-MM-DD"),
 	},
 });
 const { searchForm } = toRefs(data);
@@ -92,6 +90,16 @@
 				return 'warning';
 			}
 		},
+	},
+	{
+		label: "浜х嚎",
+		prop: "productionLineName",
+		width: 120,
+	},
+	{
+		label: "鐢熶骇浜�",
+		prop: "productionUserName",
+		width: 120,
 	},
 	{
 		label: "娲惧伐鏃ユ湡",
@@ -132,6 +140,11 @@
 		prop: "specificationModel",
 		width: 150,
 	},
+	// {
+	// 	label: "缁戝畾鏈哄櫒",
+	// 	prop: "speculativeTradingName",
+	// 	width: 220,
+	// },
 	{
 		label: "鍗曚綅",
 		prop: "unit",
@@ -250,6 +263,22 @@
 			proxy.$modal.msg("宸插彇娑�");
 		});
 };
+
+// 瀵煎嚭
+const handleOut = () => {
+	ElMessageBox.confirm("閫変腑鐨勫唴瀹瑰皢琚鍑猴紝鏄惁纭瀵煎嚭锛�", "瀵煎嚭", {
+		confirmButtonText: "纭",
+		cancelButtonText: "鍙栨秷",
+		type: "warning",
+	})
+		.then(() => {
+			proxy.download("/salesLedger/scheduling/exportTwo", {}, "宸ュ簭鎺掍骇.xlsx");
+		})
+		.catch(() => {
+			proxy.$modal.msg("宸插彇娑�");
+		});
+};
+
 onMounted(() => {
 	getList();
 });

--
Gitblit v1.9.3