From f8b5ae29156d328f12b02ed332d8b378c5f1f0a3 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 17 十月 2024 13:39:05 +0800
Subject: [PATCH] 出门确认单:PDA扫码页面增加件数合计;编辑页面取消装运人、装运车牌号、联系电话的必选

---
 WebTM/views/WMS扫码模块/出门确认单_新/Xs_OutDoorBill_PDA.html |   16 ++++++++++++++++
 WebTM/views/销售管理/出门确认单_新/Xs_OutDoorBill.html        |   30 +++++++++++++++---------------
 2 files changed, 31 insertions(+), 15 deletions(-)

diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill_PDA.html"
index 18f2bc3..b976120 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill_PDA.html"
@@ -118,6 +118,14 @@
                                         </div>
                                         <div class="layui-row">
                                             <div class="layui-col-xs3">
+                                                <label class="layui-form-label" style="width:60px;padding-left:0px;">鍚堣浠舵暟</label>
+                                            </div>
+                                            <div class="layui-col-xs9">
+                                                <input type="text" name="HPieceQty_Total" id="HPieceQty_Total" value="0" lay-verify="HPieceQty_Total" autocomplete="off" class="layui-input" style="border-radius: 5px;background-color:#efefef4d;" disabled>
+                                            </div>
+                                        </div>
+                                        <div class="layui-row">
+                                            <div class="layui-col-xs3">
                                                 <label class="layui-form-label" style="width:60px;padding-left:0px;">缁勭粐</label>
                                             </div>
                                             <div class="layui-col-xs9">
@@ -476,6 +484,14 @@
                                     }
                                 }
                             }
+
+                            var HPieceQty_Total = 0;
+                            for (var i = 0; i < result.data.length; i++) {
+                                HPieceQty_Total += result.data[i]["浠舵暟"];
+                            }
+
+                            $("#HPieceQty_Total").val(HPieceQty_Total);
+
                             columns = col;
                             listOption.cols = [columns];
                             listOption.data = result.data;
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill.html"
index c628304..6484ee6 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\207\272\351\227\250\347\241\256\350\256\244\345\215\225_\346\226\260/Xs_OutDoorBill.html"
@@ -105,19 +105,19 @@
                                             </div>
                                         </div>
                                         <div class="layui-inline">
-                                            <label class="layui-form-label">瑁呰繍浜�<label style="color:red"> * </label></label>
+                                            <label class="layui-form-label">瑁呰繍浜�<!--<label style="color:red"> * </label>--></label>
                                             <div class="layui-input-inline">
                                                 <input type="text" class="layui-input" name="HShipper" id="HShipper">
                                             </div>
                                         </div>
                                         <div class="layui-inline">
-                                            <label class="layui-form-label">鑱旂郴鐢佃瘽<label style="color:red"> * </label></label>
+                                            <label class="layui-form-label">鑱旂郴鐢佃瘽<!--<label style="color:red"> * </label>--></label>
                                             <div class="layui-input-inline">
                                                 <input type="text" class="layui-input" name="HPhone" id="HPhone">
                                             </div>
                                         </div>
                                         <div class="layui-inline">
-                                            <label class="layui-form-label">瑁呰繍杞︾墝鍙�<label style="color:red"> * </label></label>
+                                            <label class="layui-form-label">瑁呰繍杞︾墝鍙�<!--<label style="color:red"> * </label>--></label>
                                             <div class="layui-input-inline">
                                                 <input type="text" class="layui-input" name="HCarNumber" id="HCarNumber">
                                             </div>
@@ -876,20 +876,20 @@
                     return false;
                 }
 
-                if ($("#HShipper").val() == "") {
-                    layer.msg("瑁呰繍浜轰笉鑳戒负绌�!");
-                    return false;
-                }
+                //if ($("#HShipper").val() == "") {
+                //    layer.msg("瑁呰繍浜轰笉鑳戒负绌�!");
+                //    return false;
+                //}
 
-                if ($("#HPhone").val() == "") {
-                    layer.msg("鑱旂郴鐢佃瘽涓嶈兘涓虹┖!");
-                    return false;
-                }
+                //if ($("#HPhone").val() == "") {
+                //    layer.msg("鑱旂郴鐢佃瘽涓嶈兘涓虹┖!");
+                //    return false;
+                //}
 
-                if ($("#HCarNumber").val() == "") {
-                    layer.msg("瑁呰繍杞︾墝鍙蜂笉鑳戒负绌�!");
-                    return false;
-                }
+                //if ($("#HCarNumber").val() == "") {
+                //    layer.msg("瑁呰繍杞︾墝鍙蜂笉鑳戒负绌�!");
+                //    return false;
+                //}
                 //#endregion
 
                 //#region 瀛愯〃 鏁版嵁妫�楠�

--
Gitblit v1.9.1