From 6a18e9f091fca12281613159ba37bd1f58109bc3 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 08 七月 2024 08:03:37 +0800
Subject: [PATCH] 客户条码扫描记录:增加 合计数量

---
 WebTM/views/WMS扫码模块/客户条码扫描/Gy_getCusBarCodeBill_PDA.html |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBill_PDA.html"
index fee1f97..ca72819 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\256\242\346\210\267\346\235\241\347\240\201\346\211\253\346\217\217/Gy_getCusBarCodeBill_PDA.html"
@@ -56,6 +56,14 @@
                                 <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdHBarCode">纭畾</button>
                             </div>
                         </div>
+                        <div class="layui-row">
+                            <div class="layui-col-xs3">
+                                <label class="layui-form-label" style="width:50px;padding-left:0px;">鍚堣&nbsp;&nbsp;鏁伴噺</label>
+                            </div>
+                            <div class="layui-col-xs8">
+                                <input type="text" name="HQty_Total" id="HQty_Total" lay-verify="HQty_Total" autocomplete="off" class="layui-input" readonly>
+                            </div>
+                        </div>
                     </div>
                     <div class="layui-tab" lay-filter="tab-Sc_PackUnionBill_PDA">
                         <ul class="layui-tab-title" lay-filter="tab-all">
@@ -331,6 +339,13 @@
                                     }
                                 }
                             }
+
+                            //for (var i = 0; i < data1.data.length; i++) {
+                            //    data1.data[i]["HQty"] = 1;
+                            //}
+
+                            $("#HQty_Total").val(data1.data.length);
+
                             //option.cols = [col];
                             option.data = data1.data;
                             table.cache['wl-table'] = null;         //娓呯┖琛ㄦ牸缂撳瓨鏁版嵁
@@ -504,9 +519,10 @@
                     , height: 'full-50'
                     //, page: true
                     , cellMinWidth: 90
-                    , limit: 1000
+                    , limit: 10000
                     //, limits: [50, 500, 5000, 20000]
                     , toolbar: '#toolbarDemo'
+                    , totalRow: true
                     , cols: [[
                         { type: 'checkbox', fixed: 'left' }
                         , { field: 'HItemID', title: 'HItemID', hide: true }
@@ -514,7 +530,7 @@
                         , { field: 'HBillNo', title: '鍗曟嵁鍙�', width: 125, sort: true }
                         , { field: 'HBillType', title: '鍗曟嵁绫诲瀷', width: 125, sort: true, hide: true }
                         , { field: 'HBarCode', title: '鏉$爜缂栧彿', width: 125, sort: true }
-                        , { field: 'HQty', title: '鏁伴噺', width: 125, sort: true, hide: true }
+                        , { field: 'HQty', title: '鏁伴噺', width: 125, sort: true, totalRow: true, hide: true }
                         , { field: 'HOrgID', title: 'HOrgID', sort: true, hide: true }
                         , { field: 'HDate', title: '鏃ユ湡', width: 125, sort: true }
                         , { field: 'HRelationInterID', title: 'HRelationInterID', width: 125, sort: true, hide: true }

--
Gitblit v1.9.1