yusijie
2024-07-17 c0e503107d910761bb8ceb287bc3dfbab44d8ae5
WebAPI/Controllers/¹¤×ʹÜÀí/Pay_ProcPriceRequestBillController.cs
@@ -620,7 +620,7 @@
            public string HBackerDate;
            public string HBackRemark;
            public string HChangeType;
            public string HChangeValue;
            public Double HChangeValue;
        }
        #endregion
        #region å­è¡¨
@@ -653,6 +653,7 @@
            public double HRelationMoney;
            public string HCloseMan;
            public string HEntryCloseDate;
            public int HWorkCenterID;
        }
        #endregion
        #region å®šé¢ç”³è¯·å• æ–°å¢ž/编辑
@@ -759,7 +760,7 @@
                string HBackerDate = mainList[0].HBackerDate;
                string HBackRemark = mainList[0].HBackRemark;
                string HChangeType = mainList[0].HChangeType;
                string HChangeValue = mainList[0].HChangeValue;
                Double HChangeValue = mainList[0].HChangeValue;
                //保存前控制
                DataSet BeforeDs = oCn.RunProcReturn("Exec h_p_Pay_ProcPriceRequestBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Pay_ProcPriceRequestBill_BeforeSaveCtrl");
                if (BeforeDs == null || BeforeDs.Tables[0].Rows.Count == 0)
@@ -815,6 +816,7 @@
                }
                else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0)                    //编辑
                {
                    string sql = "update Pay_ProcPriceRequestBillMain set " +
                        "HYear = " + HYear +
                        ", HPeriod = " + HPeriod +
@@ -919,12 +921,12 @@
                string HSourceBillType = oSub.HSourceBillType;
                double HRelationQty = oSub.HRelationQty;
                double HRelationMoney = oSub.HRelationMoney;
                int HWorkCenterID = oSub.HWorkCenterID;
                string sql = "insert into Pay_ProcPriceRequestBillSub" +
                    "(HInterID,HEntryID,HMaterID,HProcID,HSourceID,HOldPrice,HPrice,HOldFixPrice,HFixPrice,HBeginDate,HEndDate,HCostFlag,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo" +
                    ",HSourceBillType,HRelationQty,HRelationMoney) " +
                    ",HSourceBillType,HRelationQty,HRelationMoney,HWorkCenterID) " +
                    "values(" +
                    "" + HInterID +
                    "," + HEntryID +
@@ -945,6 +947,7 @@
                    "','" + HSourceBillType +
                    "'," + HRelationQty +
                    "," + HRelationMoney +
                    "," + HWorkCenterID +
                    ")";
                oCn.RunProc(sql);