| | |
| | | if (string.IsNullOrEmpty(daaId)) return; |
| | | txt_rwd.Text = txt_tbl002.GetRwd(); |
| | | txt_workName.Text = txt_tbl002.GetWorkName(); |
| | | txt_itemName.Text = txt_tbl002.GetPrdModel(); |
| | | txt_itemName.Text = txt_tbl002.GetPrdName(); |
| | | txt_itemNo.Text = txt_tbl002.GetPrdNo(); |
| | | }; |
| | | //选择需要入库的明细 |
| | | btnSelect.Click += (s, e) => |
| | |
| | | ucBtnPrint1.guidKey = ""; |
| | | string rowGuid = lbMxGuid.Text.Trim(); |
| | | ucBtnPrint1.guidKey = rowGuid; |
| | | if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim())) |
| | | if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim(), txt_yuliang_1.Text.Trim())) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!"); |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请输入正确的条码数量!"); |
| | | txt_iCount_1.Focus(); |
| | | this.ucBtnPrint1.rptParameter = "return false"; |
| | | return; |
| | |
| | | } |
| | | if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim())) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!"); |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请输入正确的条码数量!"); |
| | | txt_iCount_1.Focus(); |
| | | this.toolBarMenu1.rptParameter = "return false"; |
| | | return; |
| | |
| | | MsgHelper.ShowError("申请数量不能为空!"); |
| | | return; |
| | | } |
| | | _sl = row["tld014"].ToString(); |
| | | if (string.IsNullOrEmpty(_sl)) |
| | | { |
| | | MsgHelper.ShowError("退料备注不能为空!"); |
| | | return; |
| | | } |
| | | _obj.list.Add(new |
| | | { |
| | | Guid = _guid, |
| | | AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()), |
| | | Sl = _sl //申请数量 |
| | | Sl = _sl, //申请数量 |
| | | Remark = row["tld014"].ToString() |
| | | }); |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | txtYdy.Text = row["ydy"].ToString();//已打印总量 |
| | | txt_kQty.Text = row["kdy"].ToString();//可打印总量 |
| | | } |
| | | else { |
| | | lbMxGuid.Text =""; |
| | | else |
| | | { |
| | | lbMxGuid.Text = ""; |
| | | toolBarMenu1.guidKey = ""; |
| | | txtWlid.Text = ""; |
| | | txtWlgg.Text = ""; |