/// <summary> /// 预览数据 /// </summary> /// <param name="strType">操作类型,0为预览,1为双击单元格</param> private void ViewData(string strType = "0") { if (strType == "0") { if (!IsCheck("预览")) { return; } } UCFMaterialReturnView view = new UCFMaterialReturnView(strReId, ""); view.uc = this; base.addUserControl(view, "领料退货单-预览", "view" + strReId, this.Tag.ToString(), this.Name); }
/// <summary> /// 预览数据 /// </summary> /// <param name="strType">操作类型,0为预览,1为双击单元格</param> private void ViewData(string strType = "0") { if (strType == "0") { if (!IsCheck("预览")) { return; } } UCFMaterialReturnView view = new UCFMaterialReturnView(strReId, strDReId); view.uc = this; base.addUserControl(view, "领料退货单-预览", "view" + strReId, this.Tag.ToString(), this.Name); }