| | |
| | | $("#topleft").html(""); |
| | | var HUserName = sessionStorage["HUserName"]; //sessionStorage["HUserName"]; //默认当前登录人员 |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/ReportPlatForm/SearchGetLineBindBillList", |
| | | url: GetWEBURL() + "/ReportStepPlatForm/SearchGetLineBindStepBillList", |
| | | type: "GET", |
| | | data: { "HUserName": HUserName }, |
| | | dataType: "json",//数据类型可以为 text xml json script jsonp |
| | |
| | | $("#ts" + i + "").addClass('check'); // 添加当前元素的样式 |
| | | //执行联动事件 |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/ReportPlatForm/SearchGetWorkBillList", |
| | | url: GetWEBURL() + "/ReportStepPlatForm/SearchGetWorkStepBillList", |
| | | type: "GET", |
| | | data: { "HSourceID": HSourceID }, |
| | | dataType: "json",//数据类型可以为 text xml json script jsonp |
| | |
| | | , shadeClose: false //开启遮罩关闭 |
| | | , shade: 0.5 |
| | | , maxmin: true |
| | | , content: ['生产管理/报工平台功能页/LineBind.html', 'yes'] |
| | | , content: ['生产管理/报工平台功能页/LineBindStep.html', 'yes'] |
| | | , btn: ['确定', '取消'] |
| | | , btn1: function (index, layero, e) { |
| | | |
| | |
| | | var HRemark = body.find("#HRemark").val(); |
| | | $.ajax( |
| | | { |
| | | url: GetWEBURL() + "/ReportPlatForm/SaveGetLineBindBillList", //方法所在页面和方法名 |
| | | url: GetWEBURL() + "/ReportStepPlatForm/SaveGetLineBindStepBillList", //方法所在页面和方法名 |
| | | dataType: "json", |
| | | type: "Get", |
| | | async: false, |
| | |
| | | //逻辑删除方法 |
| | | layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/ReportPlatForm/DeleteGetLineBindBillList", |
| | | url: GetWEBURL() + "/ReportStepPlatForm/DeleteGetLineBindStepBillList", |
| | | type: "GET", |
| | | data: { "HSourceID": HSourceID }, |
| | | dataType: "json",//数据类型可以为 text xml json script jsonp |
| | |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '生产管理/生产开工单/Sc_Add_MESBeginWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | content: '生产管理/报工台工序/开工/Sc_Add_MESBeginStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '生产管理/产量汇报单/Sc_Add_ProductReportBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | content: '生产管理/报工台工序/产量汇报/Sc_Add_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | //完工单按钮点击事件 |
| | | function OpenEnd(event, obj) { |
| | | if (wktag == 0) { |
| | |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '生产管理/生产完工单/Sc_Add_MESEndWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | content: '生产管理/报工台工序/完工/Sc_Add_MESEndStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | //停工单按钮点击事件 |
| | | function OpenStop(event, obj) { |
| | | if (wktag == 0) { |
| | |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '生产管理/生产停工单/Sc_Add_MESStopWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | content: '生产管理/报工台工序/停工/Sc_Add_MESStopStepWorkBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '生产管理/产量汇报单/Sc_ProductReportBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | content: '生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList.html?OperationType=2&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | |
| | | <legend style="color: #5FB878">操作台</legend> |
| | | <div class="content4"> |
| | | <div class="layui-row layui-col-space10"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenWork(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenWork(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-pause imgicon"></span> |
| | | <span class="imgtitle">开工</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenReport(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenStop(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-play imgicon"></span> |
| | | <span class="imgtitle">停工</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenReport(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-list imgicon"></span> |
| | | <span class="imgtitle">汇报</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenEnd(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenEnd(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-logout imgicon"></span> |
| | | <span class="imgtitle">完工</span> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-row layui-col-space10"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenFistCheck(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick=""> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-return imgicon"></span> |
| | | <span class="imgtitle">返工申请</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md3" 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="layui-col-sm12 layui-col-md3"> |
| | | <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)"> |
| | | <span class="layui-icon layui-icon-search imgicon"></span> |
| | | <span class="imgtitle">巡检</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenProcess(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenProcess(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-search imgicon"></span> |
| | | <span class="imgtitle">过程检验</span> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-row layui-col-space10"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenInSpection(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenInSpection(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-release imgicon"></span> |
| | | <span class="imgtitle">报检申请</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenMaterToSource(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="OpenMaterToSource(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-engine imgicon"></span> |
| | | <span class="imgtitle">上料防呆</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="BadGather(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="BadGather(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-chart 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="OpenStop(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-play imgicon"></span> |
| | | <span class="imgtitle">停工</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="ExceFeedback(event,this)"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="ExceFeedback(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-unlink imgicon"></span> |
| | | <span class="imgtitle">异常</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="Esc(event,this)"> |
| | | </div> |
| | | <div class="layui-row layui-col-space10"> |
| | | <div class="layui-col-sm12 layui-col-md3" onclick="Esc(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-close imgicon"></span> |
| | | <span class="imgtitle">退出</span> |