From 6577b79cc752dfa71b50a1bf034d0c40952b7c13 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 18 十月 2023 16:53:25 +0800
Subject: [PATCH] 库存调整和上架规则新增改为第一位

---
 src/views/warehouseManage/listingRules/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue
index 4f68893..a9ed679 100644
--- a/src/views/warehouseManage/listingRules/index.vue
+++ b/src/views/warehouseManage/listingRules/index.vue
@@ -155,7 +155,7 @@
         this.isRowClick = false
         this.currentRowId = 0
         this.countId++
-        this.tableData.push({
+        this.tableData.unshift({
           countId: this.countId,
           areaId: 0,
           areaName: "",
@@ -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