From 7ab50761e7b6649fc30930cfd604d663b2ea4e00 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期三, 21 十月 2026 15:16:10 +0800
Subject: [PATCH] feat(芯导): 仓储库存管理/协同审批会议提醒/采购付款查询导出/营销回款流水导出/生产设备补字段

---
 src/views/salesManagement/receiptPaymentHistory/index.vue |   52 +++++++++++++++++++++++++++-------------------------
 1 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/src/views/salesManagement/receiptPaymentHistory/index.vue b/src/views/salesManagement/receiptPaymentHistory/index.vue
index f240041..4888926 100644
--- a/src/views/salesManagement/receiptPaymentHistory/index.vue
+++ b/src/views/salesManagement/receiptPaymentHistory/index.vue
@@ -10,10 +10,10 @@
           :prefix-icon="Search"
         />
       </el-form-item>
-      <el-form-item label="鍚堝悓鍙�">
+      <el-form-item label="瀹㈡埛鍚堝悓鍙�">
         <el-input
           v-model="searchForm.customerContractNo"
-          placeholder="杈撳叆鍚堝悓鍙�"
+          placeholder="杈撳叆瀹㈡埛鍚堝悓鍙�"
           @change="handleQuery"
           clearable
           :prefix-icon="Search"
@@ -44,6 +44,7 @@
       </el-form-item>
       <el-form-item>
         <el-button type="primary" @click="handleQuery"> 鎼滅储 </el-button>
+        <el-button @click="handleOut">瀵煎嚭</el-button>
       </el-form-item>
     </el-form>
     <div class="table_list">
@@ -56,7 +57,7 @@
         :isShowSummary="isShowSummarySon"
         :summaryMethod="summarizeMainTable1"
         :tableLoading="tableLoading"
-        :total="total"
+        :total="page.total"
         @pagination="pagination"
         @selection-change="handleSelectionChange"
       ></PIMTable>
@@ -74,28 +75,34 @@
 const { proxy } = getCurrentInstance();
 const tableColumn = ref([
   {
+    label: "閿�鍞悎鍚屽彿",
+    prop: "salesContractNo",
+    width:240
+  },
+  {
+    label: "瀹㈡埛鍚堝悓鍙�",
+    prop: "customerContractNo",
+    width:240
+  },
+  {
     label: "鍥炴鏃ユ湡",
     prop: "receiptPaymentDate",
+    width:100
   },
   {
     label: "瀹㈡埛鍚嶇О",
     prop: "customerName",
+    width:240
   },
   {
     label: "椤圭洰鍚嶇О",
     prop: "projectName",
-  },
-  {
-    label: "鍚堝悓鍙�",
-    prop: "customerContractNo",
-  },
-  {
-    label: "椤圭洰鍚嶇О",
-    prop: "projectName",
+    width:200
   },
   {
     label: "鍥炴閲戦锛堝厓锛�",
     prop: "receiptPaymentAmount",
+    width:200,
     formatData: (params) => {
       return params ? parseFloat(params).toFixed(2) : 0;
     },
@@ -103,19 +110,6 @@
   {
     label: "鍥炴鏂瑰紡",
     prop: "receiptPaymentType",
-    dataType: "tag",
-    formatData: (params) => {
-      if (params == 0) {
-        return "鐢垫眹";
-      } else if (params == 1) {
-        return "鎵垮厬";
-      } else {
-        return null;
-      }
-    },
-    formatType: (params) => {
-      return "info";
-    },
   },
   {
     label: "鐧昏浜�",
@@ -124,6 +118,7 @@
   {
     label: "鐧昏鏃ユ湡",
     prop: "createTime",
+    width:100
   },
 ]);
 const tableData = ref([]);
@@ -132,6 +127,7 @@
 const page = reactive({
   current: 1,
   size: 100,
+	total: 0,
 });
 const total = ref(0);
 
@@ -161,13 +157,19 @@
   page.size = obj.limit;
   getList();
 };
+// 瀵煎嚭鍥炴娴佹按锛堟寜褰撳墠鏌ヨ鏉′欢锛�
+const handleOut = () => {
+  const { receiptPaymentDate, ...rest } = searchForm;
+  proxy.download("/receiptPayment/exportOne", { ...rest }, "鍥炴娴佹按.xlsx");
+};
+
 const getList = () => {
   tableLoading.value = true;
   const { receiptPaymentDate, ...rest } = searchForm;
   receiptPaymentHistoryListPage({ ...rest, ...page }).then((res) => {
     tableLoading.value = false;
     tableData.value = res.records;
-    total.value = res.total;
+		page.total = res.total;
   });
 };
 // 瀛愯〃鍚堣鏂规硶

--
Gitblit v1.9.3