From 52c492586cc33a909e8192ef6d83ac609ce8126c Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期五, 01 十二月 2023 18:20:31 +0800
Subject: [PATCH] 修改库存调整,选择产品会修改列表所有产品的bug,新建出库单添加表单校验

---
 src/views/operate/inventoryAdjustment/index.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/operate/inventoryAdjustment/index.vue b/src/views/operate/inventoryAdjustment/index.vue
index 26528c4..04e6dd7 100644
--- a/src/views/operate/inventoryAdjustment/index.vue
+++ b/src/views/operate/inventoryAdjustment/index.vue
@@ -136,6 +136,7 @@
           this.pagerOptions.totalCount = res.total
         }
       })
+      
     },
     // 鎿嶄綔杈撳叆
     inputContent(val, prop, row) {
@@ -316,7 +317,9 @@
     },
     // 閫変腑浜у搧鏂规硶
     selProductClick(value, item) {
-      this.productId = item.productId
+      if (value === "product") {
+        this.productId = item.productId
+      }
     },
     // 鑾峰彇褰撳墠鏃堕棿
     currentTime() {

--
Gitblit v1.8.0