WebAPI/Controllers/仓存管理/条码生成/Gy_BarCodeBill_OutController.cs
@@ -238,8 +238,18 @@
                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))
@@ -365,6 +375,17 @@
        {
            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();