From 55103538111a9eb60dcfd57310a76dd8a711ca67 Mon Sep 17 00:00:00 2001 From: Ling0925 <2449858657a@gmail.com> Date: Thu, 23 May 2024 16:55:29 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=88=90=E5=93=81=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=8A=A5=E9=94=99=20Add=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=88=90=E5=93=81=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newyt/Module_data/DemandSheet_list.aspx | 2 +- newyt/Module_data/ProductLibrary_list.aspx.cs | 4 +- newyt/Module_data/Productin_Form.aspx | 171 ++++++++ newyt/Module_data/Productin_Form.aspx.cs | 187 ++++++++ newyt/Module_data/Productin_browse.aspx | 80 ++++ newyt/Module_data/Productin_browse.aspx.cs | 228 ++++++++++ newyt/Module_data/Productin_list.aspx | 180 ++++++++ newyt/Module_data/Productin_list.aspx.cs | 414 ++++++++++++++++++ newyt/Module_data/Productout_Form.aspx.cs | 53 +-- newyt/Module_data/Productout_browse.aspx.cs | 4 +- newyt/ddselect/Product_list.aspx.cs | 6 +- 11 files changed, 1296 insertions(+), 33 deletions(-) create mode 100644 newyt/Module_data/Productin_Form.aspx create mode 100644 newyt/Module_data/Productin_Form.aspx.cs create mode 100644 newyt/Module_data/Productin_browse.aspx create mode 100644 newyt/Module_data/Productin_browse.aspx.cs create mode 100644 newyt/Module_data/Productin_list.aspx create mode 100644 newyt/Module_data/Productin_list.aspx.cs diff --git a/newyt/Module_data/DemandSheet_list.aspx b/newyt/Module_data/DemandSheet_list.aspx index c61f989..b05bae7 100644 --- a/newyt/Module_data/DemandSheet_list.aspx +++ b/newyt/Module_data/DemandSheet_list.aspx @@ -84,7 +84,7 @@
| 日期 < " + selmonth + " > | ";
+ for (var x = 1; x <= days; x++)
+ {
+ biao += "" + x + " | "; + } + biao += "
| 数量 | "; + for (var x = 1; x <= days; x++) + { + string str = yc.ToShortDateString(); + int lenth = dt.Select("riqi='" + yc.ToShortDateString() + "'").Length; + string everday = yc.Year.ToString(); + if (yc.Month < 10) + { + everday += "/0" + yc.Month; + } + else + { + everday += "/" + yc.Month; + } + if (yc.Day < 10) + { + everday += "/0" + yc.Day; + } + else + { + everday += "/" + yc.Day; + } + + biao += "" + dt.Select("riqi='" + everday + "'").Length + " | "; + yc = yc.AddDays(1); + } + biao += "