From 19f0e68b3fe3cf5244a2b936bfef4e0712bdf025 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期六, 20 六月 2026 11:02:12 +0800
Subject: [PATCH] tooltip错位修改

---
 src/views/salesManagement/salesLedger/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index d40b1bf..be61035 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -722,7 +722,7 @@
               </el-select>
             </el-form-item>
           </el-col>
-<!--          <el-col :span="12">
+          <el-col :span="12">
             <el-form-item label="鏄惁鐢熶骇锛�"
                           prop="isProduction">
               <el-radio-group v-model="productForm.isProduction">
@@ -732,7 +732,7 @@
                           :value="false" />
               </el-radio-group>
             </el-form-item>
-          </el-col>-->
+          </el-col>
         </el-row>
       </el-form>
     </FormDialog>
@@ -1017,6 +1017,7 @@
       <template #footer>
         <div class="dialog-footer">
           <el-button type="primary"
+                     :loading="deliveryLoading"
                      @click="submitDelivery">纭鍙戣揣
           </el-button>
           <el-button @click="closeDeliveryDia">鍙栨秷</el-button>
@@ -1182,6 +1183,7 @@
 
   // 鍙戣揣鐩稿叧
   const deliveryFormVisible = ref(false);
+  const deliveryLoading = ref(false);
   const currentDeliveryRow = ref(null);
   const getDeliveryBatchQuantity = item => {
     const quantity =
@@ -1738,7 +1740,7 @@
         taxInclusiveTotalPrice: taxInclusiveTotalPrice,
         taxExclusiveTotalPrice: taxExclusiveTotalPrice,
         invoiceType: "澧炴櫘绁�",
-        isProduction: true,
+        isProduction: false,
         productId: p.productId,
         productModelId: p.productModelId,
       };
@@ -1794,7 +1796,7 @@
     productOperationType.value = type;
     productForm.value = {};
     if (type === "add") {
-      productForm.value.isProduction = true;
+      productForm.value.isProduction = false;
     }
     proxy.resetForm("productFormRef");
     if (type === "edit") {
@@ -2760,6 +2762,7 @@
         const productModelId =
           currentDeliveryRow.value.productModelId ||
           currentDeliveryRow.value.modelId;
+        deliveryLoading.value = true;
         addShippingInfo({
           salesLedgerId: salesLedgerId,
           salesLedgerProductId: currentDeliveryRow.value.id,
@@ -2810,6 +2813,8 @@
               });
             }
           });
+        }).finally(() => {
+            deliveryLoading.value = false;
         });
       }
     });

--
Gitblit v1.9.3