From 51aebb52e3f964ad5d0e96c6b92ae8e455b24ceb Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 10 四月 2026 13:08:17 +0800
Subject: [PATCH] 需要修改的,   不选板材,直接按照板材规格扣减库存。  发版套数不填的话就是1.  扣减库存的量就是  数量*发版套数 20260410  试卷 6年级添加 答题卡 选项  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/Property/PropertyEdit.aspx.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/Property/PropertyEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/Property/PropertyEdit.aspx.cs
index e1b937d..1de749d 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/Property/PropertyEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/Property/PropertyEdit.aspx.cs
@@ -55,6 +55,8 @@
                 this.txtPrice.Value = m_OA_PropertyManage.Price.Value.ToString("0.00");
                 this.txtAllNum.Value = m_OA_PropertyManage.AllNum.ToString2();
                 this.txtReceiveNum.Value = m_OA_PropertyManage.ReceiveNum.ToString2();
+                this.txtPlanRemark.Value = m_OA_PropertyManage.Remark;
+                this.selStatus.Value = m_OA_PropertyManage.Status.HasValue? m_OA_PropertyManage.Status.ToString():"1";
             }
         }
 
@@ -81,9 +83,10 @@
                 {
                     m_OA_PropertyManage = new OA_PropertyManage();
                     m_OA_PropertyManage.MemberId = CurrentUser.MemberId;
-                    m_OA_PropertyManage.Status = 1;
-                    m_OA_PropertyManage.Remark = "";
+                  
+                  
                 }
+                m_OA_PropertyManage.Status = this.selStatus.Value.ToInt32();
                 m_OA_PropertyManage.CateId = this.selCateId.Value.ToInt32();
                 m_OA_PropertyManage.AllNum = this.txtAllNum.Value.ToInt32();
                 m_OA_PropertyManage.Name = this.txtCarNumber.Value;
@@ -91,6 +94,7 @@
                 m_OA_PropertyManage.Price = this.txtPrice.Value.ToDecimal2();
                 m_OA_PropertyManage.Operator = CurrentUser.ShortName;
                 m_OA_PropertyManage.LastUpdateTime = nowTime;
+                m_OA_PropertyManage.Remark = this.txtPlanRemark.Value.Trim();
 
                 if (Request["keyid"].ToInt32() > 0)
                 {

--
Gitblit v1.9.1