| | |
| | | { |
| | | string _fmrmode = txt_fmrmode.Text.Trim(); |
| | | toolBarMenu1.isSetBtn = false; |
| | | if (txt_freceQty.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择判定结果!"); |
| | | txt_freceQty.Focus(); |
| | | return; |
| | | } |
| | | //当选择不合格时,要填写原因 |
| | | if (txt_freceQty.SelectedIndex == 2) |
| | | { |
| | | if ((txt_fngHandle.SelectedIndex <= 0)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择处理方式!"); |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择处理结果!"); |
| | | txt_fngHandle.Focus(); |
| | | return; |
| | | } |
| | |
| | | { |
| | | if ((txt_fmrmode.SelectedIndex <= 0)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择退料方式!"); |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择处理方式!"); |
| | | txt_fmrmode.Focus(); |
| | | return; |
| | | } |
| | |
| | | else |
| | | _fmrmode = ""; |
| | | |
| | | } |
| | | |
| | | var _obj = new |
| | | { |
| | | guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建 |