|
|
@ -4,6 +4,7 @@ using System.Linq;
|
|
|
|
using System.Windows.Forms;
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
using DevExpress.Data.Extensions;
|
|
|
|
using DevExpress.Data.Extensions;
|
|
|
|
|
|
|
|
using DevExpress.PivotGrid.Criteria;
|
|
|
|
|
|
|
|
|
|
|
|
using Mesnac.Action.Base;
|
|
|
|
using Mesnac.Action.Base;
|
|
|
|
using Mesnac.Action.ChemicalWeighing.LjPlanning.Db;
|
|
|
|
using Mesnac.Action.ChemicalWeighing.LjPlanning.Db;
|
|
|
@ -31,13 +32,15 @@ namespace Mesnac.Action.ChemicalWeighing.LjRecipeData
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DataGridView clientGridView = this._materialGridControl.BaseControl as DataGridView;
|
|
|
|
DataGridView clientGridView = this._materialGridControl.BaseControl as DataGridView;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var s= this._runtime.IsReturn;
|
|
|
|
//验证是否选中某物料
|
|
|
|
//验证是否选中某物料
|
|
|
|
if (clientGridView.SelectedRows.Count != 1)
|
|
|
|
if (clientGridView.SelectedRows.Count != 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
MessageBox.Show("请选择要修改的数据", Mesnac.Basic.LanguageHelper.Caption,
|
|
|
|
//MessageBox.Show("请选择要修改的数据", Mesnac.Basic.LanguageHelper.Caption,
|
|
|
|
MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
|
// MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
|
this._runtime.IsReturn = true;
|
|
|
|
//this._runtime.IsReturn = true;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|