From 1ab015896fcf64ba99c5271837169a342109adae Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 28 十一月 2025 11:07:53 +0800
Subject: [PATCH] 海川开心-查询条件添加默认日期

---
 src/views/productionManagement/productionReporting/index.vue |   34 +++++++++++++++++++++++++++-------
 1 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index 3ceae74..bbe8f77 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"
@@ -147,13 +148,12 @@
 
 const data = reactive({
 	searchForm: {
-		staffName: "",
-		entryDate: [
-			dayjs().format("YYYY-MM-DD"),
-			dayjs().add(1, "day").format("YYYY-MM-DD"),
-		], // 褰曞叆鏃ユ湡
+		customerName: "",
+		projectName: "",
+		status: "",
+		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);
@@ -229,12 +229,27 @@
 		width: 150,
 	},
 	{
+		label: "缁戝畾鏈哄櫒",
+		prop: "speculativeTradingName",
+		width: 220,
+	},
+	{
 		label: "鍗曚綅",
 		prop: "unit",
 	},
 	{
 		label: "宸ュ簭",
 		prop: "process",
+	},
+	// {
+	// 	label: "鍙e懗鍒嗙被",
+	// 	prop: "type",
+	// 	width: 150,
+	// },
+	{
+		label: "鎹熻��",
+		prop: "loss",
+		width: 150,
 	},
 	{
 		label: "鎺掍骇鏁伴噺",
@@ -250,6 +265,11 @@
 		label: "寰呯敓浜ф暟閲�",
 		prop: "pendingFinishNum",
 		width: 100,
+	},
+	{
+		label: "澶囨敞",
+		prop: "remark",
+		width: 200,
 	},
 ]);
 const tableData = ref([]);
@@ -416,7 +436,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