From 2fc58fbb10745abd97168b8da21d4142e11d7f2e Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期四, 18 十二月 2025 13:36:43 +0800
Subject: [PATCH] 新增设备维修保养过程描述,上传对应附件

---
 src/views/procurementManagement/procurementInvoiceLedger/index.vue |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 6c35c5b..868447d 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -81,8 +81,7 @@
           <el-button
             type="primary"
             text
-            @click="openEdit(row.id)"
-						:disabled="row.issUerId !== userStore.id"
+            @click="openEdit(row)"
           >
             缂栬緫
           </el-button>
@@ -123,6 +122,7 @@
 import EditModal from "./Modal/EditModal.vue";
 import useUserStore from "@/store/modules/user.js";
 import {delInvoiceLedgerByRegProductId} from "@/api/salesManagement/invoiceLedger.js";
+import dayjs from "dayjs";
 const userStore = useUserStore();
 
 defineOptions({
@@ -148,7 +148,8 @@
   {
     purchaseContractNumber: undefined, // 閲囪喘鍚堝悓鍙�
     supplierName: undefined, // 渚涘簲鍟�
-    createdAt: [], // 鏉ョエ鏃ユ湡
+    // 璁剧疆鏉ョエ鏃ユ湡鑼冨洿涓哄綋澶�
+    createdAt: [dayjs().startOf('day').format('YYYY-MM-DD'), dayjs().endOf('day').format('YYYY-MM-DD')], // 鏉ョエ鏃ユ湡
   },
   [
     {
@@ -161,11 +162,11 @@
       prop: "salesContractNo",
       width: 150,
     },
-    {
-      label: "瀹㈡埛鍚嶇О",
-      prop: "customerName",
-      width: 240,
-    },
+    // {
+    //   label: "椤圭洰鍚嶇О",
+    //   prop: "projectName",
+    //   width: 240,
+    // },
     {
       label: "渚涘簲鍟嗗悕绉�",
       prop: "supplierName",
@@ -289,8 +290,9 @@
   });
 };
 
-const changePage = ({ page }) => {
+const changePage = ({ page, limit }) => {
   pagination.currentPage = page;
+	pagination.pageSize = limit;
   onCurrentChange(page);
 };
 
@@ -310,8 +312,8 @@
   modalRef.value.handleImport(id);
 };
 
-const openEdit = (id) => {
-  editmodalRef.value.open(id);
+const openEdit = (row) => {
+  editmodalRef.value.open(row);
 };
 
 // 涓婁紶鎴愬姛鍚庡仛浠�涔�

--
Gitblit v1.9.3