From d96af1249dbd445707fecd8817d681525bad1dd6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 28 十一月 2025 17:31:22 +0800
Subject: [PATCH] 海川开心,仓储物流展示字段修改
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 6c35c5b..9aec1a0 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')], // 鏉ョエ鏃ユ湡
},
[
{
@@ -162,8 +163,8 @@
width: 150,
},
{
- label: "瀹㈡埛鍚嶇О",
- prop: "customerName",
+ label: "椤圭洰鍚嶇О",
+ prop: "projectName",
width: 240,
},
{
@@ -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