From 38080d8ef637391709d45ac5dba1b382c59a7faa Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 18 十月 2023 11:05:18 +0800
Subject: [PATCH] 业务类型保留方式的枚举值修改 ,添加接口修改

---
 src/views/warehouseManage/bussinessType/index.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/warehouseManage/bussinessType/index.vue b/src/views/warehouseManage/bussinessType/index.vue
index 0d1f4d2..11fe1c6 100644
--- a/src/views/warehouseManage/bussinessType/index.vue
+++ b/src/views/warehouseManage/bussinessType/index.vue
@@ -124,7 +124,15 @@
     // 琛岀偣鍑�
     tableRowClick(row) {
       this.editConfig.title = "缂栬緫"
-      this.editConfig.infomation = { ...row }
+      let obj=JSON.parse(JSON.stringify(row))
+      for(let i in obj){
+        if(i=='name'||i=='prefix'){
+          obj[i]=obj[i]?obj[i]:''
+        }else{
+          obj[i]=obj[i]?obj[i]:null
+        }
+      }
+      this.editConfig.infomation = { ...obj }
       this.editConfig.visible = true
     },
     // 鏂板缓
@@ -134,7 +142,7 @@
          name:'',
          prefix:'',
          // 浣滀笟绫诲瀷
-         baseOperationType:null,
+        baseOperationType:null,
         // 閫�璐х被鍨�
         returnOperationTypeID:null,
         // 鍒涘缓娆犲崟
@@ -142,7 +150,7 @@
         // 浠撳簱
         warehouseId:null,
         // 鏄剧ず浣滀笟璇︽儏
-        showOperations:null,
+        showOperations:false,
         earlyOperations:null,
         // 淇濈暀鏂瑰紡
         reservationMethod:null,

--
Gitblit v1.8.0