From 0cfe504df6440d80f05e1ee555ee18be6b7e8321 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期五, 06 六月 2025 09:11:04 +0800
Subject: [PATCH] 打包基础信息修改

---
 src/views/salesManagement/receiptPaymentHistory/index.vue |   34 ++++++++++++++++++++++++----------
 1 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/src/views/salesManagement/receiptPaymentHistory/index.vue b/src/views/salesManagement/receiptPaymentHistory/index.vue
index 52e29d1..0fd8eef 100644
--- a/src/views/salesManagement/receiptPaymentHistory/index.vue
+++ b/src/views/salesManagement/receiptPaymentHistory/index.vue
@@ -2,8 +2,8 @@
   <div class="app-container">
     <div class="search_form">
       <div>
-        <span class="search_title">渚涘簲鍟嗗悕绉帮細</span>
-        <el-input v-model="searchForm.searchText" style="width: 240px" placeholder="杈撳叆渚涘簲鍟嗗悕绉版悳绱�"
+        <span class="search_title">瀹㈡埛鍚嶇О锛�</span>
+        <el-input v-model="searchForm.searchText" style="width: 240px" placeholder="杈撳叆瀹㈡埛鍚嶇О鎼滅储"
                   @change="handleQuery" clearable :prefix-icon="Search" />
         <el-button type="primary" @click="handleQuery" style="margin-left: 10px">鎼滅储</el-button>
       </div>
@@ -20,25 +20,38 @@
 import { ref } from 'vue'
 import { Search } from "@element-plus/icons-vue";
 import {
-  paymentHistoryList
-} from "@/api/procurementManagement/paymentEntry.js";
+  receiptPaymentHistoryList
+} from "@/api/salesManagement/receiptPayment.js";
 const { proxy } = getCurrentInstance()
 const tableColumn = ref([
   {
     label: '鍥炴鏃ユ湡',
-    prop: 'paymentDate',
+    prop: 'receiptPaymentDate',
   },
   {
     label: '瀹㈡埛鍚嶇О',
-    prop: 'supplierName',
+    prop: 'customerName',
   },
   {
     label: '鍥炴閲戦',
-    prop: 'currentPaymentAmount',
+    prop: 'receiptPaymentAmount',
   },
   {
     label: '鍥炴鏂瑰紡',
-    prop: 'paymentMethod'
+    prop: 'receiptPaymentType',
+    dataType: 'tag',
+    formatData: (params) => {
+      if (params == 0) {
+        return '鐢垫眹';
+      } else if (params == 1) {
+        return '鎵垮厬';
+      } else {
+        return null
+      }
+    },
+    formatType: (params) => {
+      return "info"
+    }
   },
   {
     label: '鐧昏浜�',
@@ -46,7 +59,7 @@
   },
   {
     label: '鐧昏鏃ユ湡',
-    prop: 'registrationtDate'
+    prop: 'createTime'
   }
 ])
 const tableData = ref([])
@@ -63,6 +76,7 @@
   },
 })
 const { searchForm } = toRefs(data)
+const { receipt_payment_type } = proxy.useDict("receipt_payment_type")
 
 // 鏌ヨ鍒楄〃
 /** 鎼滅储鎸夐挳鎿嶄綔 */
@@ -77,7 +91,7 @@
 }
 const getList = () => {
   tableLoading.value = true
-  paymentHistoryList({ ...searchForm.value, ...page }).then(res => {
+  receiptPaymentHistoryList({ ...searchForm.value, ...page }).then(res => {
     tableLoading.value = false
     tableData.value = res.rows
     total.value = res.total

--
Gitblit v1.9.3