SVN-Revision: r507
This commit is contained in:
wyf
2025-04-22 08:19:56 +00:00
parent 747fbb0233
commit b14ccd849b
+6 -1
View File
@@ -956,9 +956,9 @@ namespace Lskj.PubBill
{ {
SimpleButton btn = sender as SimpleButton; SimpleButton btn = sender as SimpleButton;
DataRow rowItem = btn.Tag as DataRow; DataRow rowItem = btn.Tag as DataRow;
GridRightMenuModel model = new GridRightMenuModel(rowItem);
if (rowItem["dllname"].Equals("Lskj.PubBomImport.dll")) if (rowItem["dllname"].Equals("Lskj.PubBomImport.dll"))
{ {
GridRightMenuModel model = new GridRightMenuModel(rowItem);
if ((model.ParamList[7] + "").Equals("3")) if ((model.ParamList[7] + "").Equals("3"))
{ {
if (!this.BillSave(0, false)) if (!this.BillSave(0, false))
@@ -971,6 +971,11 @@ namespace Lskj.PubBill
menu.ApplyBefore += new CommonToolApplyEventHandler(OnMenuApplyBefore); menu.ApplyBefore += new CommonToolApplyEventHandler(OnMenuApplyBefore);
menu.DynamicLinkAfter += new CommonToolAfterDynamicLinkEventHandler(OnDynamicLinkAfter); menu.DynamicLinkAfter += new CommonToolAfterDynamicLinkEventHandler(OnDynamicLinkAfter);
menu.Apply(rowItem); menu.Apply(rowItem);
if (model != null && model.Refresh)
{
string billNo = this.lblOrderNo.Text.Trim();
this.SetBillStatus(BillImpl.GetDataRowResult(string.Format("select * from {0} where {1}='{2}'", BillModel.MasterTable, BillModel.PrimaryKey, billNo)));
}
} }
catch (Exception ex) catch (Exception ex)
{ {