diff --git a/插件库/Lskj.PubBill/BillModule.cs b/插件库/Lskj.PubBill/BillModule.cs index 0f10a23..66f4342 100644 --- a/插件库/Lskj.PubBill/BillModule.cs +++ b/插件库/Lskj.PubBill/BillModule.cs @@ -956,9 +956,9 @@ namespace Lskj.PubBill { SimpleButton btn = sender as SimpleButton; DataRow rowItem = btn.Tag as DataRow; + GridRightMenuModel model = new GridRightMenuModel(rowItem); if (rowItem["dllname"].Equals("Lskj.PubBomImport.dll")) { - GridRightMenuModel model = new GridRightMenuModel(rowItem); if ((model.ParamList[7] + "").Equals("3")) { if (!this.BillSave(0, false)) @@ -971,6 +971,11 @@ namespace Lskj.PubBill menu.ApplyBefore += new CommonToolApplyEventHandler(OnMenuApplyBefore); menu.DynamicLinkAfter += new CommonToolAfterDynamicLinkEventHandler(OnDynamicLinkAfter); 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) {