| | |
| | | this.toolBarMenu1.btnShouJianClick += ToolBarMenu1_btnShouJianClick; |
| | | this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick; |
| | | this.toolBarMenu1.btnGxClick += ToolBarMenu1_btnGxClick; |
| | | this.toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick; |
| | | this.toolBarMenu1.getXmlConfig(); |
| | | gvMx1.Columns["barbl"].DisplayFormat.FormatType = FormatType.Numeric; |
| | | gvMx1.Columns["barbl"].DisplayFormat.FormatString = "p0"; |
| | |
| | | } |
| | | } |
| | | }; |
| | | |
| | | |
| | | //这是齐套标识卡,仅仅打印 |
| | | this.ucBtnPrint101.SetPlButton(false); |
| | | this.ucBtnPrint101.btnPrintClick += (s, e) => |
| | |
| | | { |
| | | getPageList(curPage); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 这是备料单打印 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e) |
| | | { |
| | | string rowGuid, rowName; |
| | | (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_daa001, gridView1); |
| | | if (string.IsNullOrEmpty(rowGuid)) |
| | | { |
| | | this.toolBarMenu1.rptParameter = "return false"; |
| | | MsgHelper.Warning("请先选择你要打印的单据!"); |
| | | return; |
| | | } |
| | | string rptParameter = "rpt_Womdab{" |
| | | + rowGuid // @inOrderGuid - 单据guid |
| | | + "," + "100" // @isDesign - 重打都是传100 |
| | | + "," + "" // @in1 - 入库时间(扩展用) |
| | | + "," + "" // @in2 - 特采(扩展用) |
| | | + "," + "" // @in3 - 供应商id(扩展用) |
| | | + "," + "" // @in4 - 张数(扩展用) |
| | | + "," + "" // @in5 - 数量(扩展用) |
| | | + "," + "" // @in6 - 扩展用 |
| | | + "}"; |
| | | this.toolBarMenu1.rptParameter = rptParameter; |
| | | this.toolBarMenu1.guidKey = rowGuid; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 查询事件 |
| | | /// </summary> |