From 4927693cf64bbace3fdbf6bfc44145d3cc693526 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 18 六月 2026 14:30:43 +0800
Subject: [PATCH] 采购台账的对应产品选择质检时,该质检产品手动入库按钮需要置灰,不质检的产品则可以点击手动入库

---
 src/views/procurementManagement/procurementLedger/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 9dae6d2..bf5a23a 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -232,7 +232,7 @@
             </el-button>
             <el-button link
                        type="primary"
-                       :disabled="scope.row.approvalStatus !== 3 || scope.row.stockInStatus === '瀹屽叏鍏ュ簱'"
+                       :disabled="scope.row.approvalStatus !== 3 || scope.row.stockInStatus === '瀹屽叏鍏ュ簱' || scope.row.allNeedQualityCheck"
                        @click="handleStockIn(scope.row)">鍏ュ簱
             </el-button>
             <el-button link
@@ -1415,7 +1415,7 @@
 
     try {
       proxy.$modal.loading("姝e湪鍔犺浇浜у搧淇℃伅...");
-      const res = await productList({ salesLedgerId: row.id, type: 2 });
+      const res = await productList({ salesLedgerId: row.id, type: 2, isChecked: true});
       if (res.code === 200) {
         const productDetails = (res.data || []).map(item => {
           const pendingInboundQuantity = Number(item.pendingInboundQuantity || 0);

--
Gitblit v1.9.3