From 5948315e24e88cf5b87c0aefb12c51c886da7601 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 18 十月 2023 19:50:08 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/WMS into dev --- src/views/warehouseManage/listingRules/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue index f523377..a9ed679 100644 --- a/src/views/warehouseManage/listingRules/index.vue +++ b/src/views/warehouseManage/listingRules/index.vue @@ -23,11 +23,11 @@ @selProductClick="selProductClick" > <template slot="tableButton"> - <el-table-column label="鎿嶄綔" width="90" fixed="right" align="center"> + <el-table-column label="鎿嶄綔" width="90" align="center"> <template slot-scope="scope"> - <el-button v-if="scope.row.isEdit" @click.stop="delClick(scope)" type="text" size="small" - >鍒犻櫎</el-button - > + <span v-if="scope.row.isEdit" @click.stop="delClick(scope)" class="yes-cursor"> + <span style="color: #2a78fb">鍒犻櫎</span> + </span> </template> </el-table-column> </template> @@ -155,7 +155,7 @@ this.isRowClick = false this.currentRowId = 0 this.countId++ - this.tableData.push({ + this.tableData.unshift({ countId: this.countId, areaId: 0, areaName: "", @@ -201,9 +201,9 @@ }).then((res) => { console.log(res) if (res.code === 200) { + this.getData() let tipStr = this.currentRowId === 0 ? "娣诲姞鎴愬姛" : "淇敼鎴愬姛" this.$message.success(tipStr) - this.getData() } }) } @@ -227,7 +227,7 @@ item.isEdit = true }) } else { - this.tableData.splice(this.tableData.length - 1, 1) + this.tableData.splice(0, 1) } this.addTitle = "鏂板缓" this.showDiscard = false -- Gitblit v1.8.0