master
nodyang 1 year ago
parent 1761df780f
commit e6ce524df2

@ -310,6 +310,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
this.groupBox3.PerformLayout(); this.groupBox3.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
} }
#endregion #endregion

@ -78,7 +78,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
txtCpVersion.Text = main.FormulaVersion; txtCpVersion.Text = main.FormulaVersion;
} }
var detail = LjFormulaDb.GetDetail(1); var detail = LjFormulaDb.GetDetail(_id);
UpdateDataGridDryer(detail); UpdateDataGridDryer(detail);
UpdateDataGridSilo(detail,main.CbSiloC); UpdateDataGridSilo(detail,main.CbSiloC);

@ -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;
} }

Loading…
Cancel
Save