| | |
| | | //加载查询条件 |
| | | protected void InitialSelectData() |
| | | { |
| | | this.selDriverId.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("驾驶员")) ; |
| | | this.selDriverId.DataTextField = "Name"; |
| | | this.selDriverId.DataValueField = "Keyid"; |
| | | this.selDriverId.DataBind(); |
| | | this.selDriverId.Items.Insert(0, new ListItem("全部", "")); |
| | | //this.selDriverId.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("驾驶员")) ; |
| | | //this.selDriverId.DataTextField = "Name"; |
| | | //this.selDriverId.DataValueField = "Keyid"; |
| | | //this.selDriverId.DataBind(); |
| | | //this.selDriverId.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | this.selCarId.DataSource = _OA_CarManageBll.SelectListByFirmId(CurrentUser.MemberId); |
| | | this.selCarId.DataTextField = "CarNumber"; |
| | |
| | | this.selBusinessManager.DataValueField = "Keyid"; |
| | | this.selBusinessManager.DataBind(); |
| | | this.selBusinessManager.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | this.selPaiche.Value = "2"; |
| | | |
| | | |
| | | //this.selDriverIddo.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("驾驶员")); |
| | |
| | | CurrentUser.MemberId, |
| | | this.txtDeliveryTime.Value, |
| | | this.selCarId.Value, |
| | | this.selDriverId.Value, |
| | | "", |
| | | "", |
| | | this.txtCustormerName.Value.Trim(), |
| | | this.selBusinessManager.Value |
| | | this.selBusinessManager.Value,this.selPaiche.Value |
| | | ); |
| | | |
| | | |
| | | foreach (var oA_DeliverPlan in oA_DeliverPlans) |
| | | { |
| | | oA_DeliverPlan.DizhiLianxirenDianhua = oA_DeliverPlan.Dizhi; |
| | | if (!string.IsNullOrEmpty(oA_DeliverPlan.Lianxiren)) |
| | | { |
| | | oA_DeliverPlan.DizhiLianxirenDianhua += " 联系人:" + oA_DeliverPlan.Lianxiren; |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(oA_DeliverPlan.Dianhua)) |
| | | { |
| | | oA_DeliverPlan.DizhiLianxirenDianhua += " 电话:" + oA_DeliverPlan.Dianhua; |
| | | } |
| | | } |
| | | |
| | | |
| | | |