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 |  322 +++++++++++++++++++++++++++--------------------------
 1 files changed, 166 insertions(+), 156 deletions(-)

diff --git a/H5/Scll.aspx b/H5/Scll.aspx
index a22014c..d9ca1f1 100644
--- a/H5/Scll.aspx
+++ b/H5/Scll.aspx
@@ -1,167 +1,177 @@
 锘�<%@ Page Title="鐢熶骇棰嗘枡" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Scll.aspx.cs" Inherits="H5_Scll" %>
 <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
-    <style>
-    .bg-info {
-        background-color:#fff;
+  <style>
+       .bg-info {
+     background-color: #fff;
     }
-    /*.van-popup--bottom {
-    height: 50%;*/ /* 璁剧疆寮圭獥楂樺害 */
-/*}
-
-.printer-item {
-    display: flex;
-    align-items: center;
-    justify-content: space-between;*/ /* 宸﹀彸瀵归綈 */
-    /*width: 100%;
-}
-
-.printer-info {
-    display: flex;
-    flex-direction: column;*/ /* 鍨傜洿鎺掑垪缂栧彿鍜孖P鍦板潃 */
-    /*flex-grow: 1;*/ /* 鍗犳嵁鍓╀綑绌洪棿 */
-/*}
-
-.printer-id {
-    font-size: 16px;
-    color: #333;
-}
-
-.ip-address {
-    font-size: 12px;
-    color: #666;
-    margin-top: 4px;
-}
-
-.printer-radio {
-    margin-left: 16px;*/ /* 璋冩暣涓庡唴瀹圭殑璺濈 */
-/*}*/
-      
+    .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-nav-bar
-  title="鐢熶骇棰嗘枡"
-  left-text="杩斿洖"
-  left-arrow
-  @click-left="GoBack()"
-></van-nav-bar>
-    <div class="mySolid">
-        <van-cell-group>
-  <van-field 
-    ref="daa001"
-    v-model="modeInfo.daa001"
-    label="宸ュ崟鍗曞彿"
-    clearable 
-     placeholder="璇锋壂鐮�"
-    :right-icon-size="19"
-     v-focus.noKeyboard
-    @keyup.enter.native="getModel" autofocus="true"
-  ></van-field>
-  <van-field
-    v-model="modeInfo.planNo"
-   label="浠诲姟鍗曞彿"
-   clearable 
-   :right-icon-size="19"
-   placeholder="浠诲姟鍗曞彿"
-   disabled
-></van-field>
- <van-field
-   ref="barcode"
-   v-model="scanInfo.barcode"
-  label="鐗╂枡鏉$爜"
-   clearable 
- placeholder="璇锋壂鐮�"
-  :right-icon-size="19"
-  v-focus.noKeyboard
-  @keyup.enter.native="getScan"
-></van-field>
-   <van-field
-  v-model="scanInfo.barcodeNum"
-  label="鏉$爜鏁伴噺"
-  placeholder="鏉$爜鏁伴噺"
-  disabled
-></van-field>
-  <van-field
-    ref="splitNum"
-    v-model="scanInfo.splitNum"
-    center
-    clearable
-    label="鍙戞枡鏁伴噺"
-    placeholder="鍙戞枡鏁伴噺" 
-  >
-    <van-button slot="button" type="info" size="small"  plain @click="getChaiFen">
-      鏉$爜鎷嗗垎
-    </van-button>
-  </van-field>
-</van-cell-group>
+    <van-notice-bar 
+    :scrollable="false" 
+    :text="'褰撳墠缁勭粐锛�' + (Cookies.get('orgName') || '鏆傛棤缁勭粐淇℃伅')" 
+    class="org-info"
+/></van-notice-bar>
+    <div class="content-wrapper">
+        <van-nav-bar
+            title="鐢熶骇澶囨枡"
+            left-text="杩斿洖"
+            left-arrow
+            @click-left="GoBack()">
+        </van-nav-bar>
+
+
+        <div class="mySolid">
+            <van-cell-group>
+                <van-field
+                    ref ="selectKey"
+                value=""
+                label="宸ュ崟鏌ヨ"
+                clearable 
+                    placeholder="璇疯緭鍏ュ伐鍗曞彿杩涜鏌ヨ"
+                :right-icon-size="19"
+                    v-model="selectKey"
+                ><template #button>
+                <van-button size="small" type="info" plain @click="getInfo" >閫夋嫨</van-button>
+                </template></van-field>
+                <van-field 
+                    ref="daa001"
+                    v-model="modeInfo.daa001"
+                    label="宸ュ崟鍗曞彿"
+                    clearable 
+                    placeholder="璇锋壂鐮�"
+                    :right-icon-size="19"
+                    v-focus.noKeyboard
+                    @keyup.enter.native="getModel" 
+                    autofocus="true">
+                </van-field>
+                
+                <van-field
+                    v-model="modeInfo.planNo"
+                    label="浠诲姟鍗曞彿"
+                    clearable 
+                    :right-icon-size="19"
+                    placeholder="浠诲姟鍗曞彿"
+                    disabled>
+                </van-field>
+                
+                <van-field
+                    ref="barcode"
+                    v-model="scanInfo.barcode"
+                    label="鐗╂枡鏉$爜"
+                    clearable 
+                    placeholder="璇锋壂鐮�"
+                    :right-icon-size="19"
+                    v-focus.noKeyboard
+                    @keyup.enter.native="getScan">
+                </van-field>
+                
+                <van-field
+                    v-model="scanInfo.barcodeNum"
+                    label="鏉$爜鏁伴噺"
+                    placeholder="鏉$爜鏁伴噺"
+                    disabled>
+                </van-field>
+                
+                <van-field
+                    ref="splitNum"
+                    v-model="scanInfo.splitNum"
+                    center
+                    clearable
+                    label="鍙戞枡鏁伴噺"
+                    placeholder="鍙戞枡鏁伴噺">
+                    <van-button 
+                        slot="button" 
+                        type="info" 
+                        size="small"  
+                        plain 
+                        @click="getChaiFen">
+                        鏉$爜鎷嗗垎
+                    </van-button>
+                </van-field>
+            </van-cell-group>
+        </div>
+
+       <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
+
+        <van-tabs color="#000" title-active-color="#0283EF">
+            <van-tab title="寰呮壂鐗╂枡" class="mySolid font">
+                <van-row>
+                    <van-col span="8" class="text-left padding-left">鐗╂枡</van-col>
+                    <van-col span="8" class="text-left padding-left">瑙勬牸</van-col>
+                    <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"
+                        :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-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="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>
+
+            <van-tab title="宸叉壂鐗╂枡" class="mySolid font">
+                <van-row>
+                    <van-col span="8" class="text-left padding-left">鐗╂枡</van-col>
+                    <van-col span="8" class="text-left padding-left">瑙勬牸</van-col>
+                    <van-col span="3">闇�棰嗘暟</van-col>
+                    <van-col span="5">宸查鏁�</van-col>
+                </van-row>
+                <van-row v-for="(itm,index) in ItemDetail.ysitems" :key="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">{{itm.fQty}}</van-col>
+                    <van-col span="5" class="blue-text">{{itm.sQty}}</van-col>
+                </van-row>
+            </van-tab>
+        </van-tabs>
     </div>
-
-<%--<!-- 寮圭獥缁勪欢 -->
-<van-popup v-model="isPrinterPopupVisible" position="bottom" round>
-    <van-radio-group v-model="selectedPrinter" @change="onPrinterSelected">
-        <van-cell-group>
-            <van-cell 
-                v-for="(printer, index) in printerList" 
-                :key="index" 
-                clickable 
-                @click="selectPrinter(printer)"
-            >
-                <!-- 鑷畾涔夊唴瀹瑰竷灞� -->
-                <template #default>
-                    <div class="printer-item">
-                        <div class="printer-info">
-                            <span class="printer-id">{{ printer.printerId }}</span>
-                            <span class="ip-address">{{ printer.ipAddress }}</span>
-                        </div>
-                        <van-radio class="printer-radio" :name="printer.printerId"></van-radio>
-                    </div>
-                </template>
-            </van-cell>
-        </van-cell-group>
-    </van-radio-group>
-    <div style="text-align: center; margin-top: 10px;">
-        <van-button type="info" size="small" @click="confirmSelection">纭</van-button>
-    </div>
-</van-popup>--%>
-
-
-  <van-tabs color="#000" title-active-color="#0283EF">
-  <van-tab title="寰呭彂鐗╂枡" class="mySolid font">
-      <van-row>
-            <van-col span="12" class="text-left padding-left">鐗╂枡</van-col>
-             <van-col span="6">寰呮壂</van-col>
-            <van-col span="6">宸叉壂</van-col>
-    </van-row>
-    <van-row  v-for="(itm,index) in ItemDetail.daisao" :key="index">
-          <van-col span="12"  class="text-left padding-left">
-               <div>{{itm.itemNo}}</div>
-               <div>{{itm.itemName}}</div>
-          </van-col>
-          <van-col span="6">{{itm.dab006}}</van-col>
-         <van-col span="6">{{itm.dab007}}</van-col>
-    </van-row>
-  </van-tab>
-   <van-tab title="鐗╂枡鎬绘竻鍗�" class="mySolid font">
-         <van-row>
-            <van-col span="12" class="text-left padding-left">鐗╂枡</van-col>
-             <van-col span="6">闇�棰嗘暟</van-col>
-            <van-col span="6">宸查鏁�</van-col>
-        </van-row>
-        <van-row  v-for="(itm,index) in ItemDetail.totals" :key="index">
-           <van-col span="12" class="text-left padding-left">
-                <div>{{itm.itemNo}}</div>
-                <div>{{itm.itemName}}</div>
-           </van-col>
-            <van-col span="6">{{itm.dab006}}</van-col>
-           <van-col span="6">{{itm.dab007}}</van-col>
-       </van-row>
-   </van-tab>
-</van-tabs>
 </asp:Content>
+
 <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
-    <comloading  v-if="isLoading"></comloading>
-    <%--<comback ></comback>--%>
+    <comloading v-if="isLoading"></comloading>
 </asp:Content>
+
 <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
-    <script src="Js/Scll.js?<%=123334 %>"></script>
-</asp:Content>
+    <script src="Js/Scll.js?<%=123336158 %>"></script>
+</asp:Content>
\ No newline at end of file

--
Gitblit v1.9.3