From 5f38c29682ca48f33b51596e6bdd07aa7eb08d44 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 03 八月 2022 09:20:30 +0800
Subject: [PATCH] 工序 进站 出站  退出功能 齐套报表

---
 WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBill.html          |    3 +
 WebTM/views/生产管理/产量汇报单/Sc_Add_ProductReportBillList.html |    2 
 WebTM/views/生产管理/日计划报表/ReportMOMaterReadysBillList.html  |   52 +++++++++++++-------------
 WebTM/views/车间管理/工序进站接收单/Cj_StationInBill.html           |    2 +
 WebTM/views/index_Mobile.html                            |    4 +-
 5 files changed, 34 insertions(+), 29 deletions(-)

diff --git a/WebTM/views/index_Mobile.html b/WebTM/views/index_Mobile.html
index 7b5ec0c..5b692fe 100644
--- a/WebTM/views/index_Mobile.html
+++ b/WebTM/views/index_Mobile.html
@@ -438,7 +438,7 @@
                   </dl>
               </li>
               <!-- 璁惧绠$悊 -->
-              <!--<li data-name="set" class="layui-nav-item">
+              <li data-name="set" class="layui-nav-item">
                   <a style="padding-left:20px;">
                       <img src="../layuiadmin/myicon/杞﹂棿绠$悊.svg" alt="杞﹂棿绠$悊" style="width:25px;height:25px;margin-right: 5px;" />
                       <cite>璁惧绠$悊</cite>
@@ -469,7 +469,7 @@
                           </a>
                       </dd>
                   </dl>
-              </li>-->
+              </li>
               <!-- 缂撳瓨鍒楄〃 -->
               <li data-name="set" class="layui-nav-item">
                   <a style="padding-left:20px;">
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
index 9685919..d8f5c28 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
@@ -836,7 +836,7 @@
                     dataType: "json",//鏁版嵁绫诲瀷鍙互涓� text xml json  script  jsonp
                     async: false,
                     success: function (datas) {
-                        var LoadData = datas.data.Sc_ProcessReportSub;
+                        var LoadData = datas.data.Sc_ICMOBillWorkQtyStatus_Tmp;
                         var HQty = LoadData[0].HQty;
                         var HBadQty = LoadData[0].HBadQty;
                         var HWasterQty = LoadData[0].HWasterQty;
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportMOMaterReadysBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportMOMaterReadysBillList.html"
index 4f1332e..fcb4ab9 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportMOMaterReadysBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportMOMaterReadysBillList.html"
@@ -183,29 +183,29 @@
                 , loading: false
                 , cols: [[
                     { type: 'checkbox', fixed: 'left' }
-                    , { field: '', title: '缁勭粐鍚嶇О', width: 120 }
-                    , { field: '鏃ユ湡', title: '鐢熶骇杞﹂棿鍚嶇О' }
-                    , { field: '鍗曟嵁鍙�', title: '鐢熶骇璧勬簮鍚嶇О', width: 200 }
-                    , { field: '鍗曟嵁鐘舵��', title: '鐢熶骇璁㈠崟鍙�' }
-                    , { field: '閫�鍥炰汉', title: '閿�鍞鍗曞彿' }
-                    , { field: '閫�鍥炴棩鏈�', title: '鐢靛帇/鍔熺巼/搴曟澘' }
-                    , { field: '瀹℃牳浜�', title: '璁㈠崟浜ゆ湡' }
-                    , { field: '瀹℃牳鏃ユ湡', title: '浜у搧缂栫爜' }
-                    , { field: '鍒跺崟浜�', title: '浜у搧鍚嶇О' }
-                    , { field: '鍒跺崟鏃ユ湡', title: '浜у搧瑙勬牸鍨嬪彿' }
-                    , { field: '淇敼浜�', title: '鏃ヨ鍒掓棩鏈�' }
-                    , { field: '淇敼鏃ユ湡', title: '鏃ヨ鍒掓暟閲�' }
-                    , { field: '鍏抽棴浜�', title: '鐗╂枡缂栫爜' }
-                    , { field: '鍏抽棴浜�', title: '鐗╂枡鍚嶇О' }
-                    , { field: '鍏抽棴浜�', title: '鐗╂枡瑙勬牸鍨嬪彿' }
-                    , { field: '鍏抽棴浜�', title: '璁″垝鍙戞枡鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '榻愬鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '缂烘枡鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '鍙敤鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '鍗虫椂搴撳瓨鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '鍗犵敤鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '棰嗙敤鍗犵敤鏁伴噺' }
-                    , { field: '鍏抽棴浜�', title: '鏈夋棤閲囪喘璁㈠崟' }
+                    , { field: '缁勭粐鍚嶇О', title: '缁勭粐鍚嶇О', width: 120 }
+                    , { field: '鐢熶骇杞﹂棿鍚嶇О', title: '鐢熶骇杞﹂棿鍚嶇О' }
+                    , { field: '鐢熶骇璧勬簮鍚嶇О', title: '鐢熶骇璧勬簮鍚嶇О', width: 100 }
+                    , { field: '鐢熶骇璁㈠崟鍙�', title: '鐢熶骇璁㈠崟鍙�' }
+                    , { field: '閿�鍞鍗曞彿', title: '閿�鍞鍗曞彿' }
+                    , { field: 'FCOLUMN9', title: '鐢靛帇/鍔熺巼/搴曟澘' }
+                    , { field: '璁㈠崟浜ゆ湡', title: '璁㈠崟浜ゆ湡', templet: "<div>{{d.璁㈠崟浜ゆ湡 ==null ?'':layui.util.toDateString(d.璁㈠崟浜ゆ湡, 'yyyy-MM-dd')}}</div>"  }
+                    , { field: '浜у搧缂栫爜', title: '浜у搧缂栫爜' }
+                    , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О' }
+                    , { field: '浜у搧瑙勬牸鍨嬪彿', title: '浜у搧瑙勬牸鍨嬪彿' }
+                    , { field: '鏃ヨ鍒掓棩鏈�', title: '鏃ヨ鍒掓棩鏈�', templet: "<div>{{d.鏃ヨ鍒掓棩鏈� ==null ?'':layui.util.toDateString(d.鏃ヨ鍒掓棩鏈�, 'yyyy-MM-dd')}}</div>"  }
+                    , { field: '鏃ヨ鍒掓暟閲�', title: '鏃ヨ鍒掓暟閲�' }
+                    , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜' }
+                    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О' }
+                    , { field: '鐗╂枡瑙勬牸鍨嬪彿', title: '鐗╂枡瑙勬牸鍨嬪彿' }
+                    , { field: '璁″垝鍙戞枡鏁伴噺', title: '璁″垝鍙戞枡鏁伴噺' }
+                    , { field: '榻愬鏁伴噺', title: '榻愬鏁伴噺' }
+                    , { field: '缂烘枡鏁伴噺', title: '缂烘枡鏁伴噺' }
+                    , { field: '鍙敤鏁伴噺', title: '鍙敤鏁伴噺' }
+                    , { field: '鍗虫椂搴撳瓨鏁伴噺', title: '鍗虫椂搴撳瓨鏁伴噺' }
+                    , { field: '鍗犵敤鏁伴噺', title: '鍗犵敤鏁伴噺' }
+                    , { field: '棰嗙敤鍗犵敤鏁伴噺', title: '棰嗙敤鍗犵敤鏁伴噺' }
+                    , { field: '鏈夋棤閲囪喘璁㈠崟', title: '鏈夋棤閲囪喘璁㈠崟' }
                 ]]
             };
         }
