From f7d9119e6263cbe36d79edcde52df3fae0e8f723 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 03 九月 2024 09:48:04 +0800
Subject: [PATCH] spc增加样本数量为1的计算公式 开工单 完工单增加流转卡号的显示 出站单不带出生产资源

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

diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index 2fa2240..6b74ae3 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -1067,6 +1067,10 @@
                 layer.alert("璇烽�夋嫨宸ュ崟鍒楄〃", { icon: 5 });
                 return false;
             }
+            if (WorkStaus(HSourceID1, workcode, HSourceInterID, "鏂帿灏旀眹鎶�")) {
+                layer.alert("鍗曟嵁鐘舵�佷笉婊¤冻姹囨姤鏉′欢!", { icon: 5 });
+                return false;
+            }
             layer.open({
                 type: 2,
                 skin: 'layui-layer-rim', //鍔犱笂杈规
@@ -1238,6 +1242,42 @@
             });
         }
 
+        //宸ヨ壓鍙傛暟鐐规鐐瑰嚮浜嬩欢
+        function TechParam(event, obj) {
+            if (wktag == 0) {
+                layer.alert("璇烽�夋嫨宸ュ崟鍒楄〃", { icon: 5 });
+                return false;
+            }
+            layer.open({
+                type: 2,
+                skin: 'layui-layer-rim', //鍔犱笂杈规
+                title: '鏂板宸ヨ壓鍙傛暟鐐规鍗�',
+                closeBtn: 1,
+                shift: 2,
+                area: ['100%', '100%'],
+                maxmin: true,
+                content: '璁惧绠$悊/璁惧宸ヨ壓鍙傛暟璁㈠崟鐐规琛�/SB_EquipICMOTechParamBillEdit.html?OperationType=4&linterid=&HEntryID=',
+                end: function () {
+
+                },
+                success: function (dom, index) {
+                    var data = [];
+                    data.push({
+                        "HBillType": HBillType,
+                        "HSourceInterID": HSourceInterID,
+                        "HSourceEntryID": HSourceEntryID,
+                        "HSourceBillNo": HSourceBillNo,
+                        "HSourceBillType": HSourceBillType
+                    });
+
+                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                    var iframe = window['layui-layer-iframe' + index];
+                    //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
+                    iframe.edit(data);
+                },
+            });
+        }
+
         //閫�鍑�
         function Esc(event, obj) {
             parent.location.href = "index.html"
@@ -1260,6 +1300,9 @@
                     break;
                 case "姹囨姤":
                     sWhere = " where HSourceID='" + HSourceID1 + "' and HICMOBillNo='" + workcode + "' and HInterID='" + HSourceInterID + "' and hicmostatus not in('1','2')";   //鏄惁鏈変笉涓哄紑宸ャ�佸仠宸ユ寕璧风姸鎬�
+                    break;
+                case "鏂帿灏旀眹鎶�":
+                    sWhere = " where HSourceID='" + HSourceID1 + "' and HSourceBillNo='" + workcode + "' and HInterID='" + HSourceInterID + "' and hicmostatus not in('1','2')";   //鏄惁鏈変笉涓哄紑宸ャ�佸仠宸ユ寕璧风姸鎬�
                     break;
                 case "鎶ユ鐢宠":
 
@@ -1486,6 +1529,12 @@
                                     <span class="imgtitle">妫�楠屽彇鏍�</span>
                                 </div>
                             </div>
+                            <div class="layui-col-sm12 layui-col-md4" onclick="TechParam(event,this)">
+                                <div class="cnt bottomright">
+                                    <span class="layui-icon layui-icon-tabs imgicon"></span>
+                                    <span class="imgtitle">宸ヨ壓鍙傛暟鐐规</span>
+                                </div>
+                            </div>
                         </div>
                                               
                     </div>

--
Gitblit v1.9.1