From 9e9adeb2711ce710c677f4653f12bc335c098737 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 18 十月 2023 20:30:40 +0800
Subject: [PATCH] 修改 上架规则 编辑状态和 不编辑状态的冲突

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

diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue
index a9ed679..78e234e 100644
--- a/src/views/warehouseManage/listingRules/index.vue
+++ b/src/views/warehouseManage/listingRules/index.vue
@@ -122,8 +122,8 @@
           const list = res.data.map((item) => {
             return {
               ...item,
-              areaName: item.area.jointName,
-              subLocation: item.location.jointName,
+              areaName: {label:item.area.jointName,value:item.area.id},
+              subLocation: {label:item.location.jointName,value:item.location.id},
               productName: item.product.name,
               productCategory: item.productCategory.name,
               isSet: false,

--
Gitblit v1.8.0