@@ -288,11 +288,11 @@
         //#region 閲嶇疆杩囨护鏉′欢鏂规硶
         function set_ClearQuery() {
             $("#HORGID").val(sessionStorage["OrganizationID"]);//缁勭粐
-            $("#HMATERIALID").val("");//鐗╂枡/浜у搧
+            $("#HMATERIALID").val(0);//鐗╂枡/浜у搧
             $("#HMATERIALNAME").val("");
-            $("#HDeptID").val("");//鐢熶骇杞﹂棿
+            $("#HDeptID").val(0);//鐢熶骇杞﹂棿
             $("#DeptNAME").val("");
-            $("#HSCZYID").val("");//鐢熶骇璧勬簮
+            $("#HSCZYID").val(0);//鐢熶骇璧勬簮
             $("#HSCZYName").val("");
             $("#HXQD").val("");//闇�姹傚崟鍙�
             $("#HMOBILLNO").val("");//鐢熶骇璁㈠崟鍙�
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
index 7ea4a9e..11d6277 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html"
@@ -794,6 +794,9 @@
                     } else if (OperationType == 4) {
                         Pub_Close(1);
                     }
+                    else if (OperationType == 2) {
+                        Pub_Close(1);
+                    }
                 });
             })
 
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
index 813b531..645dcb8 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
@@ -543,6 +543,8 @@
                         Pub_Close(1);
                     } else if (OperationType == 4) {
                         Pub_Close(1);
+                    } else if (OperationType == 2) {
+                        Pub_Close(1);
                     }
                 });
             })

--
Gitblit v1.9.1