From b55079652a50b5e506c2ce77d73c84ec11aef7fc Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 19 四月 2025 12:37:08 +0800
Subject: [PATCH] 生产退库
---
DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
index 2d8979e..2d1a967 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -1,9 +1,4 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Data;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using DevExpress.XtraEditors;
+锘縰sing DevExpress.XtraEditors;
using DevExpress.XtraGrid.Views.Grid;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
@@ -11,6 +6,11 @@
using MES.Service.Modes;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Threading.Tasks;
+using System.Windows.Forms;
namespace Gs.DevApp.DevFrm.QC
@@ -41,7 +41,8 @@
toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick;
if (strType == "iqc")
dfValue = 5;
- this.gvMx1.InitNewRow += (s, e) => {
+ this.gvMx1.InitNewRow += (s, e) =>
+ {
this.gvMx1.SetRowCellValue(e.RowHandle, "ypsl", dfValue);
int newIndex = gvMx1.DataRowCount + 1;
this.gvMx1.SetRowCellValue(e.RowHandle, "forder", newIndex);
@@ -89,7 +90,7 @@
private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
{
- _filterList= Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
+ _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
Task.Delay(100);
getPageList(1);
}
@@ -119,7 +120,7 @@
gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
gridView1.ActiveFilter.Clear();
gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
- var frm = new ShowFilter(gridView1.Columns, _filterList, parentForm.GetType().FullName);
+ var frm = new ShowFilter(gridView1.Columns, _filterList, parentForm.GetType().FullName);
frm.UpdateParent += Frm_UpdateParent;
frm.ShowDialog();
}
@@ -422,7 +423,7 @@
gcMain1.DataSource = dt;
gcMain1.ForceInitialize();
gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
-
+
}
else
UtilityHelper.SetDefaultTable(gcMain1, gridView1);
@@ -805,8 +806,8 @@
{
sourceGuid = UtilityHelper.ToGuid(lbGuid.Text.Trim()),
itemGuids = _sbGuids.ToString(),
- iqcType=this.strType,
- ypsl=this.dfValue
+ iqcType = this.strType,
+ ypsl = this.dfValue
};
try
{
--
Gitblit v1.9.3