From 4299dc4a3f0a0ac25ee9ea28eeda3bd94a40abfc Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 21 十月 2025 11:11:24 +0800
Subject: [PATCH] 核磅记录和移库记录需要倒叙和头部插入
---
pages/wareHouse/moveWareHouse/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pages/wareHouse/moveWareHouse/index.vue b/pages/wareHouse/moveWareHouse/index.vue
index ab76e77..5e4c4b0 100644
--- a/pages/wareHouse/moveWareHouse/index.vue
+++ b/pages/wareHouse/moveWareHouse/index.vue
@@ -45,7 +45,7 @@
:index="index"
>
<view class="content-header">
- <view class="content-header-title">{{ index + 1 }}</view>
+ <view class="content-header-title">{{ hasScanSnList.length - index }}</view>
</view>
<view class="content-body">
<view class="row-list">
@@ -198,7 +198,7 @@
that.$u.toast("璇峰厛鎵弿搴撲綅");
return;
}
- that.hasScanSnList = [];
+ // that.hasScanSnList = [];
that.codeInfoId = codeInfo.id;
that.saveModalForm(codeInfo);
// that.getHandelList();
@@ -236,7 +236,7 @@
})
.then((res) => {
console.log("绉诲簱璁板綍", res);
- this.hasScanSnList.push(res.data);
+ this.hasScanSnList.unshift(res.data);
console.log("绉诲簱璁板綍", this.hasScanSnList);
this.$u.toast("绉诲簱鎴愬姛");
});
--
Gitblit v1.9.3