From 7ae052d141e69fe9e19392172fc2960134a03232 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 01 十二月 2025 15:54:52 +0800
Subject: [PATCH] 1.采购入库单列表、直接调拨单列表、其他出库单列表、生产入库列表、销售出库单列表:layui中开发 查看包装明细

---
 WebTM/views/领料发货/收料入库/Kf_ReciveBill_Fast_TK.html |   35 +++++++++++++++++++++++++----------
 1 files changed, 25 insertions(+), 10 deletions(-)

diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast_TK.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast_TK.html"
index af3c481..1a643bb 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast_TK.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\346\224\266\346\226\231\345\205\245\345\272\223/Kf_ReciveBill_Fast_TK.html"
@@ -37,7 +37,7 @@
 <body>
     <div class="layui-fluid" style="padding: 0;">
         <div class="layui-card">
-            <div class="layui-card-body"  style="padding: 0px; height:800px;">
+            <div class="layui-card-body" style="padding: 0px; height:800px;">
                 <form class="layui-form" action="" lay-filter="formData" id="formData" style="background-color:white;">
                     <div class="maintitle">鍒拌揣纭</div>
                     <div class="layui-form-item" style="padding:15px;margin:0px">
@@ -52,7 +52,7 @@
                                 <button type="button" lay-submit="" class="layui-btn" lay-filter="QueDin" name="QueDin" id="QueDin">纭畾</button>
                             </div>
                         </div>
-                    </div>                 
+                    </div>
                     <div class="layui-tab layui-tab-card" lay-filter="TabTest">
                         <ul class="layui-tab-title">
                             <li lay-id="1" style="padding:1px;" class="layui-this">琛ㄥご淇℃伅</li>
@@ -73,7 +73,7 @@
                                         </div>
                                         <div class="layui-col-xs8">
                                             <input type="hidden" name="HInterID" id="HInterID" lay-verify="HInterID" autocomplete="off" class="layui-input">
-                                        </div>                                       
+                                        </div>
                                     </div>
                                     <div class="layui-row">
                                         <div class="layui-col-xs3">
@@ -81,7 +81,7 @@
                                         </div>
                                         <div class="layui-col-xs8">
                                             <input type="text" name="HSupName" id="HSupName" lay-verify="HSupName" autocomplete="off" class="layui-input">
-                                        </div>                                        
+                                        </div>
                                     </div>
                                     <div class="layui-row">
                                         <div class="layui-col-xs3">
@@ -238,13 +238,27 @@
             //瀹℃牳鎸夐挳鏂规硶
             function set_Aduit() {
                 var index = layer.load();
-                var HInterID = $('#HInterID').val();
-                var HBillNo = $('#HBillNo').val();
-                var sSubStr = table.cache['mainTable'];
+
+                //for (var i = 0; i < table.cache["mainTable"].length; i++) {
+                //    if (table.cache["mainTable"][i].HMaterNum.indexOf("\"") != -1 || table.cache["mainTable"][i].HMaterNum.indexOf(";") != -1) {
+                //        table.cache["mainTable"][i].HMaterNum = table.cache["mainTable"][i].HMaterNum.replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�")
+                //    }
+                //    if (table.cache["mainTable"][i].HMaterName.indexOf("\"") != -1 || table.cache["mainTable"][i].HMaterName.indexOf(";") != -1) {
+                //        table.cache["mainTable"][i].HMaterName = table.cache["mainTable"][i].HMaterName.replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�")
+                //    }
+                //    if (table.cache["mainTable"][i].HModel.indexOf("\"") != -1 || table.cache["mainTable"][i].HModel.indexOf(";") != -1) {
+                //        table.cache["mainTable"][i].HModel = table.cache["mainTable"][i].HModel.replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�").replace("\"", "鈥�").replace(";", "锛�")
+                //    }
+                //}
+
+                //var HInterID = $('#HInterID').val();
+                //var HBillNo = $('#HBillNo').val();
+                //var sSubStr = table.cache['mainTable'];
+                var FID = table.cache['mainTable'][0].FID;
                 $.ajax({
                     url: GetWEBURL() + "/POStockInBillList/AuditPOInStockBillPost_TianKang",
                     type: "Get",
-                    data: { "FID": option.data[0].FID },
+                    data: { "FID": FID, "user": sessionStorage["HUserName"]},
                     success: function (result) {
                         if (result.code == "1") {
                             layer.msg("瀹℃牳鎴愬姛", {
@@ -272,13 +286,14 @@
                 option = {
                     elem: '#mainTable'
                     , page: false
-                    , height: 'full-240'
                     , limit: 500
                     , limits: [500, 700, 1000, 2000]
+                    , height: 'full-240'
                     , loading: false
+                    , totalRow: true
                     , cols: [[ //瀛愯〃
                         { type: 'numbers', title: '搴忓彿', width: 80 }
-                        , { field: 'HQty', title: '璁㈠崟鏁伴噺', width: 100 }
+                        , { field: 'HQty', title: '璁㈠崟鏁伴噺', width: 100, totalRow: true }
                         , { field: 'HMaterNum', title: '鐗╂枡浠g爜', width: 160 }
                         , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 160 }
                         , { field: 'HModel', title: '瑙勬牸鍨嬪彿', width: 160 }

--
Gitblit v1.9.1