From d1f08bfc65d459b893fb6d5134927e0c078d32e5 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期五, 24 一月 2025 13:50:59 +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 | 30 +++++++++++++++++++++++------- 1 files changed, 23 insertions(+), 7 deletions(-) diff --git a/admin/src/views/contract/components/terminateLease.vue b/admin/src/views/contract/components/terminateLease.vue index b4e60cb..0f0fd5d 100644 --- a/admin/src/views/contract/components/terminateLease.vue +++ b/admin/src/views/contract/components/terminateLease.vue @@ -68,7 +68,7 @@ </div> </div> <div class="title"> - <span>閫�绉熶俊鎭�</span> + <span>璐﹀崟缁撶畻</span> <div style="display: flex; align-items: center;"> <el-button type="primary" @click="addZD">娣诲姞鏀舵</el-button> <el-button type="primary" @click="addFK">娣诲姞浠樻</el-button> @@ -86,12 +86,19 @@ <el-table-column width="100" label="璐圭敤绫诲瀷"> - <template slot-scope="{row}"> - <span v-if="row.costType === 0">绉熻祦璐�</span> - <span v-if="row.costType === 1">鐗╀笟璐�</span> - <span v-if="row.costType === 4">姘寸數璐�</span> - <span v-if="row.costType === 5">鏉傞」璐�</span> - <span v-if="row.costType === 6">鍏朵粬</span> + <template slot-scope="scope"> + <div style="display: flex; align-items: center;"> + <span v-if="scope.row.costType === 0">绉熻祦璐�</span> + <span v-if="scope.row.costType === 1">鐗╀笟璐�</span> + <span v-if="scope.row.costType === 4">姘寸數璐�</span> + <span v-if="scope.row.costType === 5">鏉傞」璐�</span> + <span v-if="scope.row.costType === 6">鍏朵粬</span> + <i class="el-icon-delete" + style="color: red; margin-left: 10px; font-size: 18px; cursor: pointer;" + @click="deleRow(scope.$index)" + v-if="scope.row.date && scope.row.date.length !==0"> + </i> + </div> </template> </el-table-column> <el-table-column @@ -269,6 +276,10 @@ this.getUser() this.changeBtDate(this.form.btDate) this.visible = true + }, + deleRow(index) { + this.info.terminateList.splice(index, 1) + this.countData() }, getDayTime () { const today = new Date(); @@ -463,6 +474,11 @@ flex-direction: column; border-bottom: 1px solid #ececec; margin-bottom: 15px; + position: sticky; + top: 0; + left: 0; + z-index: 999; + background: #ffffff; span { color: black; font-size: 16px; -- Gitblit v1.9.3