From 120215455f4fb2e5a1447f3ecda87f36aca1f38f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 27 二月 2026 08:54:22 +0800
Subject: [PATCH] 1)有到期时间的,到期前3个月变成红色(像人事管理那样);没有到期时间的,从建档时间起算,9个月后变成红色。完成 (2)建档后1个月没有下单,变成血红色。 完成 (3)列表中删除“完结状态”;操作中删除“订单关联” 完成 (4)在“应收款订单”后面增加“未收款金额” 、“逾期收款”完成
---
CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
index b5fce9b..99049fc 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
@@ -56,7 +56,7 @@
this.selBusinessManager.DataTextField = "Name";
this.selBusinessManager.DataValueField = "Keyid";
this.selBusinessManager.DataBind();
- //this.selBusinessManager.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+ this.selBusinessManager.Items.Insert(0, new ListItem("璇烽�夋嫨", ""));
//this.selBusinessManager.Items.Insert(1, new ListItem(CurrentUser.ShortName, CurrentUser.ShortName));
decimal total = 0;
@@ -72,7 +72,16 @@
{
var model = bll_EC_OrderBasicBLL.SelectModelById(models[0].Keyid.Value);
name = models[0].BuyerName;
- this.selBusinessManager.Value = model.BusinessManagerId.HasValue? model.BusinessManagerId.Value.ToString():"";
+ OA_CorporateClients oA_CorporateClients = _oA_CorporateClientsBLL.GetModel(models[0].BuyerId);
+ if (oA_CorporateClients != null && oA_CorporateClients.BusinessManagerId.HasValue && oA_CorporateClients.BusinessManagerId.Value>0)
+ {
+ this.selBusinessManager.Value = oA_CorporateClients.BusinessManagerId.HasValue ? oA_CorporateClients.BusinessManagerId.Value.ToString() : "";
+ }
+ else
+ {
+ JavaScript.MessageBox("璇风淮鎶ゅ鎴风殑涓氬姟缁忕悊", this);
+ }
+
}
total = models.Sum(x=>x.SumPrice)??0;
txtZengjianmoney.Value = "0";
@@ -112,6 +121,12 @@
/// </summary>
public void AcceptAll3()
{
+ if (string.IsNullOrEmpty(this.selBusinessManager.Value))
+ {
+ JavaScript.MessageBox("璇烽�夋嫨涓氬姟缁忕悊", this);
+ return;
+ }
+
string ids = this.txtOrderIds.Value;
string[] idsArray = ids.Split(',');
if (idsArray != null && idsArray.Length > 0)
--
Gitblit v1.9.1