From 105be897f4e9555c2d3166a13278bbad78e2ef35 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期六, 08 二月 2025 17:49:48 +0800 Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1 --- admin/src/views/contract/components/terminateLease.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/admin/src/views/contract/components/terminateLease.vue b/admin/src/views/contract/components/terminateLease.vue index ac7f8f2..5520b8a 100644 --- a/admin/src/views/contract/components/terminateLease.vue +++ b/admin/src/views/contract/components/terminateLease.vue @@ -27,6 +27,7 @@ <el-date-picker v-model="form.btDate" type="date" + :picker-options="pickerOptions" @change="changeBtDate" value-format="yyyy-MM-dd" placeholder="璇烽�夋嫨"> @@ -56,12 +57,12 @@ <el-table-column prop="projectName" label="椤圭洰鍚嶇О" show-overflow-tooltip /> <el-table-column label="鎴挎簮鍚嶇О" show-overflow-tooltip> <template slot-scope="{row}"> - {{row.buildingName}}/{{row.code}} + {{row.buildingName}}/{{row.roomNum}} </template> </el-table-column> <el-table-column label="绉熻祦闈㈢Н(銕�)" show-overflow-tooltip> <template slot-scope="{row}"> - {{row.area}}銕� + {{row.rentArea}}銕� </template> </el-table-column> </el-table> @@ -250,7 +251,7 @@ }, list: [], - + pickerOptions: {}, agentList: [], receivable: '', @@ -263,6 +264,14 @@ open (title, info) { this.title = title this.info = info + this.pickerOptions = { + disabledDate(time) { + // 濡傛灉娌℃湁鍚庨潰鐨� -8.64e7 灏辨槸涓嶅彲浠ラ�夋嫨浠婂ぉ鐨� + const beginDate = new Date(info.startDate).getTime() - 8.64e7 + const endDate = new Date(info.endDate).getTime() + return beginDate > time.getTime() || endDate < time.getTime() + } + } this.form.id = info.id this.form.btSignDate = this.getDay() this.form.btUserId = this.userInfo.id -- Gitblit v1.9.3