From 5c08046b29ae41eb3629cfec66ea84d94d001ffa Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期一, 24 六月 2024 15:51:26 +0800
Subject: [PATCH] 器具点检记录表  功能优化(选点检规程带出子表  选点检计划 带出模具 点检规程 带出子表) 停工单增加刷卡验证 工序出站增加遗失字段 和取样字段 工序流转卡增加批次号

---
 WebTM/views/IpadIndex.html |   78 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 1 deletions(-)

diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index 1d7633e..feed4ed 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -1106,6 +1106,68 @@
 
             });
         }
+
+        //璁惧鍚姩鐐规鎸夐挳鐐瑰嚮浜嬩欢
+        function BeginDotCheck(event, obj) {          
+            layer.open({
+                type: 2,
+                skin: 'layui-layer-rim', //鍔犱笂杈规
+                title: '鏂板璁惧鍚姩鐐规鍗�',
+                closeBtn: 1,
+                shift: 2,
+                area: ['100%', '100%'],
+                maxmin: true,
+                content: '杞﹂棿绠$悊/鍚姩鐐规鍗�/Sc_WorkBeginDotCheckBill.html?OperationType=4&linterid=&HSouceBillType=',
+                end: function () {
+
+                },
+                success: function (dom, index) {
+                    var data = [];
+                    data.push({
+                        "HMaterID": HMaterID,
+                        "HProcID": HProcID,
+                        "HSourceID": HSourceID1,
+                        "SCOrder": HSourceBillNo
+                    });
+
+                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                    var iframe = window['layui-layer-iframe' + index];
+                    //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
+                    iframe.edit(data);
+                },
+            });
+        }
+
+        //闃查敊楠岃瘉娓呭崟鎸夐挳鐐瑰嚮浜嬩欢
+        function PreventErrMouldCheck(event, obj) {
+            layer.open({
+                type: 2,
+                skin: 'layui-layer-rim', //鍔犱笂杈规
+                title: '鏂板闃查敊楠岃瘉',
+                closeBtn: 1,
+                shift: 2,
+                area: ['100%', '100%'],
+                maxmin: true,
+                content: '杞﹂棿绠$悊/闃查敊楠岃瘉/Qc_PreventErrMouldCheckBill.html?OperationType=4&linterid=&HSouceBillType=',
+                end: function () {
+
+                },
+                success: function (dom, index) {
+                    var data = [];
+                    data.push({
+                        "HMaterID": HMaterID,
+                        "HProcID": HProcID,                     
+                        "SCOrder": HSourceBillNo
+                    });
+
+                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                    var iframe = window['layui-layer-iframe' + index];
+                    //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
+                    iframe.edit(data);
+                },
+            });
+        }
+
         //閫�鍑�
         function Esc(event, obj) {
             parent.location.href = "index.html"
@@ -1291,7 +1353,7 @@
                             <div class="layui-col-sm12 layui-col-md4" onclick="OpenMaterToSource(event,this)">
                                 <div class="cnt bottomright">
                                     <span class="layui-icon layui-icon-engine imgicon"></span>
-                                    <span class="imgtitle">涓婃枡闃插憜</span>
+                                    <span class="imgtitle">涓婃枡闃查敊</span>
                                 </div>
                             </div>
                             <div class="layui-col-sm12 layui-col-md4" onclick="BadGather(event,this)">
@@ -1334,6 +1396,20 @@
                                     <span class="imgtitle">褰撳墠宸ュ崟(姹囨姤)</span>
                                 </div>
                             </div>
+                            <div class="layui-col-sm12 layui-col-md4" onclick="BeginDotCheck(event,this)">
+                                <div class="cnt bottomright">
+                                    <span class="layui-icon layui-icon-search imgicon"></span>
+                                    <span class="imgtitle">璁惧鍚姩鐐规</span>
+                                </div>
+                            </div>
+                        </div>
+                        <div class="layui-row layui-col-space10">                           
+                            <div class="layui-col-sm12 layui-col-md4" onclick="PreventErrMouldCheck(event,this)">
+                                <div class="cnt bottomright">
+                                    <span class="layui-icon layui-icon-engine imgicon"></span>
+                                    <span class="imgtitle">闃查敊楠岃瘉</span>
+                                </div>
+                            </div>                           
                         </div>
                     </div>
                 </fieldset>

--
Gitblit v1.9.1