Beispiel #1
0
 public static bool dellNewCCashBack(string id, string cid, ref string a_strErr)
 {
     if (SalesPro.dellCCashBack(id, cid, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 public static bool InsertBiddingNew(tk_CFile fileUp, HttpFileCollection Filedata, ref string strErr)
 {
     if (SalesPro.InsertBiddingNew(fileUp, Filedata, ref strErr) > 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #3
0
 public static bool UpdateNewCCashBack(CCashBack Cash, ref string a_strErr)
 {
     if (SalesPro.UpdateCCashBack(Cash, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #4
0
 public static bool EXUpdateNewApproval(string IsPass, string Opinion, string Remark, string PID, string webkey, string folderBack, string RelevanceID, ref string a_strErr)
 {
     if (SalesPro.EXUpdateApproval(IsPass, Opinion, Remark, PID, webkey, folderBack, RelevanceID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #5
0
 public static bool InsertNewFile(string id, byte[] fileByte, string FileName, ref string a_strErr)
 {
     if (SalesPro.InsertFile(id, fileByte, FileName, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #6
0
 public static bool EXInsertNewApproval(string PID, string RelevanceID, string webkey, string folderBack, ref string a_strErr)
 {
     if (SalesPro.EXInsertApproval(PID, RelevanceID, webkey, folderBack, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #7
0
 public static bool DellNewFile(string ID, ref string a_strErr)
 {
     if (SalesPro.DeleteFile(ID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #8
0
        //获取未回款的订单
        public static List <SelectListItem> GetOrderID()
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dt       = SalesPro.GetOrderID();

            if (dt == null)
            {
                return(ListItem);
            }
            SelectListItem SelListItem = new SelectListItem();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                SelListItem       = new SelectListItem();
                SelListItem.Value = dt.Rows[i]["OrderID"].ToString();
                SelListItem.Text  = dt.Rows[i]["OrderID"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
Beispiel #9
0
        public static List <SelectListItem> GetUM_USER(string DeptID)
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dt       = SalesPro.GetUM_USER(DeptID);

            if (dt == null)
            {
                return(ListItem);
            }
            SelectListItem SelListItem = new SelectListItem();

            SelListItem.Value = "";
            SelListItem.Text  = "";
            ListItem.Add(SelListItem);
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                SelListItem       = new SelectListItem();
                SelListItem.Value = dt.Rows[i]["UserName"].ToString();//UserId
                SelListItem.Text  = dt.Rows[i]["UserName"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
Beispiel #10
0
 public static DataTable GetOrderStaticalGrid(string where)
 {
     return(SalesPro.GetOrderStaticalGrid(where));
 }
Beispiel #11
0
 public static string GetOrderStatistical(string where)
 {
     return(SalesPro.GetOrderStaticstical(where));
 }
Beispiel #12
0
 public static string getNewCountDebt(string where)
 {
     return(SalesPro.getCountDebt(where));
 }
Beispiel #13
0
 public static UIDataTable GetOrdersInfoStatisticalGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(SalesPro.GetOrdersInfoStatisticalGrid(a_intPageSize, a_intPageIndex, where));
 }
Beispiel #14
0
 public static string GetContractID(string OrderID)
 {
     return(SalesPro.GetContractID(OrderID));
 }
Beispiel #15
0
 public static DataTable GetStatisticsManageTable(string where)
 {
     return(SalesPro.GetStatisticsManageTable(where));
 }
Beispiel #16
0
 public static bool InsertProFinish(ProFinish profinish, ref string strErr)
 {
     return(SalesPro.InsertProFinish(profinish, ref strErr));
 }
Beispiel #17
0
 public static UIDataTable GetEXOrderApprovalGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(SalesPro.GetEXOrderApprovalGrid(a_intPageSize, a_intPageIndex, where));
 }
Beispiel #18
0
 //调压箱统计
 public static DataTable GetPressureRegulatingBoxTable(string StartDate, string EndDate)
 {
     return(SalesPro.GetPressureRegulatingBoxTable(StartDate, EndDate));
 }
Beispiel #19
0
 public static int ExJudgeNewLoginUser(string userid, string webkey, string folderBack, string SPID)
 {
     return(SalesPro.ExjudgeLoginUser(userid, webkey, folderBack, SPID));
 }
Beispiel #20
0
 //本月累计汇总
 public static DataTable GetMonthsSalesSummaryTable(string where)
 {
     return(SalesPro.GetMonthsSalesSummaryTable(where));
 }
Beispiel #21
0
 public static DataTable EXGetContractSPID(string CID)
 {
     return(SalesPro.EXGetContractSPID(CID));
 }
Beispiel #22
0
 public static UIDataTable GetUserLogGrid(int a_intPageSize, int a_intPageIndex, string ReleVanceID)
 {
     return(SalesPro.GetUserLogGrid(a_intPageSize, a_intPageIndex, ReleVanceID));
 }
Beispiel #23
0
 //人员统计分析
 public static DataTable SalesSummaryTable(string where)
 {
     return(SalesPro.SalesSummaryTable(where));
 }
Beispiel #24
0
 public static decimal getNewDebtAmount(string OrderID)
 {
     return(SalesPro.getDebtAmount(OrderID));
 }
Beispiel #25
0
 public static string  GetSalesSummary(string where)
 {
     return(SalesPro.GetSalesSummary(where));
 }
Beispiel #26
0
 public static UIDataTable EXGetProjectBasApprovalGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(SalesPro.EXGetProjectBasApprovalGrid(a_intPageSize, a_intPageIndex, where));
 }
Beispiel #27
0
 //设备统计
 public static DataTable GetEquipmentSalesSummaryTable(string StartDate, string EndDate)
 {
     return(SalesPro.GetEquipmentSalesSummaryTable(StartDate, EndDate));
 }
Beispiel #28
0
 public static UIDataTable EXgetNewConditionGrid(int a_intPageSize, int a_intPageIndex, string where, string folderBack)
 {
     return(SalesPro.EXgetConditionGrid(a_intPageSize, a_intPageIndex, where, folderBack));
 }
Beispiel #29
0
 //高压箱统计
 public static DataTable GetHighVoltageCompartmentTable(string StartDate, string EndDate)
 {
     return(SalesPro.GetHighVoltageCompartmentTable(StartDate, EndDate));
 }
Beispiel #30
0
 //public static int JudgeNewLoginUser(string userid, string webkey, string folderBack, string SPID)
 //{
 //    return SalesPro.judgeLoginUser(userid, webkey, folderBack, SPID);
 //}
 #endregion
 #region [结算]
 public static string getNewFinishID()
 {
     return(SalesPro.getNewFinishID());
 }