SVN r507
SVN-Revision: r507
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user