| | |
| | | using DevExpress.Utils.VisualEffects; |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.DevFrm.Rpt; |
| | | using Gs.DevApp.DevFrm.Sales; |
| | | using Gs.DevApp.Entity; |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | |
| | | toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; |
| | | toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; |
| | | toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; |
| | | toolBarMenu1.btnWjClick += ToolBarMenu1_btnWjClick; |
| | | this.toolBarMenu1.getXmlConfig(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); |
| | |
| | | this.ucBtnPrintAll1.mxList = lst; |
| | | }; |
| | | #endregion |
| | | |
| | | //销售组织 |
| | | txt_salesOrg.EditChanged += (s, e) => |
| | | { |
| | |
| | | _row["itemModel"] = dym.itemModel;//规格型号, |
| | | _row["xxDw"] = dym.xxDw; |
| | | _row["salesQuantity"] = dym.salesQuantity; |
| | | _row["isFreeChk"] = dym.isFreeChk; |
| | | _row["isFreeChk"] = false; |
| | | _row["fhQuantity"] = dym.fhQuantity; |
| | | gvMx1.UpdateCurrentRow(); |
| | | _Table.Rows.Add(_row); |
| | |
| | | _row["itemModel"] = dym.itemModel;//规格型号, |
| | | _row["xxDw"] = dym.xxDw; |
| | | _row["salesQuantity"] = dym.salesQuantity; |
| | | _row["isFreeChk"] = dym.isFreeChk; |
| | | _row["isFreeChk"] = false; |
| | | _row["fhQuantity"] = dym.fhQuantity; |
| | | gvMx1.UpdateCurrentRow(); |
| | | _Table.Rows.Add(_row); |
| | |
| | | _row["itemModel"] = dym.itemModel;//规格型号, |
| | | _row["xxDw"] = dym.xxDw; |
| | | _row["salesQuantity"] = dym.salesQuantity; |
| | | _row["isFreeChk"] = dym.isFreeChk; |
| | | _row["isFreeChk"] = false; |
| | | _row["fhQuantity"] = dym.fhQuantity; |
| | | gvMx1.UpdateCurrentRow(); |
| | | _Table.Rows.Add(_row); |
| | |
| | | setSrm(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 打印 |
| | |
| | | Thlx = (row["returnType"].ToString()), |
| | | Thrq = (row["returnDate"].ToString()), |
| | | ItemId = (row["ItemId"].ToString()), |
| | | IsFreeChk = (row["IsFreeChk"].ToString()), |
| | | }); |
| | | } |
| | | } |
| | |
| | | ToolBox.MsgHelper.ShowError("提示:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 完结 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | /// <exception cref="NotImplementedException"></exception> |
| | | private void ToolBarMenu1_btnWjClick(object sender, EventArgs e) |
| | | { |
| | | _toolCk(2); |
| | | } |
| | | /// <summary> |
| | | /// 审核事件 |
| | | /// </summary> |
| | |
| | | case 0: |
| | | strMsg = "反审核"; |
| | | break; |
| | | case 2: |
| | | strMsg = "完结"; |
| | | break; |
| | | } |
| | | ; |
| | | toolBarMenu1.guidKey = ""; |