From 344551aecaab6762c7dc7b4b4f85bbff18898ab9 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期六, 28 六月 2025 10:55:40 +0800
Subject: [PATCH] feat: 6/28内容调整

---
 src/views/procurementManagement/procurementLedger/index.vue |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 1086c81..be2cac7 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -94,6 +94,11 @@
           show-overflow-tooltip
         />
         <el-table-column
+          label="浠樻鏂瑰紡"
+          prop="paymentMethod"
+          show-overflow-tooltip
+        />
+        <el-table-column
           label="鍚堝悓閲戦(鍏�)"
           prop="contractAmount"
           show-overflow-tooltip
@@ -231,6 +236,17 @@
                 format="YYYY-MM-DD"
                 type="date"
                 placeholder="璇烽�夋嫨"
+                clearable
+              />
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row :gutter="30">
+          <el-col :span="12">
+            <el-form-item label="浠樻鏂瑰紡">
+              <el-input
+                v-model="form.paymentMethod"
+                placeholder="璇疯緭鍏�"
                 clearable
               />
             </el-form-item>
@@ -553,6 +569,7 @@
     productData: [],
     supplierName: "",
     supplierId: "",
+    paymentMethod: "",
   },
   rules: {
     purchaseContractNumber: [
@@ -646,11 +663,11 @@
   purchaseListPage({ ...searchForm.value, ...page })
     .then((res) => {
       tableLoading.value = false;
-      tableData.value = res.records;
+      tableData.value = res.data.records;
       tableData.value.map((item) => {
         item.children = [];
       });
-      total.value = res.total;
+      total.value = res.data.total;
       expandedRowKeys.value = [];
     })
     .catch(() => {
@@ -673,7 +690,7 @@
       productList({ salesLedgerId: row.id, type: 2 }).then((res) => {
         const index = tableData.value.findIndex((item) => item.id === row.id);
         if (index > -1) {
-          tableData.value[index].children = res;
+          tableData.value[index].children = res.data;
         }
         expandedRowKeys.value.push(row.id);
       });

--
Gitblit v1.9.3