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 |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/pages/wareHouse/moveWareHouse/index.vue b/pages/wareHouse/moveWareHouse/index.vue
index 467f6ca..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">
@@ -191,14 +191,14 @@
         let codeInfo = JSON.parse(data.code);
         // 鎵弿鎶ュ伐鍗曚簩缁寸爜
         // 鍒ゆ柇鎵弿鐨勬槸搴撲綅鐮佽繕鏄祦杞爜
-        if (codeInfo.LN) {
+        if (codeInfo.CT) {
           that.saveForm(codeInfo);
         } else {
           if (!that.registerInfo.toLocationNo) {
             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("绉诲簱鎴愬姛");
         });
@@ -251,7 +251,7 @@
     saveModalForm(val) {
       this.$u.api.shiftingParking
         .selPartInfoPDA({
-          outBatchNo: val.outBatchNo,
+          outBatchNo: val.BN,
         })
         .then((res) => {
           this.detailedList = res.data;
@@ -326,8 +326,8 @@
 
       .packing-registration-param-item-left {
         .item-one {
-          font-size: 30rpx;
-          color: #666666;
+          font-size: small;
+          color: #1b1a1a;
         }
       }
 
@@ -342,7 +342,7 @@
         }
 
         .item-two {
-          font-size: 30rpx;
+          font-size: small;
           color: #a6b4cc;
           margin-right: 6rpx;
         }
@@ -427,9 +427,9 @@
 
         ._label-name {
           margin-left: 11rpx;
-          font-size: 26rpx;
+          font-size: small;
           font-weight: 500;
-          color: #666666;
+          color: #1c1b1b;
         }
       }
 
@@ -437,7 +437,7 @@
         flex: 1.5;
         text-align: right;
         color: #909399;
-        font-size: 24rpx;
+        font-size: small;
       }
 
       .row-list .s1 {

--
Gitblit v1.9.3