From 1c38803b2c268b618136fc1b02f6c91e7a06da0f Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期三, 29 六月 2022 16:38:28 +0800
Subject: [PATCH] 销售出库增加整托删除,

---
 WebTM/views/基础资料/基础资料/Gy_StockCheckItemList.html       |    2 +-
 WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html         |   29 +++++++++++++++++++++++++++++
 WebTM/views/index_Mobile.html                          |    6 ++++++
 WebTM/views/生产工序管理/工序汇报单/Sc_ProcessReportOverList.html |    3 +++
 WebTM/views/模治具管理/模治具管理/Gy_MouldFileList.html          |   18 +++++++++---------
 WebTM/views/基础资料/基础资料/InventoryAnalysis.html           |    1 +
 6 files changed, 49 insertions(+), 10 deletions(-)

diff --git a/WebTM/views/index_Mobile.html b/WebTM/views/index_Mobile.html
index e7936b2..f589432 100644
--- a/WebTM/views/index_Mobile.html
+++ b/WebTM/views/index_Mobile.html
@@ -132,6 +132,12 @@
                           </a>
                       </dd>
                       <dd>
+                          <a lay-href="鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/Sc_ProcessReportOverList.html" style="color: aqua;">
+                              <img src="../layuiadmin/myicon/鍗曟嵁褰曞埗.svg" alt="鍗曟嵁褰曞埗" style="width:25px;height:25px;margin-right: 5px;" />
+                              宸ュ簭姹囨姤鍏ュ簱鍒楄〃
+                          </a>
+                      </dd>
+                      <dd>
                           <a lay-href="" style="color: aqua;">
                               <img src="../layuiadmin/myicon/鍗曟嵁褰曞埗.svg" alt="鍗曟嵁褰曞埗" style="width:25px;height:25px;margin-right: 5px;" />
                               宸ュ簭姹囨姤鍗昻ull
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html"
index c570c30..f52204b 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html"
@@ -137,7 +137,7 @@
                         , { field: '鎴鏃ユ湡', title: '鎴鏃堕棿', templet: "<div>{{d.鎴鏃ユ湡 ==null ?'':layui.util.toDateString(d.鎴鏃ユ湡, 'yyyy-MM-dd')}}</div>"}
                         , { field: '浣跨敤鐘舵��', title: '浣跨敤鐘舵��' }
                         , { field: '绂佺敤鏍囧織', title: '绂佺敤鏍囧織' }
-                        , { field: '浣跨敤缁勭粐', title: '浣跨敤缁勭粐' }
+                        /*, { field: '浣跨敤缁勭粐', title: '浣跨敤缁勭粐' }*/
                         , { field: '澶囨敞', title: '澶囨敞' }
                     ]]
                 };
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html"
index a884d83..c94e825 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html"
@@ -208,6 +208,7 @@
                 , { field: 'HBookPotType', title: '璐﹂潰浣嶇疆绫诲瀷', width: 200 }
                 , { field: 'HBookPot', title: '璐﹂潰浣嶇疆', width: 200 }
                 , { field: 'HOWNERName', title: '鐩樼偣缁勭粐', width: 200 }
+                , { field: 'HMakeDate', title: '鐩樼偣鏃ユ湡', width: 200, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd')}}</div>" }
             ];
             //#endregion
 
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html"
index fb5074f..de5842b 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html"
@@ -175,14 +175,7 @@
                         , { field: '妯″叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿' }
                         , { field: '妯″叿鍝佺被', title: '鍣ㄥ叿鍝佺被' }
                         , { field: '妯″叿鐘舵��', title: '鍣ㄥ叿鐘舵��' }
-                        , { field: '褰撳墠浠撳簱', title: '褰撳墠浠撳簱' }
-                        , { field: '褰撳墠浠撲綅', title: '褰撳墠浠撲綅' }
-                        , { field: '铏氭嫙浠撶被鍨�', title: '铏氭嫙浠撶被鍨�' }
-                        , { field: '铏氭嫙浠�', title: '铏氭嫙浠�' }
-                        , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠鍣ㄥ叿瑙勬牸' }
-                        , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸' }
-                        , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡' }
-                        , { field: '妯″叿ERP鐗╂枡', title: '鍣ㄥ叿ERP鐗╂枡' }
+                        , { field: '瀵瑰簲ERP鐗╂枡缂栫爜', title: '鍣ㄥ叿ERP鐗╂枡' }
                         , { field: '鐩村緞', title: '鐩村緞' }
                         , { field: '杈呭姪灞炴��', title: '杈呭姪灞炴��' }
                         , { field: '杈呭姪灞炴��2', title: '杈呭姪灞炴��2' }
@@ -202,6 +195,13 @@
                         , { field: 'HSPID', title: 'HSPID', hide: true }
                         , { field: '榛樿浠撲綅', title: '榛樿浠撲綅' }
                         , { field: '鐗堟湰', title: '鐗堟湰' }
+                        , { field: '褰撳墠浠撳簱', title: '褰撳墠浠撳簱' }
+                        , { field: '褰撳墠浠撲綅', title: '褰撳墠浠撲綅' }
+                        , { field: '铏氭嫙浠撶被鍨�', title: '铏氭嫙浠撶被鍨�' }
+                        , { field: '铏氭嫙浠�', title: '铏氭嫙浠�' }
+                        , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠鍣ㄥ叿瑙勬牸' }
+                        , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸' }
+                        , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡' }
                         , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡' }
                         , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡' }
                         , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡' }
@@ -218,7 +218,7 @@
                         , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' }
                         , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', templet: "<div>{{d.鍏抽棴鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍏抽棴鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: 'hbilltype', title: 'hbilltype', hide: true }
-                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷' }
+                        , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', hide: true }
                         , { field: 'HMoudType', title: 'HMoudType', hide: true }
                         , { field: 'hsubid', title: 'hsubid', hide: true }
                     ]]
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
index a3f52f3..8034964 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
@@ -9,6 +9,9 @@
     <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
     <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script src="../../../layuiadmin/PubCustom.js"></script>
 </head>
 <body>
     <div class="layui-fluid">
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
index 6b3bba9..4684040 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html"
@@ -271,6 +271,7 @@
                         <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">鎻愪氦</button>
                         <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">缂栬緫</button>
                         <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">鍒犻櫎</button>
+                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdSDelete">鏁存墭鍒犻櫎</button>
                         <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">閫�鍑�</button>
                     </div>
                     <div id="" style="display:none;">
@@ -833,6 +834,34 @@
                    });
             });
 
+            //鏁存墭鍒犻櫎 cmdSDelete
+            form.on('submit(cmdSDelete)', function () {//鍒犻櫎
+                var HBarCode = $('#HBarCode').val()
+                if (HBarCode) {
+                    layer.msg("鏉$爜涓嶈兘涓虹┖", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+                    return;
+                }
+                $.ajax(
+                    {
+                        type: "Get",
+                        url: GetWEBURL() + "/POStockInBillList/SellOutBillSDeleCode",
+                        async: true,
+                        data: { "HBarCode": HBarCode },
+                        dataType: "json",
+                        success: function (data) {
+                            if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜�
+                                layer.msg(data.Message, { icon: 1, btn: ['纭'], time: 100000, title: "娓╅Θ鎻愮ず" });
+                            }
+                            else {
+                                layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+                            }
+                        },
+                        error: function (err) {
+                            layer.msg("閿欒" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+                        }
+                    });
+            });
+
             //鎻愪氦
             form.on('submit(Saver)', function (data) {//鎻愪氦
                 //debugger;

--
Gitblit v1.9.1