duhe
2024-07-17 c1026f4ea28bb26ba4e047fdd777836707730eaa
WebTM/views/IpadIndex.html
@@ -1160,7 +1160,8 @@
                    var data = [];
                    data.push({
                        "HICMOBillNo": HICMOBillNo,//工单号
                        "HSourceName": HSBName //设备
                        "HSourceName": HSBName, //设备
                        "HSourceBillNo": HSourceBillNo //工序流转卡
                    });
                    //通过索引获取到当前iframe弹出层
@@ -1191,6 +1192,42 @@
                        "HMaterID": HMaterID,
                        "HProcID": HProcID,                     
                        "SCOrder": HSourceBillNo
                    });
                    //通过索引获取到当前iframe弹出层
                    var iframe = window['layui-layer-iframe' + index];
                    //调用iframe弹出层内的方法
                    iframe.edit(data);
                },
            });
        }
        //检验取样按钮点击事件
        function TakeSample(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: '质量管理/检验取样还样单/QC_Add_TakeSampleCheckBill.html?OperationType=2&linterid=&HSouceBillType=',
                end: function () {
                },
                success: function (dom, index) {
                    var data = [];
                    data.push({
                        "HBillType": HBillType,
                        "HSourceInterID": HSourceInterID,
                        "HSourceEntryID": HSourceEntryID,
                        "HSourceBillNo": HSourceBillNo,
                        "HSourceBillType": HSourceBillType
                    });
                    //通过索引获取到当前iframe弹出层
@@ -1404,7 +1441,7 @@
                                </div>
                            </div>
                            <div class="layui-col-sm12 layui-col-md4" onclick="Abnormal(event,this)">
                                <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-unlink imgicon"></span>
                                    <span class="imgtitle">异常</span>
                                </div>
@@ -1436,14 +1473,21 @@
                                </div>
                            </div>
                        </div>
                        <div class="layui-row layui-col-space10">
                        <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 class="layui-col-sm12 layui-col-md4" onclick="TakeSample(event,this)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-form imgicon"></span>
                                    <span class="imgtitle">检验取样</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </fieldset>
            </div>