From cfdf4b780f30610c506246177cabe0950843b567 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 17 十二月 2024 10:35:13 +0800
Subject: [PATCH] 1
---
DevApp/Gs.DevApp/App.config | 4 +-
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs | 79 ++++++++++++++++++++-------------------
2 files changed, 43 insertions(+), 40 deletions(-)
diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config
index e695006..a645fe4 100644
--- a/DevApp/Gs.DevApp/App.config
+++ b/DevApp/Gs.DevApp/App.config
@@ -28,8 +28,8 @@
</assemblyBinding>
</runtime>
<appSettings>
- <!-- <add key="WebApiUrl" value="http://localhost:5263/" />-->
- <add key="WebApiUrl" value="http://192.168.1.145:81/" />
+ <add key="WebApiUrl" value="http://localhost:5263/" />
+ <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />-->
<add key="LogPath" value="logs" />
<add key="ProductName" value="骞挎繁绉戞妧 G-MES V2.0" />
<add key="PageSize" value="50" />
diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
index f055670..333edf7 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
@@ -130,44 +130,47 @@
}
private void ToolBarMenu1_btnReportClick(object sender, EventArgs e)
{
- //toolBarMenu1.guidKey = "";
- //string rowGuid, rowName;
- //(rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
- // lbGuid, txt_itemName, gridView1);
- //toolBarMenu1.guidKey = rowGuid;
- //if (xtraTabControl1.SelectedTabPageIndex == 0)
- //{
- // getModel(rowGuid, false, 999);
- // this.toolBarMenu1.rptParameter = "return false";
- // return;
- //}
- //if (string.IsNullOrEmpty(txt_suppNo_1.GetCode()))
- //{
- // Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨渚涘簲鍟嗭紒");
- // txt_suppNo_1.Focus();
- // this.toolBarMenu1.rptParameter = "return false";
- // return;
- //}
- //if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
- //{
- // Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜寮犳暟锛�");
- // txt_iCount_1.Focus();
- // this.toolBarMenu1.rptParameter = "return false";
- // return;
- //}
- //if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
- //{
- // Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜鏁伴噺锛�");
- // txt_psnQty_1.Focus();
- // this.toolBarMenu1.rptParameter = "return false";
- // return;
- //}
- //this.toolBarMenu1.rptParameter = "rpt_ItemInv{" + txt_createDate1.Text.Trim()
- // + "," + txt_tc_1.Checked.ToString().ToUpper()
- // + "," + txt_suppNo_1.GetId()
- // + "," + txt_iCount_1.Text.Trim()
- // + "," + txt_psnQty_1.Text.Trim()
- // + "}";
+ toolBarMenu1.guidKey = "";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+ lbGuid, txt_qtck, gridView1);
+ toolBarMenu1.guidKey = rowGuid;
+ if (xtraTabControl1.SelectedTabPageIndex == 0)
+ {
+ getModel(rowGuid);
+ this.toolBarMenu1.rptParameter = "return false";
+ return;
+ }
+ if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜寮犳暟锛�");
+ txt_iCount_1.Focus();
+ this.toolBarMenu1.rptParameter = "return false";
+ return;
+ }
+ if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜鏁伴噺锛�");
+ txt_psnQty_1.Focus();
+ this.toolBarMenu1.rptParameter = "return false";
+ return;
+ }
+ this.toolBarMenu1.rptParameter = "rpt_Qtrk{" + lbMxGuid.Text.Trim()
+ + "," + ""
+ + "," + ""
+ + "," + txt_iCount_1.Text.Trim()
+ + "," + txt_psnQty_1.Text.Trim()
+ + "}";
+
+
+ //this.toolBarMenu1.rptParameter = "rpt_Arrival{" + ""
+ // + "," + ""
+ // + "," + ""
+ // + "," + txt_iCount_1.Text.Trim()
+ // + "," + txt_psnQty_1.Text.Trim()
+ // + "}";
+
+
}
/// <summary>
--
Gitblit v1.9.3