| | |
| | | } |
| | | } |
| | | |
| | | public void CrSetCheck(string crNo, string crDetail, string palletNo, string boxNo, string boxNo3, string result, int? qty, string isContinue, int userId) |
| | | public void CrSetCheck(string crNo, string crDetail, string palletNo, string boxNo, string boxNo3, string result, decimal? qty, string isContinue, int userId) |
| | | { |
| | | try |
| | | { |
| | |
| | | |
| | | |
| | | var list = checkLog.ToList(); |
| | | decimal num = 0; |
| | | var num = 0; |
| | | foreach (var l in list) |
| | | { |
| | | l.RealQty = 0; |
| | | l.CheckResult = 1; |
| | | l.CheckDate = time; |
| | | l.CheckUserId = userId; |
| | | num -= (decimal)l.RealQty; |
| | | num -= int.Parse(l.RealQty.ToString()); |
| | | } |
| | | if (checkDetail.RealQty == null) |
| | | { |