| | |
| | | public partial class Jyxm : DevExpress.XtraEditors.XtraUserControl |
| | | { |
| | | private List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | string _ucItem = "";//物料 |
| | | private readonly string _webServiceName = "MesQmCheckitemManager/"; |
| | | public string strType = "";//iqc type |
| | | public decimal dfValue = 1; //iqc的样品数量默认5,否则1 |
| | |
| | | if ((lbGuid.Text.Trim().Length < 10)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请先保存当前信息!"); |
| | | return; |
| | | } |
| | | if ((txt_foneChecked.Checked==false)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowInformation("该项目未审核,暂不能复制到其它物料!"); |
| | | return; |
| | | } |
| | | JyxmShow frm = new JyxmShow(lbGuid.Text.Trim(), strType); |
| | |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | var dy = _rtn.rtnData; |
| | | _ucItem = dy.itemId; |
| | | lbGuid.Text = strGuid; |
| | | var gvList = new List<GridView>(); |
| | | gvList.Add(gvMx1); |
| | | UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, |
| | | isEdit, gvList); |
| | | UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); |
| | | _ucItem = ""; |
| | | var _job = JObject.Parse(strJson); |
| | | var array = new JArray(); |
| | | foreach (var a in _job["rtnData"]["list"]) array.Add(a); |
| | |
| | | _webServiceName + "EditModelSubmit", |
| | | JsonConvert.SerializeObject(_obj)); |
| | | var _rtn = UtilityHelper.ReturnToDynamic(strJson); |
| | | |
| | | |
| | | if (_inFieldValue < 0 && _rtn.rtnCode > 0) |
| | | { |
| | | if (xtraTabControl1.SelectedTabPageIndex == 0) |
| | |
| | | string _orgId = txt_fSubsidiary.GetId(); |
| | | if (string.IsNullOrEmpty(_orgId)) |
| | | return; |
| | | txt_itemId.getSuppler(_orgId); |
| | | //txt_gg.Text =""; |
| | | //txt_itemNo.Text = ""; |
| | | txt_itemId.getSuppler(_orgId, _ucItem, " ", strType); |
| | | }; |
| | | txt_itemId.EditChanged += (s, e) => |
| | | { |