| | |
| | | string HBarCode_Pack = list[0].HBarCode_Pack; |
| | | long HCustomQty1 = list[0].HCustomQty1; |
| | | DateTime HProduceDate = list[0].HProduceDate; //鐢熶骇鏃ユ湡锛堜繚璐ㄦ湡鐢級 |
| | | DateTime HExpiryDate = list[0].HExpiryDate; //淇濊川鏈熻嚦锛堜繚璐ㄦ湡鐢級 |
| | | |
| | | DateTime HExpiryDate = list[0].HExpiryDate; //淇濊川鏈熻嚦锛堜繚璐ㄦ湡鐢級 |
| | | |
| | | //杩涜 浼氳鏈熼棿 缁撹处 鐨勫垽鏂拰鎺у埗 |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | DateTime HDate = DateTime.Now; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | objJsonResult.Message = s; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ////鍒ゆ柇鏉冮檺 |
| | | //if (!ClsPub.Security_Log(msg5, 1, false, msg4)) |
| | |
| | | { |
| | | try |
| | | { |
| | | //杩涜 浼氳鏈熼棿 缁撹处 鐨勫垽鏂拰鎺у埗 |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | DateTime HDate = DateTime.Now; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | objJsonResult.Message = s; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | oCN.RunProc("Delete From Gy_BarCodeBill_Out where HItemID = " + HItemID); |
| | | oCN.Commit(); |