YL
2021-07-20 ad643da4a87fd46bff66cdd4e95b9fa7a3239438
WebTM/views/IpadIndex.html
@@ -63,7 +63,7 @@
        });
        function TSLoad() {
            $("#topleft").html("");
            var HUserName = "Admin" //sessionStorage["HUserName"];     //默认当前登录人员
            var HUserName = sessionStorage["HUserName"];     //默认当前登录人员
            $.ajax({
                url: GetWEBURL() + "/ReportPlatForm/SearchGetLineBindBillList",
                type: "GET",
@@ -143,7 +143,7 @@
                            data: { "HSourceID": HSourceID },
                            dataType: "json",//数据类型可以为 text xml json  script  jsonp
                            success: function (data) {
                                var LoadData1 = data.data.h_p_JIT_GetWorkBillListInfoBySource;
                                var LoadData2 = data.data.h_p_JIT_GetWorkBillListInfoBySource1;
                                if (LoadData1.length > 0)  //工单列表数据
@@ -199,7 +199,7 @@
                                        html1 += '<div class="layui-col-sm12 layui-col-md12">';
                                        html1 += '<dl class="topright">;'
                                        html1 += '<dt>';
                                        html1 += '<img src="../layuiadmin/layui/images/device.png" onError="this.src="../ layuiadmin/layui/images/erro.png";">';
                                        html1 += '<img src="../layuiadmin/layui/images/device.png" onError="this.src="../layuiadmin/layui/images/erro.png";">'
                                        html1 += '</dt>';
                                        html1 += '<dd>';
                                        html1 += '<h1><span>当前设备:</span><span>' + LoadData2[i].HSourceName + '</span></h1>';
@@ -573,6 +573,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', //加上边框
@@ -733,7 +737,7 @@
                    sWhere = " where HSourceID='" + HSourceID1 + "' and HICMOBillNo='" + workcode + "' and HInterID='" + HSourceInterID +"' and hicmostatus not in('1')";   //停工挂起状态
                    break;
                case "汇报":
                    html1 = '';
                    sWhere = " where HSourceID='" + HSourceID1 + "' and HICMOBillNo='" + workcode + "' and HInterID='" + HSourceInterID + "' and hicmostatus not in('1')";   //汇报状态
                    break;
                case "报检申请":
                    
@@ -763,7 +767,7 @@
                    flag = false;
                }
            });
            console.log(flag);
            return flag;
        }
    </script>
@@ -809,7 +813,7 @@
                    </ul>
                    <div class="layui-tab-content content3">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-row layui-col-space10" id="btomleft">
                            <div class="layui-row layui-col-space10" id="btomleft" style="height:600px;display:block;overflow-y:auto;">
                            </div>
                        </div>
@@ -874,8 +878,8 @@
                                </div>
                            </div>
                        </div>
                        <div class="layui-row layui-col-space10" onclick="OpenInSpection(event,this)">
                            <div class="layui-col-sm12 layui-col-md4">
                        <div class="layui-row layui-col-space10">
                            <div class="layui-col-sm12 layui-col-md4" onclick="OpenInSpection(event,this)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-release imgicon"></span>
                                    <span class="imgtitle">报检申请</span>
@@ -894,8 +898,8 @@
                                </div>
                            </div>
                        </div>
                        <div class="layui-row layui-col-space10" onclick="OpenStop(event,this)">
                            <div class="layui-col-sm12 layui-col-md4">
                        <div class="layui-row layui-col-space10">
                            <div class="layui-col-sm12 layui-col-md4" onclick="OpenStop(event,this)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-play imgicon"></span>
                                    <span class="imgtitle">停工</span>