From e110200c2e32a0f82f474fa38b315ae6360f2dc4 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 04 三月 2025 08:39:38 +0800 Subject: [PATCH] 在订单列表 送货安排 点击打印送货单 选择送货日期 默认最晚的送货日期,默认当天,可以修改 完成 司机查询 拥有司机小程序权限的人员 完成 新增送货 可以选择客户,也可以 填写临时客户 完成 --- CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs index 1ebb739..d7b231c 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs +++ b/CY_ECommercePlatform/CY.WebForm/Pages/financial/WaixieExpenses.aspx.cs @@ -81,11 +81,23 @@ var fukuanshenqing = _fukuanshenqingBLL.GetModelByKeyid(id.ToInt32().Value); if (fukuanshenqing != null) { - var oA_Suppliers = oA_SuppliersBLL.getSingleSupplier(fukuanshenqing.SupplierId.ToString()); - this.txtPaymentUnit.Value = oA_Suppliers.Name; + if (!string.IsNullOrWhiteSpace(fukuanshenqing.Huming)) + { + this.txtPaymentUnit.Value = fukuanshenqing.Huming; + } + else + { + this.txtPaymentUnit.Value = fukuanshenqing.SupplierName; + this.txtSupplierId.Value = fukuanshenqing.SupplierId.ToString(); + + + + + } + this.Keyid.Value = id; - this.txtSupplierId.Value = oA_Suppliers.Keyid.ToString(); + this.txtYouwufapiao.Value = fukuanshenqing.YouwufapiaoName; @@ -139,11 +151,11 @@ try { var yishoumoney = fukuanshenqing.Yishoumoney.HasValue ? fukuanshenqing.Yishoumoney.Value : 0; - fukuanshenqing.Yishoumoney = yishoumoney + money; if (money >= (fukuanshenqing.Fukuanmoney - fukuanshenqing.Yishoumoney)) { fukuanshenqing.FukuanStatus = 2; } + fukuanshenqing.Yishoumoney = yishoumoney + money; fukuanshenqing.Updater = CurrentUser.ShortName; fukuanshenqing.LastUpdateTime = DateTime.Now; fukuanshenqing.Youwufapiao = Youwufapiao.ToInt32(); -- Gitblit v1.9.1