From fbe0595485e2e7c0fde9c0d95f02e38b58e7b2d3 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 05 五月 2025 10:39:36 +0800
Subject: [PATCH] 1.现场收料界面 2.界面优化

---
 H5/Sctl.aspx |   65 ++++++++++++++++++++++++++++----
 1 files changed, 56 insertions(+), 9 deletions(-)

diff --git a/H5/Sctl.aspx b/H5/Sctl.aspx
index 9513b9f..9dec108 100644
--- a/H5/Sctl.aspx
+++ b/H5/Sctl.aspx
@@ -14,36 +14,42 @@
           left-arrow
           @click-left="GoBack()"
         ></van-nav-bar>
-        <div>
+        <div class="content-wrapper">
         <van-cell-group>
   <van-field
+      ref="billNo"
     value=""
     label="閫�鏂欏崟鍙�"
     clearable 
      placeholder="璇锋壂鐮�"
     :right-icon-size="19"
      v-model="billNo"
+      @keyup.enter.native="getMesItemTblDetailByBillNo"
      v-focus.noKeyboard
   ><template #button>
     <van-button size="small" type="info" plain @click="getInfo" >閫夋嫨</van-button>
   </template></van-field>
   <van-field
+      ref="sectionCode"
    value=""
    label="搴撲綅缂栧彿"
    v-model="depotSectionCode"
    clearable 
    :right-icon-size="19"
-      @input="getDepot"
+      @keyup.enter.native ="getDepot"
+      <%--@input="getDepot"--%>
    placeholder="璇锋壂鐮佸簱浣嶇紪鍙�"
 ></van-field>
  <van-field
+     ref="barcode"
   value=""
   label="鐗╂枡鏉$爜"
    clearable 
  placeholder="璇锋壂鐮�"
      v-model="barcode"
   :right-icon-size="19"
-     @input="getBarcode"
+     @keyup.enter.native ="getBarcode"
+     <%--@input="getBarcode"--%>
   v-focus.noKeyboard
 ></van-field>
    <van-field
@@ -62,28 +68,69 @@
 disabled
   ></van-field>
 </van-cell-group>
-    </div>
 
-      <van-tabs @click="onClick" color="#000" title-active-color="#0283EF" >
+
+<%--      <van-tabs  color="#000" title-active-color="#0283EF" >
   <van-tab title="寰呴��鏄庣粏">
     <van-row v-for="value in ItemTblDetail" class="font">
           <van-col span="12">鐗╂枡:{{value.itemNo}}</van-col>
-          <%--<van-col span="18">鐗╂枡鍚嶇О:{{value.itemName}}</van-col>--%>
           <van-col span="6">鐢宠鏁�:{{value.tld005}}</van-col>
           <van-col span="6">宸查��鏁�:{{value.tld006}}</van-col>
     </van-row>
   </van-tab>
           <van-tab title="宸查��鏄庣粏"></van-tab>
+</van-tabs>--%>
+
+      <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="8">寰呭叆搴撴暟</van-col>
+        <%--<van-col span="4">鏉$爜寮犳暟</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-col>
+        <van-col span="8" class="text-left padding-left">
+            <div>{{itm.itemModel}}</div>
+        </van-col>
+        <van-col span="8" class="blue-text">{{itm.dsQty}}</van-col>
+        <%--<van-col span="4">{{itm.recoKw}}</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="4">闇�姹傛暟</van-col>--%>
+            <van-col span="8">宸插叆搴撴暟</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="4">{{itm.fQty}}</van-col>--%>
+           <van-col span="8" class="blue-text">{{itm.sQty}}</van-col>
+       </van-row>
+   </van-tab>
 </van-tabs>
 
     <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
-
+    </div>
 </asp:Content>
 <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <comloading  v-if="isLoading"></comloading>
-    <comback ></comback>
+    <%--<comback ></comback>--%>
 </asp:Content>
 <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
- <script src="Js/Sctl.js?<%=156 %>"></script>
+ <script src="Js/Sctl.js?<%=162 %>"></script>
 </asp:Content>
 

--
Gitblit v1.9.3