From 6669c680f79663fc220935d61c3f3f6eee078e7c Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期日, 21 七月 2024 16:56:03 +0800
Subject: [PATCH] 修改了报错

---
 ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
index 360cd77..510ebd1 100644
--- a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
+++ b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue
@@ -83,7 +83,7 @@
             </el-cow>
             <el-cow >
               <el-form-item label="澶囨敞" prop="remark" label-width="45px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
-                <el-input v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+                <el-input v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" :disabled="dsb" type="textarea"></el-input>
               </el-form-item>
             </el-cow>
           </el-row>
@@ -346,10 +346,15 @@
         value: '鍙樻洿',
         label: '鍙樻洿',
       },
-        {
-          value: '娉ㄩ攢',
-          label: '娉ㄩ攢',
-        }],
+      {
+        value: '娉ㄩ攢',
+        label: '娉ㄩ攢',
+      },
+      {
+        value: '璐拱',
+        label: '璐拱',
+      },
+      ],
     }
   },
   computed: {},
@@ -581,7 +586,10 @@
       	  updateSelfEconomy(this.formData).then(response => {
       		this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
       		// this.open = false;
-
+          if(this.formData.status==1)
+            this.formData.status = '鏄�'
+          else
+            this.formData.status = '鍚�'
       	  });
         }
     },
@@ -626,6 +634,10 @@
 						  		this.formData.status = 0
       	  updateSelfEconomy(this.formData).then(response => {
       		this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+          if(this.formData.status==1)
+            this.formData.status = '鏄�'
+          else
+            this.formData.status = '鍚�'
       	  });
         }
     },

--
Gitblit v1.9.1