From 0be18e0d007ff233beb5b16c297b7741129be523 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Wed, 16 Jul 2025 17:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E7=94=9F=E4=BA=A7=E7=BA=BF=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E9=80=89=E6=8B=A9=E5=B7=A5=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MESWebSite/HttpHandlers/Bom_MKHandler.ashx.cs | 8 +- .../HttpHandlers/StationHandler.ashx.cs | 14 +++ MESWebSite/Manage/Bom_MK.aspx | 111 +++++++++++------- 3 files changed, 89 insertions(+), 44 deletions(-) diff --git a/MESWebSite/HttpHandlers/Bom_MKHandler.ashx.cs b/MESWebSite/HttpHandlers/Bom_MKHandler.ashx.cs index 33e42c5..86f79e7 100644 --- a/MESWebSite/HttpHandlers/Bom_MKHandler.ashx.cs +++ b/MESWebSite/HttpHandlers/Bom_MKHandler.ashx.cs @@ -58,7 +58,7 @@ namespace MESWebSite.HttpHandlers string pagesize = Request.Params["rows"]; string partNo1 = Request.Params["PartNo1"]; string partNo2 = Request.Params["PartNo2"]; - string placeName = Request.Params["PlaceName"]; + string lineName = Request.Params["LineName"]; if (string.IsNullOrEmpty(page)) { @@ -69,7 +69,7 @@ namespace MESWebSite.HttpHandlers pagesize = "15"; } Bom_MKBLL bll = new Bom_MKBLL(); - Response.Write(bll.SearchInfoAll(page, pagesize, partNo1, partNo2, placeName)); + Response.Write(bll.SearchInfoAll(page, pagesize, partNo1, partNo2, lineName)); Response.End(); @@ -82,7 +82,7 @@ namespace MESWebSite.HttpHandlers string IsChecked = Request.Params["IsChecked"]; string IsPartAssemble = Request.Params["IsPartAssemble"]; string StationNo = Request.Params["StationNo"]; - string PlaceName = Request.Params["PlaceName"]; + string LineName = Request.Params["LineName"]; string stationNo = ""; @@ -105,7 +105,7 @@ namespace MESWebSite.HttpHandlers md.PartNo1 = PartNo1; md.PartNo2 = PartNo2; - md.PlaceName = PlaceName; + md.LineName = LineName; md.StationNo = StationNo; if(IsPartAssemble == "1") { diff --git a/MESWebSite/HttpHandlers/StationHandler.ashx.cs b/MESWebSite/HttpHandlers/StationHandler.ashx.cs index fdcedcb..e873782 100644 --- a/MESWebSite/HttpHandlers/StationHandler.ashx.cs +++ b/MESWebSite/HttpHandlers/StationHandler.ashx.cs @@ -41,6 +41,9 @@ namespace MESWebSite.HttpHandlers case "QueryForComboboxByLineID": QueryForComboboxByLineID(); break; + case "QueryForComboboxByLineIDNew": + QueryForComboboxByLineIDNew(); + break; default: break; @@ -147,5 +150,16 @@ namespace MESWebSite.HttpHandlers Response.End(); } + + void QueryForComboboxByLineIDNew() + { + string LineID = Request.Params["LineID"]; + + StationBLL bll = new StationBLL(); + Response.Write(bll.GetComboboxDataByLine(LineID)); + Response.End(); + + } + } } \ No newline at end of file diff --git a/MESWebSite/Manage/Bom_MK.aspx b/MESWebSite/Manage/Bom_MK.aspx index 6cdda30..bd4c6b8 100644 --- a/MESWebSite/Manage/Bom_MK.aspx +++ b/MESWebSite/Manage/Bom_MK.aspx @@ -49,7 +49,7 @@ } } -