| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_MESTransFerWorkBill/GetOA_WorkLinkBillListCheckDetai", |
| | | type: "GET", |
| | | data: { "HID": linterid,"HEntryID": HEntryID}, |
| | | data: { "HID": linterid}, |
| | | success: function (result) { |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data[0]; |
| | |
| | | layer.msg("æ¥æ¶äººä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | |
| | | if ($("#HDeptName").val() == '' || $("#HDeptName").val() == null) { |
| | | layer.msg("åéé¨é¨ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | //if (OperationType == "2") { |
| | | // if ($("#HMainSourceInterID").val() == '' || $("#HMainSourceInterID").val() == null) { |
| | | // layer.msg("æºååå·ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | |
| | | type: "GET", |
| | | async: false, |
| | | data: { |
| | | "HID": linterid, |
| | | "HEntryID": HEntryID |
| | | "HID": linterid |
| | | }, |
| | | success: function (result) { |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var HInterID = data[0].hmainid.toString(); |
| | | var HEntryID = data[0].HEntryID.toString(); |
| | | if (data[0].HEntryID == null || HEntryID == '') { |
| | | var HEntryID = ''; |
| | | } else { |
| | | var HEntryID = data[0].HEntryID.toString(); |
| | | } |
| | | //if (AllowLoadData(sSubStr) != false) {//é空éªè¯ |
| | | layer.open({ |
| | | type: 2 |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: 'OA_Add_Edit_WorkLinkBill.html?OperationType=3&linterid=' + HInterID + '&HEntryID=' + HEntryID + '&HSouceBillType=' |
| | | , content: 'OA_Add_Edit_WorkLinkBill.html?OperationType=3&linterid=' + HInterID + '&HEntryID=' + 15 + '&HSouceBillType=' |
| | | , resize: false, |
| | | end: function () { |
| | | get_FastQuery(table, option); |