From edcdd5f3849e851888d495946685e0887cb2addf Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 04 十二月 2024 17:35:52 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/funingyunwei
---
admin/src/views/project/components/OperaYwRoomWindow.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/project/components/OperaYwRoomWindow.vue b/admin/src/views/project/components/OperaYwRoomWindow.vue
index cdfdf2d..dc0c159 100644
--- a/admin/src/views/project/components/OperaYwRoomWindow.vue
+++ b/admin/src/views/project/components/OperaYwRoomWindow.vue
@@ -23,7 +23,7 @@
<el-input v-model="form.code" placeholder="璇疯緭鍏ユ埧闂寸紪鍙�" v-trim />
</el-form-item>
<el-form-item label="鏄惁鎷涘晢" prop="isInvestment">
- <el-switch v-model="form.isInvestment" active-value="1" inactive-value="0">
+ <el-switch v-model="form.isInvestment" :active-value="1" :inactive-value="0">
</el-switch>
</el-form-item>
<el-form-item label="寤虹瓚闈㈢Н(m虏)" prop="area">
@@ -67,7 +67,7 @@
imgurl: '',
code: '',
roomNum: '',
- isInvestment: '0',
+ isInvestment: 0,
area: '',
feeArea: '',
rentArea: '',
@@ -115,6 +115,16 @@
this.getDetail(target.id)
})
},
+ confirm () {
+ if(!this.form.feeArea){
+ this.form.feeArea = this.form.rentArea
+ }
+ if (this.form.id == null || this.form.id === '') {
+ this.__confirmCreate()
+ return
+ }
+ this.__confirmEdit()
+ },
getDetail(id) {
detailById(id).then(res => {
this.form = res || {}
--
Gitblit v1.9.3