| | |
| | | btnZhiLiangFchk.ItemClick += BtnZhiLiangFchk_ItemClick; |
| | | btnCaiGouChk.ItemClick += BtnCaiGouChk_ItemClick; |
| | | btnCaiGouFchk.ItemClick += BtnCaiGouFchk_ItemClick; |
| | | btnBoHui.ItemClick += BtnBoHui_ItemClick; |
| | | var lst = new List<string>(); |
| | | foreach (BarItem item in barManager1.Items) |
| | | if (item is BarLargeButtonItem largeButtonItem) |
| | |
| | | lst.Add(item.Caption); |
| | | actions = lst; |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 初始化按钮状态 |
| | |
| | | base.OnCreateControl(); |
| | | if (Parent != null) getNamespace(); |
| | | } |
| | | private void BtnBoHui_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnBoHuiClick != null) |
| | | btnBoHuiClick(this, e); |
| | | if (string.IsNullOrEmpty(guidKey)) |
| | | { |
| | | MsgHelper.Warning("请先选择你要操作的行!"); |
| | | return; |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(chkParameter)) |
| | | { |
| | | MsgHelper.ShowError("没有指定驳回参数,请联系开发人员获取支持!"); |
| | | return; |
| | | } |
| | | |
| | | if (!MsgHelper.AskQuestion("你选择了1条数据,确定驳回重检吗?")) |
| | | return; |
| | | _ckService("5"); |
| | | } |
| | | private void BtnCaiGouFchk_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnCaiGouFchkClick != null) |
| | |
| | | /// </summary> |
| | | public event EventHandler btnZhiLiangFchkClick; |
| | | |
| | | /// <summary> |
| | | /// 驳回 |
| | | /// </summary> |
| | | public event EventHandler btnBoHuiClick; |
| | | |
| | | #endregion |
| | | |