批量操作----提升查询效率
订单收款增加导出功能
送货 预期,所有没有送货的订单
| | |
| | | { |
| | | string Condition = " and od.FirmId ='" + FirmId + "' and od.shifouDelivery = 1 "; |
| | | |
| | | if (!string.IsNullOrEmpty(DeliveredTime)) |
| | | if (!string.IsNullOrEmpty(DeliveredTime) && DeliveredTime!="预期") |
| | | Condition += " and DATEDIFF(day,od.[DeliverTime],'" + DeliveredTime + "')=0 "; |
| | | |
| | | if (!string.IsNullOrEmpty(CarId)) |
| | |
| | | <Content Include="Pages\financial\FirmAccountPrintTable.aspx" /> |
| | | <Content Include="Pages\financial\MemberOrderMoneyReceive.aspx" /> |
| | | <Content Include="Pages\financial\MemberOrderPayList.aspx" /> |
| | | <Content Include="Pages\financial\OrderFinancialPrint.aspx" /> |
| | | <Content Include="Pages\financial\OrderMoneyBatchReceive.aspx" /> |
| | | <Content Include="Pages\financial\OutsourcePayMoney.aspx" /> |
| | | <Content Include="Pages\financial\OutsourcePayOrder.aspx" /> |
| | |
| | | <Compile Include="Pages\financial\MemberOrderPayList.aspx.designer.cs"> |
| | | <DependentUpon>MemberOrderPayList.aspx</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Pages\financial\OrderFinancialPrint.aspx.cs"> |
| | | <DependentUpon>OrderFinancialPrint.aspx</DependentUpon> |
| | | <SubType>ASPXCodeBehind</SubType> |
| | | </Compile> |
| | | <Compile Include="Pages\financial\OrderFinancialPrint.aspx.designer.cs"> |
| | | <DependentUpon>OrderFinancialPrint.aspx</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Pages\financial\OrderMoneyBatchReceive.aspx.cs"> |
| | | <DependentUpon>OrderMoneyBatchReceive.aspx</DependentUpon> |
| | | <SubType>ASPXCodeBehind</SubType> |
| | |
| | | 送货时间:
|
| | | </td>
|
| | | <td colspan="5">
|
| | | <asp:button id="Button0" text="预期" runat="server" padding="0px" OnClick="btn_Search_Click0" />
|
| | | <asp:button id="Button1" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click1" />
|
| | | <asp:button id="Button2" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click2" />
|
| | | <asp:button id="Button3" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click3" />
|
| | |
| | | this.selCarIddo.DataBind(); |
| | | this.selCarIddo.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | |
| | | this.Button0.Text = "预期"; |
| | | this.Button1.Text = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | this.Button2.Text = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd"); |
| | | this.Button3.Text = DateTime.Now.AddDays(2).ToString("yyyy-MM-dd"); |
| | |
| | | { |
| | | BindList(); |
| | | } |
| | | |
| | | protected void btn_Search_Click0(object sender, EventArgs e) |
| | | { |
| | | |
| | | this.txtDeliveryTime.Value = this.Button0.Text; |
| | | |
| | | BindList(); |
| | | } |
| | | |
| | | protected void btn_Search_Click1(object sender, EventArgs e) |
| | | { |
| | | |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button2.Text) |
| | | { |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button3.Text) |
| | | { |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button4.Text) |
| | | { |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button5.Text) |
| | | { |
| | |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button6.Text) |
| | | { |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button7.Text) |
| | | { |
| | |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | |
| | | else if (this.txtDeliveryTime.Value == this.Button0.Text) |
| | | { |
| | | this.Button0.BorderColor = Color.Black; |
| | | this.Button2.BorderColor = Color.LightBlue; |
| | | this.Button3.BorderColor = Color.LightBlue; |
| | | this.Button4.BorderColor = Color.LightBlue; |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | } |
| | | |
| | | |
| | | Pagination pa = new Pagination(); |
| | |
| | | protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
| | | |
| | | /// <summary> |
| | | /// Button0 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.WebControls.Button Button0; |
| | | |
| | | /// <summary> |
| | | /// Button1 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | |
| | | bool result = eC_OrderBLL.OldUpdateDelayTime(eC_OrderExtend); |
| | | |
| | | if (result) |
| | | JavaScript.MessageBoxs("更新成功", this, true, true); |
| | | JavaScript.MessageBox("更新成功", this, true, true); |
| | | else |
| | | JavaScript.MessageBox("更新失败", this); |
| | | |
| | |
| | | // AspNetPager_PageChanged(UCPager1.AspNetPager, new EventArgs()); |
| | | Infrastructure.Query.Pagination pagination = new Infrastructure.Query.Pagination() |
| | | { |
| | | PageSize = 1000,// UCPager1.AspNetPager.PageSize, |
| | | PageSize = 100,// UCPager1.AspNetPager.PageSize, |
| | | PageIndex = 1// UCPager1.AspNetPager.CurrentPageIndex |
| | | }; |
| | | IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Seller(pagination, SearchParam);//.Where(x=>x.Quchudingdan == 2); |
| | |
| | | <option value ="7天"> </option> |
| | | <option value ="一周后"> </option> |
| | | </select>--%> |
| | | |
| | | <asp:button id="Button0" text="预期" runat="server" padding="0px" OnClick="btn_Search_Click0" /> |
| | | <asp:button id="Button1" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click1" /> |
| | | <asp:button id="Button2" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click2" /> |
| | | <asp:button id="Button3" text="日期" runat="server" padding="0px" OnClick="btn_Search_Click3" /> |
| | |
| | | |
| | | BindList(); |
| | | } |
| | | protected void btn_Search_Click0(object sender, EventArgs e) |
| | | { |
| | | |
| | | this.txtDeliveryTime.Value = this.Button0.Text; |
| | | |
| | | BindList(); |
| | | } |
| | | protected void btn_Search_Click2(object sender, EventArgs e) |
| | | { |
| | | |
| | |
| | | this.selBusinessManager.DataValueField = "Keyid"; |
| | | this.selBusinessManager.DataBind(); |
| | | this.selBusinessManager.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | this.Button0.Text = "预期"; |
| | | this.Button1.Text = "明天"; |
| | | this.Button2.Text = "后天"; |
| | | this.Button3.Text = "3天"; |
| | |
| | | |
| | | if (this.txtDeliveryTime.Value == this.Button1.Text) |
| | | { |
| | | |
| | | this.Button1.BorderColor = Color.Black; |
| | | this.Button2.BorderColor = Color.LightBlue; |
| | | this.Button3.BorderColor = Color.LightBlue; |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button2.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button3.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button4.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button5.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button6.Text) |
| | | { |
| | |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button7.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button8.Text) |
| | | { |
| | |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button0.BorderColor = Color.LightBlue; |
| | | } |
| | | else if (this.txtDeliveryTime.Value == this.Button0.Text) |
| | | { |
| | | this.Button0.BorderColor = Color.Black; |
| | | this.Button2.BorderColor = Color.LightBlue; |
| | | this.Button3.BorderColor = Color.LightBlue; |
| | | this.Button4.BorderColor = Color.LightBlue; |
| | | this.Button5.BorderColor = Color.LightBlue; |
| | | this.Button6.BorderColor = Color.LightBlue; |
| | | this.Button1.BorderColor = Color.LightBlue; |
| | | this.Button7.BorderColor = Color.LightBlue; |
| | | this.Button8.BorderColor = Color.LightBlue; |
| | | } |
| | | |
| | | |
| | |
| | | protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
| | | |
| | | /// <summary> |
| | | /// Button0 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.WebControls.Button Button0; |
| | | |
| | | /// <summary> |
| | | /// Button1 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | |
| | | bool result = eC_OrderBLL.OldUpdateProductionprogress(eC_OrderExtend); |
| | | |
| | | if (result) |
| | | JavaScript.MessageBoxs("操作成功", this, true, true); |
| | | JavaScript.MessageBox("操作成功", this, true, true); |
| | | else |
| | | JavaScript.MessageBox("操作失败", this); |
| | | |
| | |
| | | $("#NowPageAlreadyMoney").html(value_NowPageAlreadyMoney.toFixed(2)); |
| | | $("#NowPageNoMoney").html(value_NowPageNoMoney.toFixed(2)); |
| | | }); |
| | | |
| | | /* |
| | | 打印送货单 |
| | | */ |
| | | function ToPrintdelev() { |
| | | var txtBeginData= $("#txtBeginData").val(); |
| | | var txtEndDate= $("#txtEndDate").val(); |
| | | var selPrintTypes = $("#selPrintTypes").val(); |
| | | |
| | | var selOrderTypes = $("#selOrderTypes").val(); |
| | | var selPayStates = $("#selPayStates").val(); |
| | | var selCustormerLevels = $("#selCustormerLevels").val(); |
| | | var selAccountManagerId = $("#selAccountManagerId").val(); |
| | | var selBusinessManagerId = $("#selBusinessManagerId").val(); |
| | | var selOrderStates = $("#selOrderStates").val(); |
| | | var txtCreaterName = $("#txtCreaterName").val(); |
| | | var txtOrderId = $("#txtOrderId").val(); |
| | | var txtCustormerName = $("#txtCustormerName").val(); |
| | | |
| | | |
| | | // OpenWindowByUrl(); |
| | | OpenWindowByUrl('/Pages/financial/OrderFinancialPrint.aspx?txtBeginData=' + txtBeginData + '&txtEndDate=' + txtEndDate + '&selPrintTypes=' + selPrintTypes |
| | | + '&selOrderTypes=' + selOrderTypes + '&selPayStates=' + selPayStates + '&selCustormerLevels=' + selCustormerLevels + '&selAccountManagerId=' + selAccountManagerId |
| | | + '&selBusinessManagerId=' + selBusinessManagerId + '&selOrderStates=' + selOrderStates + '&txtCreaterName=' + txtCreaterName + '&txtOrderId=' + txtOrderId |
| | | + '&txtCustormerName=' + txtCustormerName |
| | | , '', ''); |
| | | } |
| | | |
| | | </script> |
| | | <style type="text/css"> |
| | | .th_operate{display<%=null == Request["customeid"]?"1":""%>:none;} |
| | |
| | | </td> |
| | | <td align="right"> |
| | | <asp:Button ID="btn_Search" Text="查询" runat="server" /> <input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' /> |
| | | <input type="button" value='打印' onclick='ToPrintdelev();' /> |
| | | <input type="hidden" id='txtCommission' runat="server" /> |
| | | </td> |
| | | </tr> |
| | |
| | | // <自动生成> |
| | | // 此代码由工具生成。 |
| | | // |
| | | // 对此文件的更改可能会导致不正确的行为,并且如果 |
| | | // 重新生成代码,这些更改将会丢失。 |
| | | // 对此文件的更改可能导致不正确的行为,如果 |
| | | // 重新生成代码,则所做更改将丢失。 |
| | | // </自动生成> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace CY.WebForm.Pages.financial { |
| | | |
| | | |
| | | public partial class OrderFinancial { |
| | | |
| | | namespace CY.WebForm.Pages.financial |
| | | { |
| | | |
| | | |
| | | public partial class OrderFinancial |
| | | { |
| | | |
| | | /// <summary> |
| | | /// CMSHead1 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::CY.WebForm.Pages.common.CMSHead CMSHead1; |
| | | |
| | | |
| | | /// <summary> |
| | | /// form1 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtBeginData 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputText txtBeginData; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtEndDate 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputText txtEndDate; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selPrintTypes 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selPrintTypes; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selOrderTypes 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selOrderTypes; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selPayStates 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selPayStates; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selCustormerLevels 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selCustormerLevels; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selAccountManagerId 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selAccountManagerId; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selBusinessManagerId 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selBusinessManagerId; |
| | | |
| | | |
| | | /// <summary> |
| | | /// selOrderStates 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlSelect selOrderStates; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtCreaterName 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputText txtCreaterName; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtOrderId 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputText txtOrderId; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtCustormerName 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputText txtCustormerName; |
| | | |
| | | |
| | | /// <summary> |
| | | /// btn_Search 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.WebControls.Button btn_Search; |
| | | |
| | | |
| | | /// <summary> |
| | | /// txtCommission 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlInputHidden txtCommission; |
| | | |
| | | |
| | | /// <summary> |
| | | /// rptData 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.WebControls.Repeater rptData; |
| | | |
| | | |
| | | /// <summary> |
| | | /// NowPageAllMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl NowPageAllMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// NowPageAlreadyMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl NowPageAlreadyMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// NowPageNoMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl NowPageNoMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// AllMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl AllMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// AlreadyMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl AlreadyMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// NoMoney 控件。 |
| | | /// </summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl NoMoney; |
| | | |
| | | |
| | | /// <summary> |
| | | /// UCPager1 控件。 |
| | | /// </summary> |
New file |
| | |
| | | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderFinancialPrint.aspx.cs" Inherits="CY.WebForm.Pages.financial.OrderFinancialPrint" %> |
| | | |
| | | <!DOCTYPE html> |
| | | |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head id="Head1" runat="server"> |
| | | <title>订单详情</title> |
| | | <script src="../../js/utils/jquery-1.5.1.min.js" type="text/javascript"></script> |
| | | <script src="../../js/common/util.js" type="text/javascript"></script> |
| | | <script src="../../js/common/KeyBehaviorHook.js" type="text/javascript"></script> |
| | | <script src="../../js/common/Printterpiliang.js?v=16" type="text/javascript"></script> |
| | | <script src="../../js/common/LodopFuncs.js" type="text/javascript"></script> |
| | | <link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" /> |
| | | <!--前台页面start--> |
| | | <style type="text/css"> |
| | | .dbody { margin: 0; margin-left: auto; margin-right: auto; } |
| | | .dtitle { text-align: center; font-size: 19px; font-weight: bold; margin-top: 10px; margin-bottom: 10px; } |
| | | .dbody table { width: 100%; border: 1px solid #dddddd; font-size: 12px; margin-top: 5px; border-top: 1px #999999 solid; } |
| | | .dbody table th, .dbody table td { font-weight: normal; height: 20px; line-height: 20px; vertical-align: middle; border: 1px solid #999999; border-top: 0; } |
| | | .dbody table th { background-color: #E0EDF6; font-weight: bold; } |
| | | .dbody table td { border-left: 0; padding-left:2px; } |
| | | .left {text-align: right; } |
| | | #div_tool { text-align: center; } |
| | | </style> |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | </script> |
| | | </head> |
| | | <body> |
| | | <form id="form1" runat="server"> |
| | | <div class='dbody'> |
| | | |
| | | <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0"> |
| | | <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" pluginspage="/Pages/common/install_lodop32.exe"></embed> |
| | | </object> |
| | | <div id='div_tool' printparams='0,2100,2970,"A4"'> |
| | | </div> |
| | | <%=ssshtml%> |
| | | |
| | | <%-- <div class="printtable printtable1"> |
| | | <table border="1" cellpadding="0" cellspacing="0" style="border: 0;"> |
| | | |
| | | <tr> |
| | | |
| | | <td style="width:3%;"> |
| | | 顺序 |
| | | </td> |
| | | <td style="text-align: center;" width="7%"> |
| | | 要求到达时间 |
| | | </td> |
| | | |
| | | |
| | | <td width="10%"> |
| | | 业务经理 |
| | | </td> |
| | | <td width="15%"> |
| | | 客户单位 |
| | | </td> |
| | | <td style="text-align: center;"width="30%"> |
| | | 客户地址、联系人及联系电话 |
| | | </td> |
| | | |
| | | |
| | | <td width="5%"> |
| | | 货单数量 |
| | | </td> |
| | | <td width="7%"> |
| | | 车辆 |
| | | </td> |
| | | <td width="7%"> |
| | | 驾驶员 |
| | | </td> |
| | | <td width="30%"> |
| | | 注意事项 |
| | | </td> |
| | | |
| | | |
| | | </tr> |
| | | |
| | | |
| | | <asp:repeater id="RepClientList" runat="server"> |
| | | <itemtemplate> |
| | | <tr> |
| | | |
| | | |
| | | <td> |
| | | <%#Eval("Sort")%> |
| | | </td> |
| | | |
| | | <td> |
| | | <%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%> |
| | | </td> |
| | | |
| | | <td> |
| | | <%#Eval("BusinessManager")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("BuyerName")%> |
| | | </td> |
| | | |
| | | <td> |
| | | <%#Eval("DizhiLianxirenDianhua")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("shuliang")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("CarName")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("DriverName")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("Zhuyishixiang")%> |
| | | </td> |
| | | |
| | | </tr> |
| | | </itemtemplate> |
| | | </asp:repeater> |
| | | |
| | | </table> |
| | | </div>--%> |
| | | <br /> |
| | | |
| | | </div> |
| | | </form> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | using System.Web.UI; |
| | | using System.Web.UI.WebControls; |
| | | using CY.BLL; |
| | | using CY.Model; |
| | | using CY.Infrastructure.Query; |
| | | using CY.Infrastructure.Common; |
| | | using CY.BLL.Sys; |
| | | using CY.BLL.OA; |
| | | using CY.BLL.EC; |
| | | using CY.BLL.Inquiry; |
| | | using CY.Model.Inquiry; |
| | | |
| | | namespace CY.WebForm.Pages.financial |
| | | { |
| | | public partial class OrderFinancialPrint : BasePage |
| | | { |
| | | EC_OrderBasicBLL _eC_OrderBasicBLL = null; |
| | | OA_StaffBLL bll_OA_StaffBLL = null; |
| | | |
| | | public string ssshtml = ""; |
| | | |
| | | //初始化 |
| | | public OrderFinancialPrint() |
| | | { |
| | | |
| | | _eC_OrderBasicBLL = new EC_OrderBasicBLL(); |
| | | bll_OA_StaffBLL = new OA_StaffBLL(); |
| | | |
| | | } |
| | | protected void Page_Load(object sender, EventArgs e) |
| | | { |
| | | |
| | | if (!IsPostBack) |
| | | { |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | BindList(); |
| | | |
| | | } |
| | | } |
| | | |
| | | //绑定列表 |
| | | private void BindList() |
| | | { |
| | | |
| | | Pagination pa = new Pagination(); |
| | | pa.PageSize = 10000; |
| | | pa.PageIndex = 1; |
| | | |
| | | |
| | | |
| | | Dictionary<int, object> searchParam = new Dictionary<int, object>(); |
| | | Guid customeid = MyConvert.ConvertToGuid(Request["customeid"]); |
| | | if (!Guid.Empty.Equals(customeid)) |
| | | SetParamValue(searchParam, 0, customeid); |
| | | SetParamValue(searchParam, 1, CurrentUser.MemberId); |
| | | SetParamValue(searchParam, 2, Request["txtOrderId"].ToString2()); |
| | | SetParamValue(searchParam, 3, Request["txtCustormerName"].ToString2()); |
| | | SetParamValue(searchParam, 4, Request["txtBeginData"].ToString2()); |
| | | SetParamValue(searchParam, 5, Request["txtEndDate"].ToString2()); |
| | | SetParamValue(searchParam, 6, Request["selPrintTypes"].ToString2()); |
| | | SetParamValue(searchParam, 7, Request["selOrderTypes"].ToString2()); |
| | | SetParamValue(searchParam, 8, Request["selOrderStates"].ToString2()); |
| | | SetParamValue(searchParam, 9, Request["selPayStates"].ToString2()); |
| | | SetParamValue(searchParam, 10, Request["txtCreaterName"].ToString2()); |
| | | SetParamValue(searchParam, 11, Request["selCustormerLevels"].ToString2()); |
| | | SetParamValue(searchParam, 12, Request["selAccountManagerId"].ToString2()); |
| | | SetParamValue(searchParam, 13, Request["selBusinessManagerId"].ToString2()); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | List<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Financial(pa, searchParam).ToList(); |
| | | |
| | | |
| | | int aaa = 1; |
| | | |
| | | //List<OA_DeliverPlan> oA_DeliverPlans1 = oA_DeliverPlans.OrderBy(x => x.DriverId).ThenBy(x => x.Sort).ToList(); |
| | | ssshtml = ""; |
| | | ssshtml += "<div class=\"printtable printtable1\"> <table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border:0;\">"; |
| | | ssshtml += "<tr><th style=\"width:2%;\">编号</th><th style=\"text-align:center;\"width=\"7%\">订单号</th><th width=\"20%\">印件名称</th><th width=\"15%\">客户名称</th><th style=\"text-align:center;\"width=\"5%\">印刷类别</th><th width=\"5%\">订单状态</th><th width=\"5%\">支付状态</th><th width=\"5%\">订单类型</th><th width=\"5%\">印刷数量</th><th width=\"5%\">金额</th><th width=\"5%\">已收款</th><th width=\"5%\">未收款</th></tr>"; |
| | | for (int i = 0; i < result.Count; i++) |
| | | { |
| | | |
| | | |
| | | |
| | | |
| | | ssshtml += "<tr><td>" + (i+1) + "</td><td>" + result[i].SellerOrderId + "</td><td>" + result[i].DocumentName + "</td><td>" + result[i].BuyerName + "</td><td>" + result[i].PrintType.PrintName + "</td><td>" + result[i].OrderStateObj.Name + "</td><td>" + result[i].PayStateObj.Name + "</td><td>" + result[i].OrderType.Name + "</td><td>" + result[i].OrderExtend.PrintNum + " </td><td>" + result[i].SumPrice + "</td><td>" + result[i].TradingSingle.PayedMoney + "</td><td>" + result[i].UnPayedMoney + "</td></tr>"; |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | ssshtml += "</table></div>"; |
| | | |
| | | // this.RepClientList.DataSource = |
| | | //this.RepClientList.DataBind(); |
| | | //UCPager1.AspNetPager.RecordCount = pa.RecordCount; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置查询参数方法 |
| | | /// </summary> |
| | | /// <param name="target">设置目标</param> |
| | | /// <param name="key">键</param> |
| | | /// <param name="value">值</param> |
| | | private static void SetParamValue(Dictionary<int, object> target, int key, object value) |
| | | { |
| | | if (string.IsNullOrEmpty(string.Format("{0}", value))) |
| | | return; |
| | | else |
| | | { |
| | | } |
| | | |
| | | if (target.ContainsKey(key)) |
| | | { |
| | | target[key] = value; |
| | | } |
| | | else |
| | | { |
| | | target.Add(key, value); |
| | | } |
| | | } |
| | | } |
| | | } |
New file |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <自动生成> |
| | | // 此代码由工具生成。 |
| | | // |
| | | // 对此文件的更改可能导致不正确的行为,如果 |
| | | // 重新生成代码,则所做更改将丢失。 |
| | | // </自动生成> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace CY.WebForm.Pages.financial |
| | | { |
| | | |
| | | |
| | | public partial class OrderFinancialPrint |
| | | { |
| | | |
| | | /// <summary> |
| | | /// Head1 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlHead Head1; |
| | | |
| | | /// <summary> |
| | | /// form1 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlForm form1; |
| | | } |
| | | } |