| | |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 125, sort: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 125, sort: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', width: 125, sort: true } |
| | | , { field: 'è¡ç¶æ', title: 'è¡ç¶æ', width: 125, sort: true } |
| | | , { field: 'HBillType', title: 'HBillType', hide: true, sort: true } |
| | | , { field: 'HCusID', title: 'HCusID', hide: true, sort: true } |
| | | , { field: '客æ·ä»£ç ', title: '客æ·ä»£ç ', width: 125, sort: true } |
| | |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', sort: true } |
| | | , { field: '计éåä½', title: '计éåä½', width: 125, sort: true } |
| | | , { field: 'æ°é', title: 'æ°é', sort: true } |
| | | , { field: 'å·²å
³èæ°é', title: 'å·²å
³èæ°é', sort: true } |
| | | , { field: 'åä»·', title: 'åä»·', sort: true } |
| | | , { field: 'éé¢', title: 'éé¢', sort: true } |
| | | , { field: 'HWHID', title: 'HWHID', hide: true, sort: true } |
| | |
| | | var HSourceEntryID = data[0].æºååå
ç ; |
| | | //é»è¾å 餿¹æ³ |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Xs_SeOutStockBill/DeltetSeOutStockBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "HsupId": HsupId, "HQty": HQty, "HSourceInterID": HSourceInterID, "HSourceEntryID": HSourceEntryID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | if (data[0].ç¶æ=="å建") { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Xs_SeOutStockBill/DeltetSeOutStockBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "HsupId": HsupId, "HQty": HQty, "HSourceInterID": HSourceInterID, "HSourceEntryID": HSourceEntryID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | } else { |
| | | layer.msg('æ¤æ¡æ°æ®ä¸æ¯åå»ºç¶æ,æ æ³å é¤ï¼'); |
| | | } |
| | | |
| | | }) |
| | | } |
| | | else { |