| | |
| | | url: GetWEBURL() + "/MaterOutEntryReport/SemiFinishedProductsReportList", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere, "num": 1}, |
| | | data: { "sWhere": sWhere, "num": 1, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | |
| | | if (data1.count == 1) { |
| | |
| | | } |
| | | }; |
| | | table.render(option); |
| | | } else { |
| | | layer.alert(data1.count + data1.Message, { icon: 5 }) |
| | | } |
| | | }, |
| | | error: function (err) { |
| | |
| | | url: GetWEBURL() + "/MaterOutEntryReport/SemiFinishedProductsReportList", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere,"num":2 }, |
| | | data: { "sWhere": sWhere, "num": 2, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | |
| | | if (data1.count == 1) { |
| | |
| | | HNumberOH = 0; |
| | | HActualHQty = 0; |
| | | |
| | | } else { |
| | | layer.alert(data1.count + data1.Message, { icon: 5 }) |
| | | } |
| | | }, |
| | | error: function (err) { |