20251028 收款提醒修改 完成未发布 20251028 作业本详情样式修改 完成未发布
| | |
| | | return _IOA_CuikuanjiluDAL.GetModelByKeyid( BuyerId, shoukuanshijian); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取全部合作客户 |
| | | /// </summary> |
| | | /// <param name="Keyid">主键id</param> |
| | | /// <returns></returns> |
| | | public int GetCountByKeyid(Guid? BuyerId, string shoukuanshijian = "") |
| | | { |
| | | |
| | | return _IOA_CuikuanjiluDAL.GetCountByKeyid(BuyerId, shoukuanshijian); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 删除合作客户 |
| | | /// </summary> |
| | |
| | | /// <param name="Keyid">编号</param> |
| | | /// <returns></returns> |
| | | IEnumerable<OA_Cuikuanjilu> GetModelByKeyid( Guid? BuyerId, string shoukuanshijian = ""); |
| | | |
| | | |
| | | /// <summary> |
| | | /// 根据编号获得信息 |
| | | /// </summary> |
| | | /// <param name="Keyid">编号</param> |
| | | /// <returns></returns> |
| | | int GetCountByKeyid(Guid? BuyerId, string shoukuanshijian = ""); |
| | | } |
| | | } |
| | |
| | | set; |
| | | } |
| | | |
| | | public int? Count |
| | | { |
| | | get; |
| | | set; |
| | | } |
| | | |
| | | #endregion Model |
| | | |
| | | #region Visiter |
| | |
| | | this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime; |
| | | theValue = this.LastUpdateTime; |
| | | } |
| | | |
| | | |
| | | else if ("Count".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17) |
| | | { |
| | | this.Count = isChange ? MyConvert.ConvertToInt32(value) : Count; |
| | | theValue = this.Count; |
| | | } |
| | | |
| | | |
| | | return theValue; |
| | | } |
| | |
| | | set; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 催款记录 |
| | | /// </summary> |
| | | public string Cuikuanjilu |
| | | { |
| | | get; |
| | | set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 未付款 |
| | | /// </summary> |
| | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 根据编号获得信息 |
| | | /// </summary> |
| | | /// <param name="Keyid">编号</param> |
| | | /// <returns></returns> |
| | | public int GetCountByKeyid(Guid? BuyerId, string shoukuanshijian = "") |
| | | { |
| | | try |
| | | { |
| | | string condition = " "; |
| | | |
| | | condition = " BuyerId='" + BuyerId + "' and shoukuanshijian='" + shoukuanshijian + "'"; |
| | | |
| | | |
| | | // return null;//错误数据返会空 |
| | | |
| | | IList<OA_Cuikuanjilu> result = _dataBase.SelectModel<OA_Cuikuanjilu>(" count(*) as Count ", "OA_Cuikuanjilu", condition) as IList<OA_Cuikuanjilu>;//执行查询 |
| | | |
| | | return (null == result || result.Count == 0) ? 0 : result[0].Count.Value;//返回结果 |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw ex; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 全部查询 |
| | | /// </summary> |
| | | /// <param name="query"></param> |
| | |
| | | //专版施工 |
| | | function specialOrder(orderid, num) { |
| | | if (num == "has") { |
| | | top.Dialog.open({ URL: "/Pages/business/AgSpecialOrderEdit.aspx?orderid=" + orderid, Title: "专版施工", Width: 1100, Height: 700 }); |
| | | top.Dialog.open({ URL: "/Pages/business/AgSpecialOrderEdit.aspx?orderid=" + orderid, Title: "专版施工", Width: 1100, Height: 780 }); |
| | | } |
| | | } |
| | | //整单外协 |
| | |
| | | } |
| | | //编辑施工单 |
| | | function EditModel(orderid) { |
| | | top.Dialog.open({ URL: "/Pages/business/AgSpecialOrderEdit.aspx?orderid=" + orderid, Title: "编辑施工单", Width: 1100, Height: 700 }); |
| | | top.Dialog.open({ URL: "/Pages/business/AgSpecialOrderEdit.aspx?orderid=" + orderid, Title: "编辑施工单", Width: 1100, Height: 780 }); |
| | | } |
| | | //删除 |
| | | function onDelete(keyid) { |
| | |
| | | </td>
|
| | | <td menu_member_case_id="case_Cuikuanjilu" menu_member_case_name="催款记录" >
|
| | |
|
| | | <a href='javascript:void(0)' title='点击添加催款记录' class='a_under' onclick='ViewCuikuanjilu("<%#Eval("BuyerId")%>","<%#Eval("shoukuanshijian")%>")'> 查看记录 </a>
|
| | | <a href='javascript:void(0)' title='点击添加催款记录' class='a_under' onclick='ViewCuikuanjilu("<%#Eval("BuyerId")%>","<%#Eval("shoukuanshijian")%>")'> <%#Eval("Cuikuanjilu") %> </a>
|
| | |
|
| | |
|
| | | </td>
|
| | |
| | | EC_MemberBasicBLL bll_EC_MemberBasicBLL = null; |
| | | Sys_CitySiteBLL bll_Sys_CitySiteBLL = null; |
| | | EC_OrderBLL eC_OrderBLL = null; |
| | | OA_CuikuanjiluBLL oA_CuikuanjiluBLL = null; |
| | | |
| | | |
| | | //初始化 |
| | |
| | | bll_EC_MemberBasicBLL = new EC_MemberBasicBLL(); |
| | | bll_Sys_CitySiteBLL = new Sys_CitySiteBLL(); |
| | | eC_OrderBLL = new EC_OrderBLL(); |
| | | oA_CuikuanjiluBLL = new OA_CuikuanjiluBLL(); |
| | | } |
| | | |
| | | protected void Page_Load(object sender, EventArgs e) |
| | |
| | | this.selBusinessManagerId.Value, |
| | | this.selAccountManagerId.Value); |
| | | |
| | | |
| | | |
| | | foreach (var oA_DeliverPlan in oA_DeliverPlans1) |
| | | { |
| | | var ddd = oA_CuikuanjiluBLL.GetCountByKeyid(oA_DeliverPlan.BuyerId, oA_DeliverPlan.shoukuanshijian); |
| | | oA_DeliverPlan.Cuikuanjilu = ddd.ToString(); |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">单价</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">金额</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">封面纸张</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">印刷要求</td>"; |
| | | //printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">印刷要求</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">内芯纸张</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">印刷要求</td>"; |
| | | //printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">印刷要求</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">页码</td>"; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">装订</td>"; |
| | | printDemand += "</tr>"; |
| | |
| | | inquiryWorkBookModel.FengMianYaoqiuTxt = FengMianYaoqiu.Name; |
| | | } |
| | | //printDemand += ",印刷要求:" + inquiryWorkBookModel.FengMianYaoqiuTxt + ""; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">" + inquiryWorkBookModel.FengMianYaoqiuTxt + "</td>"; |
| | | // printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">" + inquiryWorkBookModel.FengMianYaoqiuTxt + "</td>"; |
| | | } |
| | | |
| | | if (request["WorkBookNeiXinga" + (i + 1)] != null) |
| | |
| | | inquiryWorkBookModel.NeiXingYaoqiuTxt = NeiXingYaoqiu.Name; |
| | | } |
| | | //printDemand += ",印刷要求:" + inquiryWorkBookModel.NeiXingYaoqiuTxt + ""; |
| | | printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">" + inquiryWorkBookModel.NeiXingYaoqiuTxt + "</td>"; |
| | | // printDemand += "<td style=\"text-align:center;border: 1px solid #999999;\">" + inquiryWorkBookModel.NeiXingYaoqiuTxt + "</td>"; |
| | | } |
| | | |
| | | if (request["WorkBookpageNuma" + (i + 1)] != null) |