From 306660c86f86cc92a725db3cc1c2f324cf6eaf96 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期五, 29 五月 2026 13:54:11 +0800
Subject: [PATCH] fix:所有采购合同号改为采购单号。销售合同号改为销售单号。

---
 src/views/procurementManagement/procurementInvoiceLedger/index.vue |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index d82e3e7..9d450e0 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
     <el-form :model="filters" :inline="true">
-      <el-form-item label="閲囪喘鍚堝悓鍙�">
+      <el-form-item label="閲囪喘鍗曞彿">
         <el-input
           v-model="filters.purchaseContractNumber"
           style="width: 240px"
@@ -83,8 +83,8 @@
         </template>
       </PIMTable>
     </div>
-    <FileListDialog 
-      ref="fileListRef" 
+    <FileListDialog
+      ref="fileListRef"
       v-model="fileListDialogVisible"
       title="闄勪欢鍒楄〃"
       :showUploadButton="true"
@@ -140,18 +140,18 @@
 } = usePaginationApi(
   productRecordPage,
   {
-    purchaseContractNumber: undefined, // 閲囪喘鍚堝悓鍙�
+    purchaseContractNumber: undefined, // 閲囪喘鍗曞彿
     supplierName: undefined, // 渚涘簲鍟�
     createdAt: [], // 鏉ョエ鏃ユ湡
   },
   [
     {
-      label: "閲囪喘鍚堝悓鍙�",
+      label: "閲囪喘鍗曞彿",
       prop: "purchaseContractNumber",
       width: 150,
     },
     {
-      label: "閿�鍞悎鍚屽彿",
+      label: "閿�鍞崟鍙�",
       prop: "salesContractNo",
       width: 150,
     },
@@ -303,7 +303,7 @@
     proxy.$modal.msgWarning("缂哄皯鐧昏ID锛屾棤娉曚繚瀛橀檮浠�");
     return;
   }
-  
+
   return new Promise((resolve) => {
     // 鍒涘缓涓�涓殣钘忕殑鏂囦欢杈撳叆鍏冪礌
     const input = document.createElement('input');
@@ -315,14 +315,14 @@
         resolve(null);
         return;
       }
-      
+
       try {
         // 浣跨敤 FormData 涓婁紶鏂囦欢
         const formData = new FormData();
         formData.append('file', file);
         formData.append('type', '4'); // type 鍙傛暟锛岀敤鎴锋湭鎸囧畾鍏蜂綋鍊硷紝鍏堜紶绌哄瓧绗︿覆
         formData.append('id', currentRowId.value); // 褰撳墠琛岀殑 id
-        
+
         const uploadRes = await request({
           url: '/file/uploadByCommon',
           method: 'post',
@@ -332,10 +332,10 @@
             Authorization: `Bearer ${getToken()}`
           }
         });
-        
+
         if (uploadRes.code === 200) {
           proxy.$modal.msgSuccess("闄勪欢涓婁紶鎴愬姛");
-          
+
           // 鍒锋柊鍒楄〃鑾峰彇鏈�鏂版暟鎹�
           await new Promise((resolveRefresh) => {
             // 璋冪敤 API 鑾峰彇鏈�鏂板垪琛ㄦ暟鎹�
@@ -348,7 +348,7 @@
                 // 鏇存柊鏁版嵁鍒楄〃
                 dataList.value = data.records;
                 pagination.total = data.total;
-                
+
                 // 浠庡閮ㄦ暟鎹幏鍙� commonFiles
                 const currentRow = dataList.value.find(row => row.id === currentRowId.value);
                 if (currentRow && fileListRef.value) {
@@ -363,7 +363,7 @@
               resolveRefresh();
             });
           });
-          
+
           resolve({
             name: uploadRes.data?.originalName || file.name,
             url: uploadRes.data?.tempPath || uploadRes.data?.url,
@@ -381,7 +381,7 @@
         document.body.removeChild(input);
       }
     };
-    
+
     document.body.appendChild(input);
     input.click();
   });
@@ -392,7 +392,7 @@
   try {
     await delCommonFile([file.id]);
     proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
-    
+
     // 鍒锋柊鍒楄〃鑾峰彇鏈�鏂版暟鎹�
     await new Promise((resolveRefresh) => {
       // 璋冪敤 API 鑾峰彇鏈�鏂板垪琛ㄦ暟鎹�
@@ -405,7 +405,7 @@
           // 鏇存柊鏁版嵁鍒楄〃
           dataList.value = data.records;
           pagination.total = data.total;
-          
+
           // 浠庡閮ㄦ暟鎹幏鍙� commonFiles
           const currentRow = dataList.value.find(row => row.id === currentRowId.value);
           if (currentRow && fileListRef.value) {
@@ -420,7 +420,7 @@
         resolveRefresh();
       });
     });
-    
+
     return true;
   } catch (error) {
     proxy.$modal.msgError("鍒犻櫎澶辫触");

--
Gitblit v1.9.3