From f2a3e67d3ad970670b10cb394298bc0940ae699a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 05 八月 2025 14:32:34 +0800
Subject: [PATCH] 20250805 作业本的总数量,单价在保存的时候再计算一次

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWork.aspx.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWork.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWork.aspx.cs
index 6a4daa9..818a63a 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWork.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWork.aspx.cs
@@ -63,7 +63,8 @@
                         this.txtDeliverPerson.Text = model.DeliverPerson;
                         if (model.DeliverTime.HasValue)
                             this.txtDeliverTime.Text = model.DeliverTime.Value.ToShortDateString();
-                        this.txtRemark.Text = model.Remark;
+                    this.txtSonghuoJine.Value = model.SonghuoJine.HasValue? model.SonghuoJine.Value.ToString("0.0000"):"0";
+                    this.txtRemark.Text = model.Remark;
                         this.ddlAcceptType.SelectedValue = model.AcceptTypeId.ToString();
                         switch (model.AcceptTypeId)
                         {
@@ -141,7 +142,7 @@
                 eC_AwbInfo.DeliverPerson = this.txtDeliverPerson.Text;
                 if (this.txtDeliverTime.Text != string.Empty)
                     eC_AwbInfo.DeliverTime = this.txtDeliverTime.Text.ToDateTime2();
-
+                eC_AwbInfo.SonghuoJine = this.txtSonghuoJine.Value.ToDecimal2();
                 eC_AwbInfo.AcceptTypeId = ddlAcceptType.SelectedValue.ToString().ToInt32().Value;
                 switch (eC_AwbInfo.AcceptTypeId)
                 {

--
Gitblit v1.9.1