| | |
| | | <script src="../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../layuiadmin/Scripts/json2.js" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | | <script src="../../../../Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script> |
| | | layui.use(['table', 'form', 'layer', 'element'], function () { |
| | | var table = layui.table |
| | |
| | | } |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "GetOpenTmpList_Json", |
| | | url: GetWEBURL() + "/Open_PrintTem/GetOpenTmpList_Json", |
| | | async: true, |
| | | data: { "HNumber": Value }, |
| | | //data: { "Value": Value }, |
| | |
| | | $.ajax( |
| | | { |
| | | type: "GET", |
| | | url: GetWEBURL() + "DelOpenTmp", //方法所在页面和方法名 |
| | | url: GetWEBURL() + "/Open_PrintTem/DelOpenTmp", //方法所在页面和方法名 |
| | | async: true, |
| | | data: { "HItemID": OpenTmp }, |
| | | dataType: "json", |
| | |
| | | $.ajax( |
| | | { |
| | | type: "GET", |
| | | url: GetWEBURL() + "SaveOpenTmp", //方法所在页面和方法名 |
| | | url: GetWEBURL() + "/Open_PrintTem/SaveOpenTmp", //方法所在页面和方法名 |
| | | async: true, |
| | | data: { "HNumber": Tmp.HNumber, "HName": Tmp.HName }, |
| | | dataType: "json", |
| | |
| | | , data = checkStatus.data; |
| | | var OpenTmp = data[0].模板名称; |
| | | //打开打印模板 |
| | | window.open("../../views/SRM/HBarPlanPrint.html?linterid=" + linterid.toString() + "&Type=" + Type.toString() + "&OpenTmp=" + OpenTmp.toString()); |
| | | window.open("../基础资料/公用基础资料/HBarPlanPrint.html?linterid=" + linterid.toString() + "&Type=" + Type.toString() + "&OpenTmp=" + OpenTmp.toString()); |
| | | //根据模块获取WEBAPI链接 |
| | | var url = ""; |
| | | switch (Type) |
| | | { |
| | | switch (Type) { |
| | | case "HBarCodePrint": |
| | | url = "UpdateBarcodePrintQty" |
| | | break; |
| | |
| | | async: true, |
| | | data: { "msg": MyMsg }, |
| | | dataType: "json", |
| | | contentType: 'application/json', |
| | | success: function (data) { |
| | | //if (data.count == 1) { // 说明验证成功了, |
| | | // layer.msg(data.Message, { icon: 1 }); |