duhe
2023-09-07 ec45aed6396c2a65bc0b9ae1b433fa1c3f13c337
WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
@@ -40,6 +40,7 @@
            string msg3 = sArray[1].ToString();
            string msg4 = sArray[2].ToString();
            string msg5 = sArray[3].ToString();
            string OperationType = sArray[4].ToString();
            string HComputerName = SystemInformation.ComputerName; //设备名称    
            string UserName = "";
@@ -65,9 +66,10 @@
                {
                    UserName = oItem.HMaker;  //制单人
                    oItem.HBillType = "3772";
                    oItem.HBillSubType = "3772";
                    oItem.HBillSubType = OperationType=="5"?"SUB":"3772";
                    oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
                    oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
                    oItem.HDate = OperationType == "5" ? DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")) : oItem.HDate;
                    if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")
                    {
                        objJsonResult.code = "0";