| | |
| | | }); |
| | | function TSLoad() { |
| | | $("#topleft").html(""); |
| | | var HUserName = sessionStorage["HUserName"]; //默认当前登录人员 |
| | | var HUserName = "Admin"; //sessionStorage["HUserName"]; //默认当前登录人员 |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/ReportPlatForm/SearchGetLineBindBillList", |
| | | type: "GET", |
| | |
| | | html1 += '<h1 style="display:none;"><span>源单子内码:</span><span id="sb' + (i + 1) + '">' + LoadData1[i].HSourceEntryID + '</span></h1>'; |
| | | html1 += '<h1 style="display:none;"><span>源单单号:</span><span id="sw' + (i + 1) + '">' + LoadData1[i].HSourceBillNo + '</span></h1>'; |
| | | html1 += '<h1 style="display:none;"><span>源单类型:</span><span id="st' + (i + 1) + '">' + LoadData1[i].HSourceBillType + '</span></h1>'; |
| | | html1 += '<h1 style="display:none;"><span>生产订单号主ID:</span><span id="df' + (i + 1) + '">' + LoadData1[i].HICMOInterID + '</span></h1>'; |
| | | html1 += '<h1 style="display:none;"><span>生产订单子ID:</span><span id="ds' + (i + 1) + '">' + LoadData1[i].HICMOEntryID + '</span></h1>'; |
| | | |
| | | |
| | | html1 += '<h1><span>工单号:</span><span id="wk' + (i + 1) + '">' + LoadData1[i].HICMOBillNo + '</span></h1>'; |
| | |
| | | HSourceEntryID = $("#sb" + i + "").html(); //通过样式ID获取html内容(源单子内吗) |
| | | HSourceBillNo = $("#sw" + i + "").html(); //通过样式ID获取html内容(源单单号) |
| | | HSourceBillType = $("#st" + i + "").html(); //通过样式ID获取html内容(源单类型) |
| | | |
| | | HICMOInterID = $("#df" + i + "").html(); //生产订单主内码 |
| | | HICMOEntryID = $("#ds" + i + "").html(); //生产订单子内码 |
| | | |
| | | |
| | | if (workcode != "" && workcode != null) { |
| | | $('.cns').removeClass('check1'); //删除不同父级clss样式相同的所有元素 |
| | |
| | | data.push({ |
| | | "workcode": workcode, |
| | | "HSourceID": HSourceID1, |
| | | "HSourceName": HSourceName1 |
| | | "HSourceName": HSourceName1, |
| | | "HICMOInterID": HICMOInterID, |
| | | "HICMOEntryID": HICMOEntryID, |
| | | "HMaker": "Admin", //sessionStorage["HUserName"] |
| | | //"HEmpID": "0", //sessionStorage["HEmpID"] |
| | | "HSourceBillType": HSourceBillType |
| | | }); |
| | | |
| | | //通过索引获取到当前iframe弹出层 |
| | |
| | | iframe.edit(data); |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | function OpenFistCheck(event, obj) |
| | | { |
| | | console.log(HSourceInterID, HBillType); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: '首件检验单-编辑' |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType, 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | } |
| | | , end: function () { |
| | | get_FastQuery(table, option); |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //单据状态验证 |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-row layui-col-space10"> |
| | | <div class="layui-col-sm12 layui-col-md4"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenFistCheck(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-search imgicon"></span> |
| | | <span class="imgtitle">首检</span> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4"> |
| | | <div class="cnt bottomright"> |
| | | <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)"> |
| | | <span class="layui-icon layui-icon-chart imgicon"></span> |
| | | <span class="imgtitle">不良采集</span> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4"> |
| | | <div class="cnt bottomright"> |
| | | <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)"> |
| | | <span class="layui-icon layui-icon-close imgicon"></span> |
| | | <span class="imgtitle">退出</span> |
| | | </div> |