From 3a2951930c1827030a3428c8e38a06acd36c217a Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期一, 17 十一月 2025 19:44:44 +0800
Subject: [PATCH] 到货条码一键打、采购入库单、到货条码打印、IQC检验列表页面加字段加需求跟踪号、
---
DevApp/Gs.DevApp/DevFrm/WOM/FrmBackFlash.cs | 37 ++++---------------------------------
1 files changed, 4 insertions(+), 33 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/FrmBackFlash.cs b/DevApp/Gs.DevApp/DevFrm/WOM/FrmBackFlash.cs
index b5b497f..45a2ee8 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/FrmBackFlash.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/FrmBackFlash.cs
@@ -21,7 +21,6 @@
{
InitializeComponent();
this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick;
- this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1;
@@ -137,7 +136,7 @@
private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e)
{
string rowGuid = "", rowName = "";
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "itemNo");
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "guid");
if (string.IsNullOrEmpty(rowGuid))
{
ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
@@ -146,10 +145,8 @@
if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵"))
return;
List<dynamic> lst = new List<dynamic>();
- var _obj = new
- {
- guid = UtilityHelper.ToGuid(rowGuid),
- };
+ lst.Add(rowGuid);
+ var _obj = lst;
try
{
string strJson = UtilityHelper.HttpPost("", _webServiceName + "DeleteModel", JsonConvert.SerializeObject(_obj));
@@ -206,31 +203,6 @@
//澧炲姞鏃讹紝榛樿缁勭粐
string deftOrg = UtilityHelper.GetFirstOrg(txt_orgId);
}
-
- /// <summary>
- /// 淇敼浜嬩欢
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e)
- {
- toolBarMenu1.currentAction = "edit";
- string rowGuid = "", rowName = "";
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "itemNo");
- if (string.IsNullOrEmpty(rowGuid))
- {
- ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
- return;
- }
- Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4);
- if (xtraTabControl1.SelectedTabPageIndex == 1)
- {
- getModel(rowGuid);
- }
-
- }
-
-
/// <summary>
/// 淇濆瓨浜嬩欢
/// </summary>
@@ -265,7 +237,6 @@
}
var _obj = new
{
- guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()),
itemId = txt_ItemId.GetId(),
departmentId = txt_departmentId.GetId().Trim(),
depotId = txt_depotId.GetId().Trim(),
@@ -398,7 +369,7 @@
};
toolBarMenu1.guidKey = "";
string rowGuid, rowName;
- (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "itemNo");
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "guid");
if (string.IsNullOrEmpty(rowGuid))
{
MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
--
Gitblit v1.9.3