Merge branch 'master' of http://47.108.235.38:8080/r/chuanyin-group-project
# Conflicts:
# CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
| | |
| | | { |
| | | Condition += " and ( DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime]) >7 or DATEDIFF(DAY,GETDATE(),oe.[DelayTime])>7 )"; |
| | | } |
| | | else if (DeliveryTime == "逾期") |
| | | { |
| | | Condition += " and ( DATEDIFF(DAY,GETDATE(),ob.[DeliveryTime])<=0 or DATEDIFF(DAY,GETDATE(),oe.[DelayTime])<=0 )"; |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | { |
| | | string Condition = " and od.FirmId ='" + FirmId + "' and od.shifouDelivery = 1 "; |
| | | |
| | | if (!string.IsNullOrEmpty(DeliveredTime)) |
| | | Condition += " and DATEDIFF(day,od.[DeliverTime],'" + DeliveredTime + "')=0 "; |
| | | if (!string.IsNullOrEmpty(DeliveredTime) ) |
| | | { |
| | | if(DeliveredTime != "逾期") |
| | | { |
| | | Condition += " and DATEDIFF(day,od.[DeliverTime],'" + DeliveredTime + "')=0 "; |
| | | } |
| | | else |
| | | { |
| | | Condition += " and DATEDIFF(day,GETDATE(),od.[DeliverTime])<=0 "; |
| | | } |
| | | } |
| | | |
| | | |
| | | if (!string.IsNullOrEmpty(CarId)) |
| | | Condition += " and od.CarId = '" + 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> |
| | |
| | | 2021-09-13 09:09:46 |
| | | 2021-09-13 15:06:28 |
| | |
| | | 2021-09-13 09:09:46 |
| | | 2021-09-13 15:06:28 |
| | |
| | | 2021-09-13 09:09:46 |
| | | 2021-09-13 15:06:28 |
| | |
| | | if (!IsPostBack) |
| | | { |
| | | BindProvince(); |
| | | BindList(); |
| | | InitialSelectData(); |
| | | |
| | | BindList(); |
| | | |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(Request["delete"])) |
| | |
| | | else |
| | | JavaScript.MessageBox("删除失败", this); |
| | | } |
| | | |
| | | } |
| | | |
| | | //加载查询条件 |
| | |
| | | this.selShifouwanjie.DataValueField = "MeanValue"; |
| | | this.selShifouwanjie.DataBind(); |
| | | this.selShifouwanjie.Items.Insert(0, new ListItem("全部", "")); |
| | | |
| | | this.selShifouwanjie.Value = "2"; |
| | | |
| | | } |
| | | |
| | | //绑定列表 |
| | |
| | | 送货时间:
|
| | | </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> |
| | |
| | | this.selKaipiaoshenqing.DataSource = _sys_DictionaryBLL.GetDataByType("EC_开票申请"); |
| | | this.selKaipiaoshenqing.DataBind(); |
| | | this.selKaipiaoshenqing.Items.Insert(0, new ListItem("全部", "")); |
| | | this.selKaipiaoshenqing.Value = "1"; |
| | | |
| | | |
| | | |
| | |
| | | bool result = eC_OrderBLL.OldUpdateDelayTime(eC_OrderExtend); |
| | | |
| | | if (result) |
| | | JavaScript.MessageBoxs("更新成功", this, true, true); |
| | | JavaScript.MessageBox("更新成功", this, true, true); |
| | | else |
| | | JavaScript.MessageBox("更新失败", this); |
| | | |
| | |
| | | <head id="Head1" runat="server"> |
| | | <title>订单列表</title> |
| | | <uc:cmshead id="CMSHead1" runat="server" /> |
| | | <script src="../../js/business/Order.js" type="text/javascript"></script> |
| | | <script src="../../js/business/Order.js?v=5" type="text/javascript"></script> |
| | | <script type="text/javascript"> |
| | | |
| | | function kaipiaoConfirm(orderId) { |
| | |
| | | } |
| | | ); |
| | | }); |
| | | |
| | | $(function () { |
| | | var value_SumPrice = 0; |
| | | $(".SumPrice").each(function (ii, vv) { |
| | | value_SumPrice += parseFloat($(vv).text()); |
| | | }); |
| | | $("#AllMoney").html(value_SumPrice.toFixed(2)); |
| | | |
| | | var value_PayedMoney = 0; |
| | | $(".PayedMoney").each(function (ii, vv) { |
| | | value_PayedMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#AlreadyMoney").html(value_PayedMoney.toFixed(2)); |
| | | |
| | | var value_UnPayedMoney = 0; |
| | | $(".UnPayedMoney").each(function (ii, vv) { |
| | | value_UnPayedMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#NoMoney").html(value_UnPayedMoney.toFixed(2)); |
| | | }); |
| | | |
| | | </script> |
| | | <style type="text/css"> |
| | | .tableStyleXS th { padding: 1px 0 1px 3px; background-image:none; border-bottom:1px solid #CCC; } |
| | |
| | | cursor: pointer; |
| | | width: 26px; |
| | | } |
| | | |
| | | |
| | | .StatisticsMoney td { color: #FF5500; } |
| | | .StatisticsMoney span { color: #FF5500; font-weight: bold; } |
| | | |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <a href="javascript:;" menu_member_case_id="case_ToBatchPayList" menu_member_case_name="批量收款" onclick="ToBatchPayList();"><span class="icon_edit">批量收款</span></a> |
| | | <div class="box_tool_line"> |
| | | </div> |
| | | |
| | | <a href="javascript:;" menu_member_case_id="case_ToBatchPrintAwbOrder" menu_member_case_name="打印送货单" onclick="ToPrintAwbOrder()"><span class="icon_edit">打印送货单</span></a> |
| | | <div class="clear"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | PayState:<%#Eval("PayState")%> |
| | | }" id='ckBox<%#Container.ItemIndex%>' id='ckBox<%#Container.ItemIndex%>' class='ckBox' /> |
| | | </td> |
| | | <td> |
| | | <td class="ItemIndex"> |
| | | <%#Container.ItemIndex +1 /*(UCPager1.PageSize *( UCPager1.PageIndex-1)+1)*/%> |
| | | </td> |
| | | <td style="text-align: center;"> |
| | |
| | | <%#Eval("KaipiaoshenqingName").ToString()==""?"未申请":Eval("KaipiaoshenqingName").ToString()%> |
| | | |
| | | </td> |
| | | <td> |
| | | <td class="SumPrice"> |
| | | <%#Eval("SumPrice", "{0:F}")%> |
| | | </td> |
| | | |
| | | <td> |
| | | <td class="PayedMoney"> |
| | | <%#Eval("TradingSingle.PayedMoney", "{0:F}")%> |
| | | </td> |
| | | <td> |
| | | <td class="UnPayedMoney"> |
| | | <%#Eval("UnPayedMoney","{0:F}")%> |
| | | </td> |
| | | |
| | |
| | | </itemtemplate> |
| | | </asp:repeater> |
| | | </tbody> |
| | | |
| | | <tr class="StatisticsMoney"> |
| | | <td colspan="12" class="ali03"> |
| | | 查询项统计: |
| | | </td> |
| | | <td class="ali01" > |
| | | <span id="AllMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="AlreadyMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="NoMoney" runat="server"></span> |
| | | </td> |
| | | |
| | | </tr> |
| | | </table> |
| | | <%--<uc:ucpager id="UCPager1" runat="server" />--%> |
| | | </div> |
| | |
| | | } |
| | | ); |
| | | |
| | | var i = 1; |
| | | |
| | | $(".ItemIndex").each(function (ii, vv) { |
| | | |
| | | $(vv).text(i) |
| | | i = i + 1; |
| | | }); |
| | | |
| | | |
| | | var value_SumPrice = 0; |
| | | $(".SumPrice").each(function (ii, vv) { |
| | | value_SumPrice += parseFloat($(vv).text()); |
| | | }); |
| | | $("#AllMoney").html(value_SumPrice.toFixed(2)); |
| | | |
| | | var value_PayedMoney = 0; |
| | | $(".PayedMoney").each(function (ii, vv) { |
| | | value_PayedMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#AlreadyMoney").html(value_PayedMoney.toFixed(2)); |
| | | |
| | | var value_UnPayedMoney = 0; |
| | | $(".UnPayedMoney").each(function (ii, vv) { |
| | | value_UnPayedMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#NoMoney").html(value_UnPayedMoney.toFixed(2)); |
| | | |
| | | //if (!isCan) { |
| | | // // alertMsg('请选择未受理的订单!'); |
| | |
| | | { |
| | | // UCPager1.AspNetPager.PageChanged += AspNetPager_PageChanged; |
| | | btn_Search.Click += btn_Search_Click; |
| | | |
| | | txtCommission.Value = CY.Config.WebInfo.Instance.FirmOrderAgencyFee; |
| | | List<EC_OrderDialogue> dialogues = _eC_OrderBasicBLL.SelectPropertyChangeRequest(CurrentUser.MemberId) as List<EC_OrderDialogue>; |
| | | |
| | |
| | | |
| | | #region 查询 |
| | | |
| | | |
| | | /// <summary> |
| | | /// 搜索按钮点击事件 |
| | | /// </summary> |
| | |
| | | private void btn_Search_Click(object sender, EventArgs e) |
| | | { |
| | | |
| | | /* if (this.txtCustormerName.Value.Trim() == "") |
| | | { |
| | | Response.Write("客户名称不能为空,请输入客户名称再查询……"); |
| | | return; |
| | | }*/ |
| | | //if (this.txtCustormerName.Value.Trim() == "") |
| | | //{ |
| | | // Response.Write("客户名称不能为空,请输入客户名称再查询……"); |
| | | // return; |
| | | //} |
| | | Dictionary<int, object> searchParam = new Dictionary<int, object>(); |
| | | |
| | | SetParamValue(searchParam, 1, CurrentUser.MemberId); |
| | |
| | | // AspNetPager_PageChanged(UCPager1.AspNetPager, new EventArgs()); |
| | | Infrastructure.Query.Pagination pagination = new Infrastructure.Query.Pagination() |
| | | { |
| | | PageSize = 1000,// UCPager1.AspNetPager.PageSize, |
| | | PageSize = 10000,// UCPager1.AspNetPager.PageSize, |
| | | PageIndex = 1// UCPager1.AspNetPager.CurrentPageIndex |
| | | }; |
| | | IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Seller(pagination, SearchParam);//.Where(x=>x.Quchudingdan == 2); |
| | | rptData.DataSource = result; |
| | | rptData.DataBind(); |
| | | |
| | | //EC_OrderBasic m_EC_OrderBasic = _eC_OrderBasicBLL.SumOrderMoney_receive(pagination, SearchParam); |
| | | //if (m_EC_OrderBasic != null) |
| | | //{ |
| | | // //this.AllMoney.InnerText = (m_EC_OrderBasic.OrAllTradingMoney * 9 ?? 0).ToString("0.00"); |
| | | // //this.AlreadyMoney.InnerText = (m_EC_OrderBasic.OrAllPayedMoney * 9 ?? 0).ToString("0.00"); |
| | | // //this.NoMoney.InnerText = (m_EC_OrderBasic.OrAllUnPayedMoney * 9 ?? 0).ToString("0.00"); |
| | | // this.AllMoney.InnerText = (m_EC_OrderBasic.OrAllTradingMoney ?? 0).ToString("0.00"); |
| | | // this.AlreadyMoney.InnerText = (m_EC_OrderBasic.OrAllPayedMoney ?? 0).ToString("0.00"); |
| | | // this.NoMoney.InnerText = (m_EC_OrderBasic.OrAllUnPayedMoney ?? 0).ToString("0.00"); |
| | | //} |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.WebControls.Repeater rptData; |
| | | |
| | | /// <summary> |
| | | /// AllMoney 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl AllMoney; |
| | | |
| | | /// <summary> |
| | | /// AlreadyMoney 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl AlreadyMoney; |
| | | |
| | | /// <summary> |
| | | /// NoMoney 控件。 |
| | | /// </summary> |
| | | /// <remarks> |
| | | /// 自动生成的字段。 |
| | | /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |
| | | /// </remarks> |
| | | protected global::System.Web.UI.HtmlControls.HtmlGenericControl NoMoney; |
| | | } |
| | | } |
| | |
| | | <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); |
| | | |
| | |
| | | |
| | | </script> |
| | | <div id="page"> |
| | | <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonPosition="Center" CustomInfoHTML="共<font style='font-size:13'>%RecordCount%</font>条" ShowCustomInfoSection="Left" Width="100%" CustomInfoSectionWidth="100px" PageIndexBoxType="TextBox" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" AlwaysShow="true" TextBeforePageIndexBox="转到" PrevPageText="上一页" NextPageText="下一页" FirstPageText="首页" LastPageText="末页" PageSize="15" CurrentPageIndex="1"> |
| | | <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonPosition="Center" CustomInfoHTML="共<font style='font-size:13'>%RecordCount%</font>条" ShowCustomInfoSection="Left" Width="100%" CustomInfoSectionWidth="100px" PageIndexBoxType="TextBox" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" AlwaysShow="true" TextBeforePageIndexBox="转到" PrevPageText="上一页" NextPageText="下一页" FirstPageText="首页" LastPageText="末页" PageSize="25" CurrentPageIndex="1"> |
| | | </webdiyer:AspNetPager> |
| | | <div class="CB"></div> |
| | | </div> |
| | |
| | | // <自动生成> |
| | | // 此代码由工具生成。 |
| | | // |
| | | // 对此文件的更改可能会导致不正确的行为,并且如果 |
| | | // 重新生成代码,这些更改将会丢失。 |
| | | // 对此文件的更改可能导致不正确的行为,如果 |
| | | // 重新生成代码,则所做更改将丢失。 |
| | | // </自动生成> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace CY.WebForm.Pages.common { |
| | | |
| | | |
| | | public partial class UCPager { |
| | | |
| | | namespace CY.WebForm.Pages.common |
| | | { |
| | | |
| | | |
| | | public partial class UCPager |
| | | { |
| | | |
| | | /// <summary> |
| | | /// AspNetPager1 控件。 |
| | | /// </summary> |
| | |
| | | $("#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; |
| | | } |
| | | } |
| | |
| | | string[] orderIds = Request["ids"].Split(','); |
| | | string receiveWay = Request["rdoReceiveWay"]; |
| | | bool isWin = false; |
| | | using (var scope = new TransactionScope()) |
| | | using (var scope = new TransactionScope(TransactionScopeOption.Required, |
| | | new TransactionOptions |
| | | { |
| | | IsolationLevel = IsolationLevel.ReadCommitted, |
| | | Timeout = TransactionManager.MaximumTimeout |
| | | } |
| | | )) |
| | | { |
| | | foreach (string orderId in orderIds) |
| | | { |