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/procurementLedger/index.vue |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 8c409a7..504ac5b 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -87,7 +87,7 @@
                                prop="availableQuality" />
               <el-table-column label="閫�璐ф暟閲�"
                                prop="returnQuality" />
-                               
+
               <el-table-column label="绋庣巼(%)"
                                prop="taxRate" />
               <el-table-column label="鍚◣鍗曚环(鍏�)"
@@ -123,7 +123,7 @@
                          width="100"
                          show-overflow-tooltip>
           <template #default="scope">
-            <el-tag 
+            <el-tag
               :type="getApprovalStatusType(scope.row.approvalStatus)"
               size="small">
               {{ approvalStatusText[scope.row.approvalStatus] || '鏈煡鐘舵��' }}
@@ -334,7 +334,7 @@
                          :value="item.templateName">
                 <div style="display: flex; justify-content: space-between; align-items: center;">
                   <span>{{ item.templateName }}</span>
-                  <el-icon 
+                  <el-icon
                     v-if="item.id"
                     class="delete-icon"
                     @click.stop="handleDeleteTemplate(item)"
@@ -651,8 +651,8 @@
         </el-row>
       </el-form>
     </FormDialog>
-    <FileListDialog 
-      ref="fileListRef" 
+    <FileListDialog
+      ref="fileListRef"
       v-model="fileListDialogVisible"
       title="闄勪欢鍒楄〃"
     />
@@ -1087,7 +1087,7 @@
         .filter(node => node.userId)
         .map(node => node.userId)
         .join(",");
-      
+
       let params = {
         productData: proxy.HaveJson(productData.value),
         supplierId: form.value.supplierId,
@@ -1236,7 +1236,7 @@
         return;
       }
     }
-    
+
     await getTemplateList();
     operationType.value = type;
     form.value = {};
@@ -1268,15 +1268,15 @@
       form.value.entryDate = getCurrentDate();
 
       if (type === "add") {
-        // 鏂板鏃剁敓鎴愰噰璐悎鍚屽彿
+        // 鏂板鏃剁敓鎴愰噰璐崟鍙�
         try {
           const purchaseNoRes = await createPurchaseNo();
           if (purchaseNoRes?.data) {
             form.value.purchaseContractNumber = purchaseNoRes.data;
           }
         } catch (error) {
-          console.error("鐢熸垚閲囪喘鍚堝悓鍙峰け璐�:", error);
-          proxy.$modal.msgWarning("鐢熸垚閲囪喘鍚堝悓鍙峰け璐�");
+          console.error("鐢熸垚閲囪喘鍗曞彿澶辫触:", error);
+          proxy.$modal.msgWarning("鐢熸垚閲囪喘鍗曞彿澶辫触");
         }
       } else if (type === "edit" && row?.id) {
         // 缂栬緫鏃跺姞杞芥暟鎹�
@@ -1370,7 +1370,7 @@
           return;
         }
         const approveUserIds = approverNodes.value.map(node => node.userId).join(",");
-        
+
         if (productData.value.length > 0) {
           // 鏂板鏃讹紝闇�瑕佷粠姣忎釜浜у搧瀵硅薄涓垹闄� id 瀛楁
           let processedProductData = productData.value;
@@ -1427,17 +1427,17 @@
     productForm.value = {};
     proxy.resetForm("productFormRef");
     productFormVisible.value = true;
-    
+
     // 鍏堣幏鍙栦骇鍝侀�夐」锛岀‘淇濇暟鎹姞杞藉畬鎴�
     await getProductOptions();
-    
+
     // 绛夊緟 DOM 鏇存柊
     await nextTick();
-    
+
     if (type === "edit") {
       // 澶嶅埗琛屾暟鎹�
       productForm.value = { ...row };
-      
+
       // 濡傛灉鏄粠妯℃澘鍔犺浇鐨勬暟鎹紝鍙兘娌℃湁 productId 鍜� productModelId
       // 闇�瑕佹牴鎹� productCategory 鍜� specificationModel 鏉ユ煡鎵惧搴旂殑 ID
       if (!productForm.value.productId && productForm.value.productCategory) {
@@ -1454,17 +1454,17 @@
           }
           return null;
         };
-        
+
         const productId = findProductIdByCategory(productOptions.value, productForm.value.productCategory);
         if (productId) {
           productForm.value.productId = productId;
           // 鑾峰彇鍨嬪彿鍒楄〃骞剁瓑寰呭畬鎴�
           const modelRes = await modelList({ id: productId });
           modelOptions.value = modelRes;
-          
+
           // 绛夊緟 DOM 鏇存柊
           await nextTick();
-          
+
           // 鏍规嵁 specificationModel 鏌ユ壘 productModelId
           if (productForm.value.specificationModel && modelOptions.value.length > 0) {
             const modelItem = modelOptions.value.find(
@@ -1480,15 +1480,15 @@
       } else if (productForm.value.productId) {
         // 濡傛灉鏈� productId锛屾甯稿姞杞藉瀷鍙峰垪琛�
         await getModels(productForm.value.productId);
-        
+
         // 绛夊緟 DOM 鏇存柊
         await nextTick();
-        
+
         if (productForm.value.productModelId) {
           getProductModel(productForm.value.productModelId);
         }
       }
-      
+
       // 鏈�鍚庡啀绛夊緟涓�娆� DOM 鏇存柊锛岀‘淇濇墍鏈夋暟鎹兘宸茶缃�
       await nextTick();
     }
@@ -1828,7 +1828,7 @@
       proxy.$modal.msgWarning("鏃犳硶鍒犻櫎璇ユā鏉�");
       return;
     }
-    
+
     try {
       await ElMessageBox.confirm(
         `纭畾瑕佸垹闄ゆā鏉�"${item.templateName}"鍚楋紵`,
@@ -1839,7 +1839,7 @@
           type: "warning",
         }
       );
-      
+
       const res = await delPurchaseTemplate([item.id]);
       if (res && res.code === 200) {
         ElMessage({
@@ -1892,7 +1892,7 @@
     display: flex;
     align-items: center;
   }
-  
+
   // 瀹℃壒浜鸿妭鐐瑰鍣ㄦ牱寮�
   .approver-nodes-container {
     display: flex;
@@ -1903,7 +1903,7 @@
     border-radius: 4px;
     border: 1px solid #e4e7ed;
   }
-  
+
   .approver-node-item {
     flex: 0 0 calc(33.333% - 12px);
     min-width: 200px;
@@ -1912,38 +1912,38 @@
     border-radius: 4px;
     border: 1px solid #dcdfe6;
     transition: all 0.3s;
-    
+
     &:hover {
       border-color: #409eff;
       box-shadow: 0 2px 8px rgba(64, 158, 255, 0.1);
     }
   }
-  
+
   .approver-node-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 8px;
   }
-  
+
   .approver-node-label {
     font-size: 13px;
     font-weight: 500;
     color: #606266;
   }
-  
+
   @media (max-width: 1200px) {
     .approver-node-item {
       flex: 0 0 calc(50% - 8px);
     }
   }
-  
+
   @media (max-width: 768px) {
     .approver-node-item {
       flex: 0 0 100%;
     }
   }
-  
+
   // 鍒犻櫎鍥炬爣鏍峰紡
   .delete-icon {
     transition: all 0.3s;

--
Gitblit v1.9.3