From 14f694d913698b5e04b09f6e6df789cbd1102937 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 十一月 2025 14:17:42 +0800
Subject: [PATCH] 生产管控-添加导出功能

---
 src/views/productionManagement/productionReporting/index.vue |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index 42036f8..42a0c4f 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -31,6 +31,7 @@
 		<div class="table_list">
 			<div style="text-align: right" class="mb10">
 				<el-button type="primary" @click="openForm('add')">鐢熶骇鎶ュ伐</el-button>
+				<el-button @click="handleOut">瀵煎嚭</el-button>
 			</div>
 			<PIMTable
 				rowKey="id"
@@ -59,7 +60,7 @@
 							type="index"
 							width="60"
 						/>
-						<el-table-column label="鏈鐢熶骇鏁伴噺" prop="finishedNum" align="center">
+						<el-table-column label="鏈鐢熶骇鏁伴噺" prop="finishedNum" align="center" width="400">
 							<template #default="scope">
 								<el-input-number :step="0.01" :min="0" style="width: 100%"
 																 v-model="scope.row.finishedNum"
@@ -72,7 +73,7 @@
 							</template>
 						</el-table-column>
 <!--						<el-table-column label="寰呯敓浜ф暟閲�" prop="pendingNum" width="240" align="center"></el-table-column>-->
-						<el-table-column label="鐢熶骇浜�" prop="schedulingUserId" width="240">
+						<el-table-column label="鐢熶骇浜�" prop="schedulingUserId" width="400">
 							<template #default="scope">
 								<el-select
 									v-model="scope.row.schedulingUserId"
@@ -89,7 +90,7 @@
 								</el-select>
 							</template>
 						</el-table-column>
-						<el-table-column label="鐢熶骇鏃ユ湡" prop="schedulingDate" width="240">
+						<el-table-column label="鐢熶骇鏃ユ湡" prop="schedulingDate" width="400">
 							<template #default="scope">
 								<el-date-picker
 									v-model="scope.row.schedulingDate"
@@ -148,12 +149,9 @@
 const data = reactive({
 	searchForm: {
 		staffName: "",
-		entryDate: [
-			dayjs().format("YYYY-MM-DD"),
-			dayjs().add(1, "day").format("YYYY-MM-DD"),
-		], // 褰曞叆鏃ユ湡
-		entryDateStart: dayjs().format("YYYY-MM-DD"),
-		entryDateEnd: dayjs().add(1, "day").format("YYYY-MM-DD"),
+		entryDate: null, // 褰曞叆鏃ユ湡
+		entryDateStart: undefined,
+		entryDateEnd: undefined,
 	},
 });
 const { searchForm } = toRefs(data);
@@ -416,7 +414,7 @@
 		type: "warning",
 	})
 		.then(() => {
-			proxy.download("/staff/staffJoinLeaveRecord/export", {staffState: 1}, "浜哄憳鍏ヨ亴.xlsx");
+			proxy.download("/salesLedger/work/export", {}, "鐢熶骇鎶ュ伐.xlsx");
 		})
 		.catch(() => {
 			proxy.$modal.msg("宸插彇娑�");

--
Gitblit v1.9.3