From f9c20ea2b5316cb85a171ddce53320697e4ffba0 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 22 四月 2024 11:10:50 +0800
Subject: [PATCH]  库存调整模块 增加搜索的功能

---
 src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue b/src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue
index be999ab..d1bbaa0 100644
--- a/src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue
+++ b/src/views/operate/inventoryAdjustment/inventoryAdjustmentHistory.vue
@@ -142,10 +142,10 @@
             let product = item.details[0].product
             return {
               ...item,
-              from: item.fromLocation.name,
-              to: item.toLocation.name,
+              from: item.details[0].fromLocation.jointName?item.details[0].fromLocation.jointName:"",
+              to: item.details[0].toLocation.jointName?item.details[0].toLocation.jointName:"",
               productName: product.name,
-              amount: product.amount,
+              amount: item.details[0].amount,
               unit: product.unit
             }
           })

--
Gitblit v1.8.0