From 169720903b00d3caf5514f2e814951fc1f8441f3 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期日, 31 八月 2025 21:59:24 +0800
Subject: [PATCH] 1.多组织切换 2.生产领料组织信息显示

---
 H5/Scll.aspx |   53 ++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 44 insertions(+), 9 deletions(-)

diff --git a/H5/Scll.aspx b/H5/Scll.aspx
index 8f21329..d9ca1f1 100644
--- a/H5/Scll.aspx
+++ b/H5/Scll.aspx
@@ -4,10 +4,20 @@
        .bg-info {
      background-color: #fff;
     }
+    .org-info {
+        height: 0.5rem;
+        line-height: 0.5rem;
+        padding: 0 0.16rem;
+    }
 </style>
 </asp:Content>
 
 <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
+    <van-notice-bar 
+    :scrollable="false" 
+    :text="'褰撳墠缁勭粐锛�' + (Cookies.get('orgName') || '鏆傛棤缁勭粐淇℃伅')" 
+    class="org-info"
+/></van-notice-bar>
     <div class="content-wrapper">
         <van-nav-bar
             title="鐢熶骇澶囨枡"
@@ -15,6 +25,7 @@
             left-arrow
             @click-left="GoBack()">
         </van-nav-bar>
+
 
         <div class="mySolid">
             <van-cell-group>
@@ -97,16 +108,40 @@
                     <van-col span="3">寰呮壂</van-col>
                     <van-col span="5">鎺ㄨ崘搴撲綅</van-col>
                 </van-row>
-                <van-row v-for="(itm,index) in ItemDetail.items" :key="index">
-                    <van-col span="8" class="text-left padding-left">
-                        <div class="blue-text">{{itm.itemNo}}</div>
-                        <div>{{itm.itemName}}</div>
+                <van-row 
+                        v-for="(itm,index) in ItemDetail.items" 
+                        :key="index"
+                        :style="{ background: currentIndex === index ? '#87CEEB' : '' }"
+                        @click.native="handleRowClick(itm, index)">
+                        <van-col span="8" class="text-left padding-left">
+                            <div class="blue-text">{{itm.itemNo}}</div>
+                            <div>{{itm.itemName}}</div>
+                        </van-col>
+                        <van-col span="8" class="text-left padding-left">
+                            <div>{{itm.itemModel}}</div>
+                        </van-col>
+                        <van-col span="3" class="blue-text">{{itm.dsQty}}</van-col>
+                        <van-col span="5">{{itm.recoKw}}</van-col>
                     </van-col>
-                    <van-col span="8" class="text-left padding-left">
-                        <div>{{itm.itemModel}}</div>
+                </van-row>
+            </van-tab>
+
+            <van-tab title="搴撲綅鍒楄〃" class="mySolid font">
+                <van-row>
+                    <van-col span="10" class="text-left padding-left">鏉$爜缂栧彿</van-col>
+                    <van-col span="5" class="text-left padding-left">搴撲綅</van-col>
+                    <van-col span="4">鏁伴噺</van-col>
+                    <van-col span="5">浠撳簱</van-col>
+                </van-row>
+                <van-row v-for="(itm,index) in ItemBarKw" :key="index">
+                    <van-col span="10" class="text-left padding-left">
+                        <div class="blue-text">{{itm.iteM_BARCODE}}</div>
                     </van-col>
-                    <van-col span="3" class="blue-text">{{itm.dsQty}}</van-col>
-                    <van-col span="5">{{itm.recoKw}}</van-col>
+                    <van-col span="5" class="text-left padding-left">
+                        <div>{{itm.depoT_SECTIONS_CODE}}</div>
+                    </van-col>
+                    <van-col span="4" class="blue-text">{{itm.quantity}}</van-col>
+                    <van-col span="5" >{{itm.depot_name}}</van-col>
                 </van-row>
             </van-tab>
 
@@ -138,5 +173,5 @@
 </asp:Content>
 
 <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
-    <script src="Js/Scll.js?<%=123336154 %>"></script>
+    <script src="Js/Scll.js?<%=123336158 %>"></script>
 </asp:Content>
\ No newline at end of file

--
Gitblit v1.9.3