| | |
| | | } |
| | | } |
| | | else { |
| | | layer.alert(data.Message, { icon: 5 }); |
| | | return false; |
| | | var html1 = ''; |
| | | html1 += '<div class="layui-col-sm12 layui-col-md3">'; |
| | | html1 += '<div class="cnt ctop" id="ts1" onclick="Check(this,1)">'; |
| | | html1 += '<span class="layui-icon layui-icon-addition imgicon0" onclick="Add(event,this,1)"></span>'; |
| | | html1 += '</div>'; |
| | | html1 += '</div>'; |
| | | $("#topleft").append(html1); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | |
| | | "HSourceName": HSourceName1, |
| | | "HICMOInterID": HICMOInterID, |
| | | "HICMOEntryID": HICMOEntryID, |
| | | "HMaker": "Admin" //sessionStorage["HUserName"] |
| | | "HMaker": "Admin", //sessionStorage["HUserName"] |
| | | //"HEmpID": "0", //sessionStorage["HEmpID"] |
| | | "HSourceBillType": HSourceBillType |
| | | }); |
| | | |
| | | //通过索引获取到当前iframe弹出层 |
| | |
| | | iframe.edit(data); |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | //首检检验 |
| | | function OpenFistCheck(event, obj) |
| | | { |
| | | 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 () { |
| | | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //过程检验 |
| | | function OpenProcess(event, obj) |
| | | { |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: '工序检验单-编辑' |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['质量管理/工序检验单/QC_ProcessCheckBill.html?OperationType=2&linterid=' + HSourceInterID +'&HSouceBillType=' + HBillType, 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | |
| | | } |
| | | , end: function () { |
| | | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //退出 |
| | | function Esc(event, obj) |
| | | { |
| | | parent.location.href = "index.html" |
| | | |
| | | } |
| | | |
| | | //单据状态验证 |
| | |
| | | </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> |
| | |
| | | <span class="imgtitle">巡检</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="OpenProcess(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-search imgicon"></span> |
| | | <span class="imgtitle">过程检验</span> |
| | |
| | | <span class="imgtitle">异常</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-sm12 layui-col-md4"> |
| | | <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)"> |
| | | <div class="layui-col-sm12 layui-col-md4" onclick="Esc(event,this)"> |
| | | <div class="cnt bottomright"> |
| | | <span class="layui-icon layui-icon-close imgicon"></span> |
| | | <span class="imgtitle">退出</span> |
| | | </div> |