| | |
| | | |
| | | namespace Gs.DevApp.DevFrm.PDA |
| | | { |
| | | /// <summary> |
| | | /// 仓库分区绑定 |
| | | /// </summary> |
| | | public partial class SelectUser : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | private readonly string _webServiceName = "User/"; |
| | |
| | | "MesSysPageviewManager/SetUserBind", |
| | | JsonConvert.SerializeObject(_obj)); |
| | | var _rtn = UtilityHelper.ReturnToDynamic(strJson); |
| | | MsgHelper.Warning("提示:" + _rtn.rtnData.outMsg); |
| | | |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | MsgHelper.ShowInformation("提示:" + _rtn.rtnData.outMsg); |
| | | this.Close(); |
| | | } |
| | | else |
| | | MsgHelper.ShowError("提示:" + _rtn.rtnData.outMsg); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | MsgHelper.ShowError("提示:" + ex.Message); |
| | | } |
| | | }; |
| | | } |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | MsgHelper.ShowError("提示:" + ex.Message); |
| | | } |
| | | } |
| | | } |