| | |
| | | , { field: '状态', title: '状态', width: 100, sort: true/*, fixed: true*/ } |
| | | , { field: '条码编号', title: '条码编号', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: '物料编码', title: '物料编码', width: 120, sort: true/*, fixed: true*/ } |
| | | , { field: '旧物料编码', title: '旧物料编码', width: 120, sort: true/*, fixed: true*/ } |
| | | , { field: '物料代码', title: '物料代码', width: 120, sort: true/*, fixed: true*/ } |
| | | , { field: '物料名称', title: '物料名称', width: 120, sort: true } |
| | | , { field: '数量', title: '数量', width: 100, sort: true } |
| | |
| | | //, skin: 'row' //表格风格 |
| | | // , even: true |
| | | , page: true //是否显示分页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limits: [10, 20, 50, 100,500,5000,10000] |
| | | , limit: 50 //每页默认显示的数量 |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | |
| | | , shade: 0.6 //遮罩透明度 |
| | | , maxmin: false //允许全屏最小化 |
| | | , anim: 0 //0-6的动画形式,-1不开启 |
| | | , content: ['../../views/BaseSet/SRM_OpenTmpList.html?linterid=' + sessionStorage["HUserName"] + '&HBarcode=&Type=HBarCodePrint', 'yes'] |
| | | , content: ['../../views/BaseSet/SRM_OpenTmpList.html?linterid=' + sessionStorage["HUserName"] + '&HBarcode=&Type=SRM_POOrderBillList', 'yes']// 安瑞 type ='SRM_POOrderBillList' 原type = 'HBarCodePrint' |
| | | , resize: false |
| | | }) |
| | | } |
| | |
| | | InterID += data[i].HItemID.toString() + ","; |
| | | } |
| | | InterID = InterID.substring(0, InterID.length - 1) |
| | | |
| | | var oData = JSON.stringify(InterID) + ";" + sessionStorage["HUserName"]; |
| | | |
| | | //逻辑删除方法 |
| | | layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) { |
| | | $.ajax({ |
| | | type: "GET", |
| | | type: "POST", |
| | | url: GetWEBURL() + "/DeltetBarCodeBill", //方法所在页面和方法名 |
| | | data: { "HInterID": InterID, "HUserName": sessionStorage["HUserName"] }, |
| | | data: { "oData": oData}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |